Application Load
IProductPreorderResponse
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
IProductPreorderResponseNew preorder ID, product, captured USD price and state.
interfaces/orionplace/orders/IProductPreorder.tsexport interface IProductPreorderResponse {
// Field and general errors.
form_errors: Record<string, ApiFormError[]> | null;
// Success message or null.
success_message: string | null;
// Created preorder summary.
page_data: {
// Created preorder ID.
id: number;
// Product ID.
product: number;
// Product price in USD when the preorder was created.
preorder_usd_price: number | string;
// `int` is the created preorder’s state code; `text` is its translated
// label.
state: {
// State code of the created preorder.
int: EPreorderState;
// Translated label of the preorder state.
text: string;
};
} | null;
}