- Overview
- Authorization Workflow
- Permissions
- Sandbox
- API Models
- Available API Models
- Request Apidog Access
- OPENAPI SPECIFICATION
- Research Docs
- Amazon Warehousing and Distribution
- Authorization
- Catalog Items
- Catalog [Deprecated]
- Definitions
- Easy Ship
- FBAInbound
- listInboundPlans
- createInboundPlan
- getInboundPlan
- listInboundPlanBoxes
- cancelInboundPlan
- listInboundPlanItems
- updateInboundPlanName
- listPackingGroupBoxes
- listPackingGroupItems
- setPackingInformation
- listPackingOptions
- generatePackingOptions
- confirmPackingOption
- listInboundPlanPallets
- listPlacementOptions
- generatePlacementOptions
- confirmPlacementOption
- getShipment
- listShipmentBoxes
- listShipmentContentUpdatePreviews
- generateShipmentContentUpdatePreviews
- getShipmentContentUpdatePreview
- confirmShipmentContentUpdatePreview
- getDeliveryChallanDocument
- listDeliveryWindowOptions
- generateDeliveryWindowOptions
- confirmDeliveryWindowOptions
- listShipmentItems
- updateShipmentName
- listShipmentPallets
- cancelSelfShipAppointment
- getSelfShipAppointmentSlots
- generateSelfShipAppointmentSlots
- scheduleSelfShipAppointment
- updateShipmentSourceAddress
- updateShipmentTrackingDetails
- listTransportationOptions
- generateTransportationOptions
- confirmTransportationOptions
- listItemComplianceDetails
- updateItemComplianceDetails
- createMarketplaceItemLabels
- listPrepDetails
- setPrepDetails
- getInboundOperationStatus
- getItemEligibilityPreview
- FBAInventory
- FBAOutbound
- Feeds
- Fees
- Finance
- Invoices [Brazil]
- Listings Items
- Merchant Fulfillment
- Orders
- ProductPricing
- Reports
- Sales
- Sellers
- Service
- getServiceJobByServiceJobId
- cancelServiceJobByServiceJobId
- completeServiceJobByServiceJobId
- getServiceJobs
- addAppointmentForServiceJobByServiceJobId
- rescheduleAppointmentForServiceJobByServiceJobId
- assignAppointmentResources
- setAppointmentFulfillmentData
- getRangeSlotCapacity
- getFixedSlotCapacity
- updateSchedule
- createReservation
- updateReservation
- cancelReservation
- getAppointmmentSlotsByJobId
- getAppointmentSlots
- createServiceDocumentUploadDestination
- ShipmentInvoice[Brazil]
- Shipping
- getRates
- createShipment
- directPurchaseShipment
- getShipment
- purchaseShipment
- cancelShipment
- oneClickShipment
- purchaseLabels
- getTracking
- retrieveShippingLabel
- getShipmentDocuments
- purchaseShipment
- cancelShipment
- getRates
- getAdditionalInputs
- getAccount
- getCarrierAccountFormInputs
- getTrackingInformation
- getCarrierAccounts
- linkCarrierAccount
- unlinkCarrierAccount
- generateCollectionForm
- getCollectionFormHistory
- getUnmanifestedShipments
- getCollectionForm
- getAccessPoints
- Supply Sources
- Tokens
- Uploads
- Notifications
cancelShipment
DELETE
/mfn/v0/shipments/{shipmentId}
merchantFulfillment
Last modified:2024-12-05 08:36:30
Maintainer:Not configured
Rate (requests per second) | Burst |
---|---|
1 | 1 |
x-amzn-RateLimit-Limit
response header returns the usage plan rate limits that are applied to the requested operation when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the SP-API.Request
Path Params
shipmentId
stringÂ
required
Match pattern:
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://sandbox.sellingpartnerapi-na.amazon.com/mfn/v0/shipments/'
Responses
🟢200OK
application/json
Headers
x-amzn-RateLimit-Limit
stringÂ
optional
x-amzn-RequestId
stringÂ
optional
Body
Response schema.
payload
object (Shipment)Â
optional
Example:
{"destination":{"destinationType":"AMAZON_OPTIMIZED"},"freightInformation":{"declaredValue":{"amount":5.5,"code":"CAD"},"freightClass":"FC_50"},"inboundPlanId":"wf1234abcd-1234-abcd-5678-1234abcd5678","placementOptionId":"pl1234abcd-1234-abcd-5678-1234abcd5678","selectedDeliveryWindow":{"availabilityType":"AVAILABLE","deliveryWindowOptionId":"dw1234abcd-1234-abcd-5678-1234abcd5678","editableUntil":"2024-01-05T20:00:00.000Z","endDate":"2024-01-05T20:00:00.000Z","startDate":"2024-01-05T14:00:00.000Z"},"shipmentConfirmationId":"shipmentConfirmationId","shipmentId":"sh1234abcd-1234-abcd-5678-1234abcd5678","source":{"sourceType":"SELLER_FACILITY"}}
amazonReferenceId
stringÂ
optional
>= 1 characters<= 1024 characters
contactInformation
object (ContactInformation)Â
optional
Example:
{"email":"email@email.com","name":"name","phoneNumber":"1234567890"}
dates
object (Dates)Â
optional
Example:
{"readyToShipWindow":{"end":"2024-01-06T14:48:00.000Z","start":"2024-01-05T14:48:00.000Z"}}
destination
object (ShipmentDestination)Â
required
freightInformation
object (FreightInformation)Â
optional
Example:
{"declaredValue":{"amount":5.5,"code":"CAD"},"freightClass":"FC_50"}
name
stringÂ
optional
placementOptionId
stringÂ
required
>= 38 characters<= 38 characters
Match pattern:
^[a-zA-Z0-9-]*$
selectedDeliveryWindow
object (SelectedDeliveryWindow)Â
optional
Example:
{"availabilityType":"AVAILABLE","deliveryWindowOptionId":"dw1234abcd-1234-abcd-5678-1234abcd5678","editableUntil":"2024-01-05T20:00:00.000Z","endDate":"2024-01-05T20:00:00.000Z","startDate":"2024-01-05T14:00:00.000Z"}
selectedTransportationOptionId
stringÂ
optional
>= 38 characters<= 38 characters
Match pattern:
^[a-zA-Z0-9-]*$
selfShipAppointmentDetails
array[object (SelfShipAppointmentDetails) {3}]Â
optional
shipmentConfirmationId
stringÂ
optional
FBA1234ABCD
).>= 1 characters<= 1024 characters
shipmentId
stringÂ
required
>= 38 characters<= 38 characters
Match pattern:
^[a-zA-Z0-9-]*$
source
object (ShipmentSource)Â
required
status
stringÂ
optional
UNCONFIRMED
, then transition to WORKING
after a placement option has been confirmed, and then to READY_TO_SHIP
once labels are generated.ABANDONED
, CANCELLED
, CHECKED_IN
, CLOSED
, DELETED
, DELIVERED
, IN_TRANSIT
, MIXED
, READY_TO_SHIP
, RECEIVING
, SHIPPED
, UNCONFIRMED
, WORKING
>= 1 characters<= 1024 characters
trackingDetails
object (TrackingDetails)Â
optional
errors
array[object (Error) {3}]Â
optional
code
stringÂ
required
message
stringÂ
required
details
stringÂ
optional
Example
{
"payload": {
"destination": {
"destinationType": "AMAZON_OPTIMIZED"
},
"freightInformation": {
"declaredValue": {
"amount": 5.5,
"code": "CAD"
},
"freightClass": "FC_50"
},
"inboundPlanId": "wf1234abcd-1234-abcd-5678-1234abcd5678",
"placementOptionId": "pl1234abcd-1234-abcd-5678-1234abcd5678",
"selectedDeliveryWindow": {
"availabilityType": "AVAILABLE",
"deliveryWindowOptionId": "dw1234abcd-1234-abcd-5678-1234abcd5678",
"editableUntil": "2024-01-05T20:00:00.000Z",
"endDate": "2024-01-05T20:00:00.000Z",
"startDate": "2024-01-05T14:00:00.000Z"
},
"shipmentConfirmationId": "shipmentConfirmationId",
"shipmentId": "sh1234abcd-1234-abcd-5678-1234abcd5678",
"source": {
"sourceType": "SELLER_FACILITY"
}
},
"errors": [
{
"code": "string",
"message": "string",
"details": "string"
}
]
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠429429
🔴500Server Error
🔴503Service Unavailable