Application Load

ICustomerTicketOrderOptionRequest

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

ICustomerTicketOrderOptionRequest

Send multipart/form-data: a data part contains the JSON fields, and repeated ticket_images parts contain files.

app/interfaces/orionplace/tickets/ICustomerTicketApi.ts
TypeScript
export interface ICustomerTicketOrderOptionRequest extends ICustomerTicketCreateRequest {
  // Purchased option ID from `option_groups[].options[].id` whose
  // `refund_window` is not null. Use the existing ticket if this option already
  // has an open one.
  order_option_item: number;
  // Required after the regular return period, until the defect period ends.
  // `true` marks the return request as a defect; required when the option's
  // `refund_window` is `defect`.
  is_defect?: boolean;
}