Cancel Shipments
If you no longer need a shipment record for any reason, you can cancel it. If the shipment has any labels associated with it, you’ll need to void the label first. For example, a common use case would be if a batch label creation job is going to run at a set time and only queries pending
shipments. Canceling the shipment would remove it from this process.
Requirements
- The
shipment_id
- Any labels that have been created for that shipment first need to be voided.
Sample Request & Response
/v2/shipments/:shipment_id/cancel
GET /v2/shipments/se-202902255/cancel HTTP/1.1 Host: api.shipstation.com API-Key: __YOUR_API_KEY_HERE__
If successful, ShipStation will respond with an HTTP Status Code of 204 (No Content).