Application Load

ICustomerTicketOrderItemRequest

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

ICustomerTicketOrderItemRequest

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

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