curl --request GET \
--url https://api.henrylabs.ai/v0/orders \
--header 'x-api-key: <api-key>' \
--header 'x-user-id: <x-user-id>'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": {
"orders": [
{
"id": "<string>",
"status": "processing",
"itemCount": 123,
"subtotal": "<string>",
"tax": "<string>",
"shipping": "<string>",
"transactionFee": "<string>",
"grandTotal": "<string>",
"currency": "<string>",
"createdAt": "<string>"
}
],
"pagination": {
"currentPage": 123,
"totalPages": 123,
"totalCount": 123,
"hasNextPage": true,
"hasPreviousPage": true,
"limit": 123
}
}
}Retrieve a paginated list of orders for a given app user. Use x-user-id header to specify the app user.
curl --request GET \
--url https://api.henrylabs.ai/v0/orders \
--header 'x-api-key: <api-key>' \
--header 'x-user-id: <x-user-id>'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": {
"orders": [
{
"id": "<string>",
"status": "processing",
"itemCount": 123,
"subtotal": "<string>",
"tax": "<string>",
"shipping": "<string>",
"transactionFee": "<string>",
"grandTotal": "<string>",
"currency": "<string>",
"createdAt": "<string>"
}
],
"pagination": {
"currentPage": 123,
"totalPages": 123,
"totalCount": 123,
"hasNextPage": true,
"hasPreviousPage": true,
"limit": 123
}
}
}Page number (starts from 1)
x >= 1Number of items per page (1-100)
1 <= x <= 100Was this page helpful?