Application Load
IOrderHistoryResponse
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
IOrderHistoryResponseCustomer orders with payment totals and nested shipments.
app/interfaces/orionplace/orders/IOrderHistory.tsexport interface IOrderHistoryResponse {
// Field and general errors.
form_errors: Record<string, ApiFormError[]> | null;
// Success message or null.
success_message: string | null;
// Paginated customer orders.
page_data: {
// Orders belonging to the current account, including their shipments and
// items. No result is an empty array.
data: IOrder[];
// Pagination metadata for the selected orders.
rpag: IApiPagination;
} | null;
}