Order API Overview
Create and retrieve orders for a customer. All order endpoints require authentication and operate in the context of a specific store and user.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /order | Create a new order |
| GET | /order | Get a list of all orders |
| GET | /order/{orderId} | Get details of a specific order |
important
To create an order, please follow the Create Order Flow documentation carefully. This process includes integration with Razorpay and must be implemented as specified.
Common Use Cases
- Submit an order for items in the customer's cart.
- Retrieve a list of past orders for a logged-in customer.
- View detailed information about a specific order, including line items and status.