| title | Get Order |
|---|---|
| api | GET /orders/{id} |
| description | Retrieve a specific order from your store by its ID |
| authMethod | key |
The get order endpoint allows you to retrieve detailed information about a specific order in your store using its unique identifier. This endpoint returns the most recent order matching the provided ID.
This endpoint requires a valid JWT token in the x-auth-token header. You can find your token in the Developers section:
x-auth-token: your_jwt_tokenThe response includes the following fields:
The unique identifier (cms_id) of the order The total number of items in the order The total price of the order in decimal format (e.g., "99.99") Indicates if the order has been paid The timestamp when the order was created{
"id": "order_12345",
"number_of_items": 3,
"total_price": "99.99",
"paid": true,
"created_at": "2024-03-20T10:30:00Z"
}{
"message": "Order not found"
}