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": "<unknown>",
"currencyCode": "<string>",
"type": "checkout",
"paymentStatus": "paid",
"subtotal": "<unknown>",
"shipping": "<unknown>",
"totalPrice": "<unknown>",
"taxesAmount": "<unknown>",
"taxesIncluded": "<unknown>",
"items": [
{
"id": "<string>",
"title": "<string>",
"subtitle": "<unknown>",
"quantity": 2,
"unitPrice": 1,
"totalPrice": 1,
"productId": "<unknown>",
"variantId": "<unknown>",
"sku": "<unknown>",
"variantImage": "<unknown>",
"subscriptionLineId": "<unknown>",
"requiresShipping": true,
"taxable": true,
"customAttributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"sellingPlanId": "<unknown>",
"sellingPlanName": "<unknown>"
}
],
"discounts": [
{
"id": "<string>",
"title": "<unknown>",
"type": "Code",
"target": "Line",
"value": {
"type": "Percentage",
"percentage": 50
},
"entitledItems": {
"all": true
},
"subscriptionDiscountId": "<unknown>"
}
],
"deliveryMethod": "<unknown>",
"paymentMethod": "<unknown>",
"note": "<unknown>",
"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": "<unknown>",
"currencyCode": "<string>",
"type": "checkout",
"paymentStatus": "paid",
"subtotal": "<unknown>",
"shipping": "<unknown>",
"totalPrice": "<unknown>",
"taxesAmount": "<unknown>",
"taxesIncluded": "<unknown>",
"items": [
{
"id": "<string>",
"title": "<string>",
"subtitle": "<unknown>",
"quantity": 2,
"unitPrice": 1,
"totalPrice": 1,
"productId": "<unknown>",
"variantId": "<unknown>",
"sku": "<unknown>",
"variantImage": "<unknown>",
"subscriptionLineId": "<unknown>",
"requiresShipping": true,
"taxable": true,
"customAttributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"sellingPlanId": "<unknown>",
"sellingPlanName": "<unknown>"
}
],
"discounts": [
{
"id": "<string>",
"title": "<unknown>",
"type": "Code",
"target": "Line",
"value": {
"type": "Percentage",
"percentage": 50
},
"entitledItems": {
"all": true
},
"subscriptionDiscountId": "<unknown>"
}
],
"deliveryMethod": "<unknown>",
"paymentMethod": "<unknown>",
"note": "<unknown>",
"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
13checkout paid x >= 0x >= 0x >= 0x >= 01Show child attributes
11x >= 1x >= 0x >= 01111Show child attributes
1Code Line 1Show child attributes
Shipping Show child attributes
Customer's first name.
1Customer's last name.
1Primary street address.
1Additional address information (apartment, suite, etc.)
1Postal/ZIP code.
1City name.
1Full country name.
1Two-letter country code (ISO 3166-1).
2Province/state code.
1Full province/state name.
1Contact phone number.
1Company name.
1Show child attributes
1CreditCard Show child attributes
1111 <= x <= 12x >= 200011