Overview
Retrieve products associated with a specific order. Returns order details including all products, quantities, and prices.Use Cases
- Order Confirmation: Display order details to customers
- Order Processing: Get product list for fulfillment
- Analytics: Analyze order composition
- Customer Service: View what customer ordered
Authentication
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | string | Yes | Order ID |
Response Structure
Field | Type | Description |
---|---|---|
id | string | Order ID |
currency | string | Order currency |
total | number | Total order amount |
products | array | Array of product objects |
Product Object
Field | Type | Description |
---|---|---|
id | string | Product ID |
name | string | Product name |
quantity | number | Quantity ordered |
price | number | Unit price |
Example Request
Example Response
Error Responses
Status Code | Description |
---|---|
401 | Unauthorized |
403 | Forbidden |
404 | Order not found |
500 | Internal Server Error |