Skip to main content
GET
/
schedules
cURL
curl --request GET \
  --url https://api.juo.io/admin/v1/schedules/ \
  --header 'X-Juo-Admin-Api-Key: <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>"
        }
      ]
    }
  ]
}

Authorizations

X-Juo-Admin-Api-Key
string
header
required

Headers

X-Tenant-ID
string
required

Unique identifier of the tenant in the system (usually a store identifier)

Query Parameters

customerId
string
required

The customer identifier

Minimum string length: 1
count
integer
required
Required range: 1 <= x <= 10
query
string

The search query string. See search query language for information how to build the search query. Supported fields are listed here.

Minimum string length: 1

Response

200 - application/json

Default Response

orders
ScheduleOrder · object[]
required