Skip to content
gist.link ↗

voidShippingLabel

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

Void a fulfillment’s unused label (shipping voidLabel). ADMIN.

shop:mutation:voidShippingLabel

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

type Mutation {
voidShippingLabel(fulfillmentId: String!): Order!
}
Argument Type Required Description
fulfillmentId String! Yes —

Order! — 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": "mutation VoidShippingLabel($fulfillmentId: String!) { voidShippingLabel(fulfillmentId: $fulfillmentId) { id uuid email currency total status created_at updated_at } }",
"variables": {
"fulfillmentId": "example"
}
}
JSON