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).
PATCH
Spree Admin SDK
Authorizations
Headers
Body
application/json
Response
transfer cancelled
Spree Admin SDK

