Returns the full order history for the authenticated user, most recent first. Each order includes a complete snapshot of its line items — the product name, unit price, and quantity as they were at the time of purchase. Orders are strictly scoped to the authenticated user; no other user’s orders are ever returned.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/astrxnomo/shop-microservers/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Authentication
Every request must carry a valid JWT in theAuthorization header. The user identity is derived from the token — there are no additional user-scoping query parameters.
Parameters
This endpoint accepts no path parameters and no query parameters.Example Request
Response
200 — Success
Returns adata array of Order objects ordered by createdAt descending. If the authenticated user has placed no orders, data is an empty array.
Array of Order objects belonging to the authenticated user, sorted by
createdAt descending.CUID uniquely identifying this order.
CUID of the user who placed the order. Always matches the identity in the request JWT.
Total monetary amount of the order, derived from the cart total at checkout time.
Current fulfillment status of the order. One of
PENDING, CONFIRMED, SHIPPED, DELIVERED, or CANCELLED. Newly created orders always start as PENDING.ISO 8601 timestamp of when the order was created.
ISO 8601 timestamp of the last update to the order record.
Array of OrderItem objects representing the line items snapshotted at checkout. Future catalog changes do not affect these values.
CUID uniquely identifying this order line item.
CUID of the parent order. Matches
data[].id.CUID of the product at the time of purchase.
Product name snapshotted at the time of purchase.
Unit price snapshotted at the time of purchase.
Quantity of this product that was purchased.
401 — Unauthorized
Returned when theAuthorization header is missing or the JWT is invalid or expired. No order data is returned.