Cancels a shipment and returns the pre-paid shipping label

Deprecated

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

shipmentIdstringRequired

Response

Shipment cancelled
payloadobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error