Skip to content
gist.link ↗

parcelTemplates

Query Shipping API — POST https://shipping.api.gist.link/graphql

The parcelTemplates query on the Shipping API.

shipping:query:parcelTemplates

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

type Query {
parcelTemplates: [ParcelTemplate!]!
}

This query takes no arguments.

[ParcelTemplate!]! — see the Shipping types reference.

Terminal window
curl https://shipping.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query ParcelTemplates { parcelTemplates { uuid name isDefault } }",
"variables": {}
}
JSON