Cancels a restocking shipment whose status is created, shipped, delivered, arrived or on_hold. In any other status the cancellation is answered with 422 Unprocessable Entity.
Security
BearerAuth
- Mock serverhttps://developers.hive.app/_mock/merchant-api-v1/mapi_v1_oas31/restocking_shipments/{id}/cancel
- Production APIhttps://app.hive.app/merchant_api/v1/restocking_shipments/{id}/cancel
- Staging APIhttps://staging.app.hive.app/merchant_api/v1/restocking_shipments/{id}/cancel
curl -i -X PUT \
'https://developers.hive.app/_mock/merchant-api-v1/mapi_v1_oas31/restocking_shipments/{id}/cancel' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'