curl --request GET \
--url https://api.henrylabs.ai/v0/orders/{orderId} \
--header 'x-api-key: <api-key>'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": {
"id": "<string>",
"userId": "<string>",
"status": "processing",
"statusMessage": "<string>",
"subtotal": "<string>",
"tax": "<string>",
"shipping": "<string>",
"transactionFee": "<string>",
"grandTotal": "<string>",
"currency": "<string>",
"products": [
{
"productName": "<string>",
"quantity": 123,
"productMetadata": {}
}
],
"shippingDetails": {
"email": "<string>",
"fullName": "<string>",
"addressLine1": "<string>",
"city": "<string>",
"stateOrProvince": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"phoneNumber": "<string>",
"addressLine2": "<string>"
}
}
}Retrieve the details of an order given order ID
curl --request GET \
--url https://api.henrylabs.ai/v0/orders/{orderId} \
--header 'x-api-key: <api-key>'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": {
"id": "<string>",
"userId": "<string>",
"status": "processing",
"statusMessage": "<string>",
"subtotal": "<string>",
"tax": "<string>",
"shipping": "<string>",
"transactionFee": "<string>",
"grandTotal": "<string>",
"currency": "<string>",
"products": [
{
"productName": "<string>",
"quantity": 123,
"productMetadata": {}
}
],
"shippingDetails": {
"email": "<string>",
"fullName": "<string>",
"addressLine1": "<string>",
"city": "<string>",
"stateOrProvince": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"phoneNumber": "<string>",
"addressLine2": "<string>"
}
}
}Order ID
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Was this page helpful?