Application Load

IPromoIssuesResponse

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

IPromoIssuesResponse

Issued promo-code list response.

interfaces/orionplace/marketing/IPromoActions.ts
TypeScript
export interface IPromoIssuesResponse {
  // Field or general errors.
  form_errors: Record<string, ApiFormError[]> | null;
  // Success message, or null.
  success_message: string | null;
  // Issued codes and pagination.
  page_data: {
    // Value of data.
    data: IPromoIssue[];
    // Pagination metadata. Counts are normally populated on the first page.
    rpag: IApiPagination;
  } | null;
}