Cancel a stock transfer
Calls the trip off.
Cancelling a draft or a packed transfer costs nothing — no stock has
moved. Cancelling one already in transit needs on_in_transit, because
the units are physically gone from the source: either they come back
(restock, as if the transfer had never shipped) or they are written
off as lost (write_off). There is no default — guessing would either
invent stock or destroy it — so an in-flight cancellation without it is
refused with a 422.
Required scope: write_stock (for API-key authentication).
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Headers
Bearer token for admin authentication
Path Parameters
Stock transfer ID
Body
Response
transfer cancelled

