Application Load

IUnsubscribeRequest

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IUnsubscribeRequest

Email-link token and subscription type to cancel.

src/lib/interfaces/orionplace/accounts/IContact.ts
TypeScript
export interface IUnsubscribeRequest {
  // Unsubscribe token from the email link, up to 64 characters. Keep this value
  // private.
  hash: string;
  // Subscription type to cancel: `products` — product-availability
  // notifications; `newsletter` — newsletter emails.
  unsubcribe_type: 'newsletter' | 'products';
}