curl --request GET \
--url https://api.juo.io/customer/v1/schedules/ \
--header 'X-Delegated-Token: <api-key>' \
--header 'X-Tenant-ID: <x-tenant-id>'{
"orders": [
{
"id": "<string>",
"customerId": "<string>",
"currencyCode": "<string>",
"skipped": true,
"date": "2023-11-07T05:31:56Z",
"cycleIndex": 1,
"subtotal": 1,
"deliveryPrice": 1,
"items": [
{
"id": "<string>",
"title": "<string>",
"subtitle": "<unknown>",
"quantity": 2,
"price": 1,
"totalPrice": 1,
"variant": "<string>",
"product": "<string>",
"subscription": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subscriptionItem": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parentProductId": "<unknown>",
"parentLineId": "<unknown>",
"customAttributes": [
{
"key": "<string>",
"value": "<string>"
}
]
}
],
"discounts": [
{
"id": "<string>",
"title": "<string>",
"target": "line",
"value": {
"type": "percentage",
"percentage": 50
},
"entitledItems": {
"all": true
},
"subscriptionId": "<unknown>"
}
]
}
]
}Returns a customer schedule.
curl --request GET \
--url https://api.juo.io/customer/v1/schedules/ \
--header 'X-Delegated-Token: <api-key>' \
--header 'X-Tenant-ID: <x-tenant-id>'{
"orders": [
{
"id": "<string>",
"customerId": "<string>",
"currencyCode": "<string>",
"skipped": true,
"date": "2023-11-07T05:31:56Z",
"cycleIndex": 1,
"subtotal": 1,
"deliveryPrice": 1,
"items": [
{
"id": "<string>",
"title": "<string>",
"subtitle": "<unknown>",
"quantity": 2,
"price": 1,
"totalPrice": 1,
"variant": "<string>",
"product": "<string>",
"subscription": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subscriptionItem": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parentProductId": "<unknown>",
"parentLineId": "<unknown>",
"customAttributes": [
{
"key": "<string>",
"value": "<string>"
}
]
}
],
"discounts": [
{
"id": "<string>",
"title": "<string>",
"target": "line",
"value": {
"type": "percentage",
"percentage": 50
},
"entitledItems": {
"all": true
},
"subscriptionId": "<unknown>"
}
]
}
]
}Unique identifier of the tenant in the system (usually a store identifier)
1 <= x <= 10The search query string. See search query language for information how to build the search query. Supported fields are listed here.
1Default Response
Show child attributes
113x >= 0x >= 0x >= 01Show child attributes
111x >= 1x >= 0x >= 0This field is expandable.
1This field is expandable.
1This field is expandable.
This field is expandable.
11Show child attributes
11line