Void Label Batch Labels
POST/api/shipping-label-batches/:shippingLabelBatch/void
Voids the bought labels of item_ids with their providers, one item at a time. results[] says what happened to each: status voided, void_pending (the provider accepted the void and the refund settles later) or, with error: true, the item's unchanged status and the provider's message. A voided label's shipment is removed from its fulfillment order, which can then go in another batch. voided and errors count the outcomes and batch is the updated batch (as Get Label Batch).
orders:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body:
item_ids(required, array of item IDs, 1-500).
200 when at least one label was voided (some may still have errors); 422 when none could be voided. 409 while a rate or buy job holds the batch.
Requires the orders write scope and the fulfillment_orders.index and fulfillment_orders.ship permissions.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.