Orders V2
Get order detail
Changed onGet order details with variant information
Retrieves complete order information including:
- Order metadata (status, timestamps, total price)
- Buyer and seller information (username, display_name, avatar)
- Array of order items with variant details
- Quality tier, variant attributes, and display_name for each item
- Price per unit snapshot from time of purchase
Authorization: User must be either the buyer or seller of the order.
Requirements:
- 26.1: GET /api/v2/orders/:id endpoint
- 26.2: Return order metadata with buyer and seller information
- 26.3: Return array of order items with variant details
- 26.4: Include quality_tier for each order item
- 26.5: Include variant attributes for each item
- 26.6: Include variant display_name for each item
- 26.7: Include price_per_unit snapshot from time of purchase
- 26.8: Calculate order totals with per-variant pricing
- 26.9: Include order status and timestamps
- 26.10: Return 404 if order not found
- 26.11: Validate user authorization to view order
- 26.12: Include fulfillment status per item
get/orders/{orderId}
Request
- Base URL: /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v2/orders/{orderId}
- Auth: loggedin (a scheme the document does not define)
Path parameters
orderIdstring required
UUID of the order to retrieve
Response
Order details with buyer/seller info and variant details
Changes
- ▲
removed the required property
/from the response with the status - ▲
removed the required property
/from the response with the status - ▲
removed the required property
/from the response with the status - ▲
removed the required property
/from the response with the status - ○
added the required property
/to the response with the status - ○
added the required property
/to the response with the status - ○
added the required property
/to the response with the status
- ▲