Path:
GET /api-order/orders/user?offset=0&limit=10
This endpoint supports a paginated response to retrieve all the orders of a user, including individual item details such as quantity, pricing (along with tax), promos, itemID, SKUs, etc.
x-api-key : d41d8cd98f00b204e9800998ecf8427e
application/json
application/json
Path:
Name: Offset, Limit
Required: true
https://{baseurl}/api-order/orders/user?offset=0&limit=10
Response Code: 200
Message: OK
Description: You will see this message when the orders are successfully retrieved.
Sample
{"_id": "5ebb73b5684a750007fb121a","deleted": false,"isLoggedIn": false,"cartId": 78,"items": [{"price": {"discount": {"price": 0,"promosApplied": []},"sale": 0,"base": 400,"currency": "USD"},"discountedQuantity": 0,"group": ["5ddd1a156c5a5fed1e0d91fb"],"createdAt": "2020-05-13T04:12:36.802Z","updatedAt": "2020-05-13T04:13:51.203Z","_id": "5ebb73b5684a750007fb121b","itemId": 1000000016,"quantity": 2,"sku": "1586729","taxCode": "PH060771","lineItemId": 1,"totalPrice": {"currency": "USD","amount": 800},"id": "5ebb73b5684a750007fb121b"}],"allPromosApplied": [],"createdAt": "2020-05-13T04:12:37.389Z","updatedAt": "2020-05-13T04:13:51.228Z","__v": 0,"totalAmount": {"currency": "USD","amount": 800},"quantity": 2,"errors": {"inventory": [],"price": [],"promo": []}}
Last updated - July 2020