#Order APIs
The Order resource is used to define an ONDC-routed order placed to a single Storefront.
The Order APIs can be used to–
- Get orders for a storefront
- Update orders for a storefront
#Get orders for a storefront
Sample Request
Method | GET |
---|---|
URL | /api/storefronts/storefront_id/orders |
Sample Response
{[{"order_id": "string","order_state": "string",},{"order_id": "string","order_state": "string",}]}
#Update orders for a storefront
Sample Request
Method | PUT |
---|---|
URL | /api/storefronts/storefront_id/orders |
Sample Request Body
{[{"order_id": "string","order_state": "string",},{"order_id": "string","order_state": "string",}]}
Was this page helpful?