Skip to content
gist.link ↗

label

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

The label query on the Shipping API.

shipping:query:label

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 {
label(uuid: ID!): Label!
}
Argument Type Required Description
uuid ID! Yes —

Label! — 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 Label($uuid: ID!) { label(uuid: $uuid) { uuid carrier serviceLevel trackingNumber trackingUrl format status trackingStatus } }",
"variables": {
"uuid": "01a01234-abcd-7000-9000-0123456789ab"
}
}
JSON