ebay_cancel_shipment
Cancels an eBay shipment and deletes its shipping label, refunding the total shipping cost to the billing agreement. Fails if the label has already been used.
Instructions
Cancel a shipment and delete its shipping label; eBay refunds the totalShippingCost to the billing agreement (Logistics API cancelShipment). Fails once the label has been used. Returns the shipment with its cancellation status. Logistics API is limited release (eBay-approved developers only, USPS rates and labels only) and needs the https://api.ebay.com/oauth/api_scope/sell.logistics scope, which is not requested by default: eligible keysets add it to EBAY_OAUTH_SCOPES and re-consent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shipmentId | Yes | Shipment ID returned by ebay_create_shipment_from_shipping_quote |