Skip to main content
GET
/
products
cURL
curl --request GET \
  --url https://api.juo.io/customer/v1/products \
  --header 'X-Delegated-Token: <api-key>' \
  --header 'X-Tenant-ID: <x-tenant-id>'
{
  "resource": "list",
  "hasNextPage": true,
  "hasPrevPage": true,
  "endCursor": null,
  "startCursor": null,
  "data": [
    {
      "id": "<string>",
      "title": "<string>",
      "image": null,
      "variants": [
        {
          "id": "<string>",
          "title": "<string>",
          "image": null,
          "price": 123,
          "purchaseOptions": [
            {
              "name": "<string>",
              "price": 123,
              "interval": {
                "intervalCount": 123,
                "interval": "DAY"
              }
            }
          ]
        }
      ],
      "collections": [
        {
          "handle": "<string>"
        }
      ]
    }
  ]
}

Authorizations

X-Delegated-Token
string
header
required

Headers

X-Tenant-ID
string
required

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

Query Parameters

query
string

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

limit
integer
default:20

See pagination for more details on how to paginate the results.

Required range: 1 <= x <= 100
after
string

See pagination for more details on how to paginate the results.

Minimum length: 1
before
string

See pagination for more details on how to paginate the results.

Minimum length: 1
sort
string
default:id:asc

See sorting for more details on how to sort the results.

Response

200 - application/json

Default Response

resource
enum<string>
required
Available options:
list
hasNextPage
boolean
required
hasPrevPage
boolean
required
endCursor
string | null
required
startCursor
string | null
required
data
Product · object[]
required
I