Application Load
IOrderOption
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
IOrderOptionAn additional product purchased through an option group.
interfaces/orionplace/orders/IOrderHistory.tsexport interface IOrderOption {
// Purchased additional-product ID for `customer_tickets_order_option_add`.
id: number;
// Purchased quantity.
quantity: number;
// Additional product data, or `null`.
product: IProduct | null;
// `true` while `refund_window` is not null: a return request can be created
// for this option.
refund_allowed: boolean;
// null: no return request now. Older backends send `refund_allowed` only.
// Return request this option accepts now: `regular` inside the return period,
// `defect` after it (only a request with `is_defect: true`), `null` none.
refund_window?: OrderRefundWindow | null;
// Units of this option at each stage of its return.
refund_stats: IOrderItemRefundStats;
// The return conversation of this option, with the return shipment it belongs
// to, when one exists.
ticket?: ICustomerTicket;
// Option totals and refund amount by currency.
prices: IOrderOptionPrices;
// Digital text and file references; files use the option attachment endpoint.
digital_stock: IOrderDigitalAttachment[];
}