Skip to content
gist.link ↗

shippingZones

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

LEGACY flat shipping zones (no longer used for checkout — shipping is chosen in pay’s checkout with rates from the shipping service). Kept read/write until app:shipping:export-zones has moved them to shipping’s custom rate tables and the cleanup migration drops them. ADMIN.

shop:query:shippingZones

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 {
shippingZones: [ShippingZone!]!
}

This query takes no arguments.

[ShippingZone!]! — 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 ShippingZones { shippingZones { id uuid name created_at updated_at } }",
"variables": {}
}
JSON