Application Load
IOrderCreateResponse
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
IOrderCreateResponseCreated order and payment link, or error details for restoring checkout.
app/interfaces/orionplace/orders/IOrderActions.tsexport interface IOrderCreateResponse {
// Field/general errors.
form_errors: Record<string, ApiFormError[]> | null;
// Success message or null.
success_message: string | null;
// On success, `page_data` contains `order_id` and payment-link fields. On
// error it can contain recovery details alongside `form_errors`; do not treat
// that object as a created order.
page_data: IOrderCreated | IOrderCreateFailure | null;
}