curl --request GET \
--url https://api.juo.io/customer/v1/orders \
--header 'X-Delegated-Token: <api-key>' \
--header 'X-Tenant-ID: <x-tenant-id>'{
"orders": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"placedAt": "2023-11-07T05:31:56Z",
"currencyCode": "<string>",
"type": "checkout",
"paymentStatus": "paid",
"subtotal": 1,
"shipping": 1,
"totalPrice": 1,
"taxesAmount": 1,
"taxesIncluded": true,
"items": [
{
"id": "<string>",
"title": "<string>",
"subtitle": "<string>",
"quantity": 2,
"unitPrice": 1,
"totalPrice": 1,
"productId": "<string>",
"variantId": "<string>",
"sku": "<string>",
"variantImage": {
"url": "<string>",
"altText": "<string>"
},
"subscriptionLineId": "<string>",
"requiresShipping": true,
"taxable": true,
"customAttributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"sellingPlanId": "<string>",
"sellingPlanName": "<string>"
}
],
"discounts": [
{
"id": "<string>",
"title": "<string>",
"type": "Code",
"target": "Line",
"value": {
"type": "Percentage",
"percentage": 50
},
"entitledItems": {
"all": true
},
"subscriptionDiscountId": "<string>"
}
],
"deliveryMethod": {
"type": "Shipping",
"address": {
"firstName": "<string>",
"lastName": "<string>",
"address1": "<string>",
"address2": "<string>",
"zip": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>",
"provinceCode": "<string>",
"province": "<string>",
"phone": "<string>",
"company": "<string>"
}
},
"paymentMethod": {
"id": "<string>",
"type": "CreditCard",
"details": {
"brand": "<string>",
"lastDigits": "<string>",
"maskedNumber": "<string>",
"expiryMonth": 6,
"expiryYear": 2001,
"name": "<string>"
}
},
"note": "<string>",
"customAttributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"subscriptionIds": [
"<string>"
]
}
]
}Returns a list of orders.
curl --request GET \
--url https://api.juo.io/customer/v1/orders \
--header 'X-Delegated-Token: <api-key>' \
--header 'X-Tenant-ID: <x-tenant-id>'{
"orders": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"placedAt": "2023-11-07T05:31:56Z",
"currencyCode": "<string>",
"type": "checkout",
"paymentStatus": "paid",
"subtotal": 1,
"shipping": 1,
"totalPrice": 1,
"taxesAmount": 1,
"taxesIncluded": true,
"items": [
{
"id": "<string>",
"title": "<string>",
"subtitle": "<string>",
"quantity": 2,
"unitPrice": 1,
"totalPrice": 1,
"productId": "<string>",
"variantId": "<string>",
"sku": "<string>",
"variantImage": {
"url": "<string>",
"altText": "<string>"
},
"subscriptionLineId": "<string>",
"requiresShipping": true,
"taxable": true,
"customAttributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"sellingPlanId": "<string>",
"sellingPlanName": "<string>"
}
],
"discounts": [
{
"id": "<string>",
"title": "<string>",
"type": "Code",
"target": "Line",
"value": {
"type": "Percentage",
"percentage": 50
},
"entitledItems": {
"all": true
},
"subscriptionDiscountId": "<string>"
}
],
"deliveryMethod": {
"type": "Shipping",
"address": {
"firstName": "<string>",
"lastName": "<string>",
"address1": "<string>",
"address2": "<string>",
"zip": "<string>",
"city": "<string>",
"country": "<string>",
"countryCode": "<string>",
"provinceCode": "<string>",
"province": "<string>",
"phone": "<string>",
"company": "<string>"
}
},
"paymentMethod": {
"id": "<string>",
"type": "CreditCard",
"details": {
"brand": "<string>",
"lastDigits": "<string>",
"maskedNumber": "<string>",
"expiryMonth": 6,
"expiryYear": 2001,
"name": "<string>"
}
},
"note": "<string>",
"customAttributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"subscriptionIds": [
"<string>"
]
}
]
}Unique identifier of the tenant in the system (usually a store identifier)
The search query string. See search query language for information how to build the search query. Supported fields are listed here.
1See pagination for more details on how to paginate the results.
1 <= x <= 50See pagination for more details on how to paginate the results.
1See pagination for more details on how to paginate the results.
1Default Response
Show child attributes