JUMP TOCTRL-/GETTING STARTEDGetting StartedAmazon OAuth APIObtain Shipping API Access Token/auth/o2/tokenpostShipping V2 APIsGet Shipping Rate/shipping/v2/shipments/ratespostShipment Purchase API/shipping/v2/shipmentspostSmart Shipment Purchase API/shipping/v2/oneClickShipmentpostShipment Tracking API/shipping/v2/trackinggetCancel Shipment Label API/shipping/v2/shipments/{shipmentId}/cancelputRegenerate Shipping Label/shipping/v2/shipments/{shipmentId}/documentsgetObtain Delivery Counter Location API/shipping/v2/accessPointsgetSubmit Non-Delivery Report API/shipping/v2/ndrFeedbackpostProvide Additional Input API/shipping/v2/shipments/additionalInputs/schemaget/shipping/v2/shipments/{shipmentId}/cancelput https://sandbox.sellingpartnerapi-na.amazon.com/shipping/v2/shipments/{shipmentId}/cancelCancels a purchased shipment. Returns an empty object if the shipment is successfully cancelled.Log in to see full request historytimestatususer agent Retrieving recent requests…LoadingLoading…URL ExpiredThe URL for this request expired after 30 days.Path ParamsshipmentIdstringrequiredThe shipment identifier originally returned by the purchaseShipment operation.Headersx-amz-access-tokenstringrequiredAmazon shipping request tokenx-amzn-shipping-business-idstringrequiredAmazon shipping business to assume for this request.Show DetailsAmazonShipping_USThe United States Amazon shipping business.AmazonShipping_INThe India Amazon shipping business.AmazonShipping_UKThe United Kingdom Amazon shipping business.AmazonShipping_ITThe Italy Amazon shipping business.AmazonShipping_ESThe Spain Amazon shipping business.AmazonShipping_FRThe France Amazon shipping business.AmazonShipping_USAmazonShipping_INAmazonShipping_UKAmazonShipping_ITAmazonShipping_ESAmazonShipping_FRResponses 200Success.Response bodyobjectpayloadobjectThe payload for the cancelShipment operation.View Additional PropertiesHeadersobjectx-amzn-RequestIdstringUnique request reference identifier.x-amzn-RateLimit-LimitstringYour rate limit (requests per second) for this operation. 400Request has missing or invalid parameters and cannot be parsed.Response bodyobjecterrorsarray of objectsrequirederrors*objectcodestringrequiredAn error code that identifies the type of error that occurred.messagestringrequiredA message that describes the error condition.detailsstringAdditional details that can help the caller understand or fix the issue.Headersobjectx-amzn-RequestIdstringUnique request reference identifier.x-amzn-RateLimit-LimitstringYour rate limit (requests per second) for this operation. 401The request's Authorization header is not formatted correctly or does not contain a valid token.Response bodyobjecterrorsarray of objectsrequirederrors*objectcodestringrequiredAn error code that identifies the type of error that occurred.messagestringrequiredA message that describes the error condition.detailsstringAdditional details that can help the caller understand or fix the issue.Headersobjectx-amzn-RequestIdstringUnique request reference identifier.x-amzn-RateLimit-LimitstringYour rate limit (requests per second) for this operation. Note: For this status code, the rate limit header is deprecated and no longer returned. 403Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.Response bodyobjecterrorsarray of objectsrequirederrors*objectcodestringrequiredAn error code that identifies the type of error that occurred.messagestringrequiredA message that describes the error condition.detailsstringAdditional details that can help the caller understand or fix the issue.Headersobjectx-amzn-RequestIdstringUnique request reference identifier. 404The resource specified does not exist.Response bodyobjecterrorsarray of objectsrequirederrors*objectcodestringrequiredAn error code that identifies the type of error that occurred.messagestringrequiredA message that describes the error condition.detailsstringAdditional details that can help the caller understand or fix the issue.Headersobjectx-amzn-RequestIdstringUnique request reference identifier.x-amzn-RateLimit-LimitstringYour rate limit (requests per second) for this operation. 413The request size exceeded the maximum accepted size.Response bodyobjecterrorsarray of objectsrequirederrors*objectcodestringrequiredAn error code that identifies the type of error that occurred.messagestringrequiredA message that describes the error condition.detailsstringAdditional details that can help the caller understand or fix the issue.Headersobjectx-amzn-RequestIdstringUnique request reference identifier.x-amzn-RateLimit-LimitstringYour rate limit (requests per second) for this operation. Note: For this status code, the rate limit header is deprecated and no longer returned. 415The request payload is in an unsupported format.Response bodyobjecterrorsarray of objectsrequirederrors*objectcodestringrequiredAn error code that identifies the type of error that occurred.messagestringrequiredA message that describes the error condition.detailsstringAdditional details that can help the caller understand or fix the issue.Headersobjectx-amzn-RequestIdstringUnique request reference identifier.x-amzn-RateLimit-LimitstringYour rate limit (requests per second) for this operation. Note: For this status code, the rate limit header is deprecated and no longer returned. 429The frequency of requests was greater than allowed.Response bodyobjecterrorsarray of objectsrequirederrors*objectcodestringrequiredAn error code that identifies the type of error that occurred.messagestringrequiredA message that describes the error condition.detailsstringAdditional details that can help the caller understand or fix the issue.Headersobjectx-amzn-RequestIdstringUnique request reference identifier.x-amzn-RateLimit-LimitstringYour rate limit (requests per second) for this operation. Note: For this status code, the rate limit header is deprecated and no longer returned. 500An unexpected condition occurred that prevented the server from fulfilling the request.Response bodyobjecterrorsarray of objectsrequirederrors*objectcodestringrequiredAn error code that identifies the type of error that occurred.messagestringrequiredA message that describes the error condition.detailsstringAdditional details that can help the caller understand or fix the issue.Headersobjectx-amzn-RequestIdstringUnique request reference identifier.x-amzn-RateLimit-LimitstringYour rate limit (requests per second) for this operation. Note: For this status code, the rate limit header is deprecated and no longer returned. 503Temporary overloading or maintenance of the server.Response bodyobjecterrorsarray of objectsrequirederrors*objectcodestringrequiredAn error code that identifies the type of error that occurred.messagestringrequiredA message that describes the error condition.detailsstringAdditional details that can help the caller understand or fix the issue.Headersobjectx-amzn-RequestIdstringUnique request reference identifier.x-amzn-RateLimit-LimitstringYour rate limit (requests per second) for this operation. Note: For this status code, the rate limit header is deprecated and no longer returned.Updated 10 months ago Cancel Shipment Label APIRegenerate Shipping LabelDid this page help you?YesNo