Cancels an open batch and all its non-booked shipments. Returns 422 if the batch is not in ‘open’ state.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Preferred language(s) for translatable content using BCP 47 language tags. Supports quality values (q-factors) for priority ordering. The API negotiates the best available language based on this header, the team's configured language, and available translations. If omitted, the team's default language is used.
"da-DK, da;q=0.9, en;q=0.8"
Any value passed in this request will be returned in the same header. This can be used to correlate requests between client and server.
1 - 128Team identifier. All resources are scoped to this team.
1"ad9546c1-393e-49a5-9a72-5cc146c9bec5"
Unique identifier of the batch
Batch cancelled successfully