Skip to content
gist.link ↗

collections

Query Shop API — POST https://shop.api.gist.link/graphql

Collections for the caller’s organization. ADMIN.

shop:query:collections

The calling IAM key must hold this permission (or a wildcard that covers it: shop:query:* or shop:*) and the access token must have been minted with audience=shop. See Permissions.

type Query {
collections: [Collection!]!
}

This query takes no arguments.

[Collection!]! — see the Shop types reference.

Terminal window
curl https://shop.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query Collections { collections { id uuid title type created_at updated_at } }",
"variables": {}
}
JSON