Merchant fulfillmentMerchant Fulfillment
Cancels a shipment and returns the pre-paid shipping label
Deprecated
DELETE
Cancels a shipment and returns its prepaid shipping label.
walletAuthheader
AuthorizationBearer <token>shipmentId*stringShipment cancelled
application/json- response
shipment?curl -X DELETE 'https://marketplace.walmart.com/seller/v1/mfn/v4/shipments/string'Example Response
{
"shipment": {
"shipmentId": "string",
"orderId": "string",
"sellerOrderId": "string",
"itemList": [
{
"orderItemId": "string",
"quantity": 1
}
],
"shipFromAddress": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"municipality": "string",
"postalCode": "string",
"countryCode": "US",
"phone": "string",
"isCommercialAddress": true
},
"shipToAddress": {
"name": "string",
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"county": "string",
"district": "string",
"stateOrRegion": "string",
"municipality": "string",
"postalCode": "string",
"countryCode": "US",
"phone": "string",
"isCommercialAddress": true
},
"packageDimensions": {
"length": 0,
"width": 0,
"height": 0,
"unit": "inches"
},
"weight": {
"value": 0,
"unit": "oz"
},
"insurance": {
"amount": "string",
"currencyCode": "USD"
},
"shippingService": {
"shippingServiceId": "string",
"carrierName": "UPS",
"shippingServiceName": "string",
"shippingServiceOfferId": "string",
"shipDate": "2019-08-24T14:15:22Z",
"earliestEstimatedDeliveryDate": "2019-08-24T14:15:22Z",
"latestEstimatedDeliveryDate": "2019-08-24T14:15:22Z",
"rate": {
"amount": "string",
"currencyCode": "USD"
},
"shippingServiceOptions": {
"deliveryExperience": "DeliveryConfirmationWithAdultSignature",
"carrierWillPickUp": true,
"carrierWillPickUpOption": "CarrierContact",
"declaredValue": {
"amount": "string",
"currencyCode": "USD"
}
}
},
"label": {
"customTextForLabel": "string",
"dimensions": {
"length": 0,
"width": 0,
"unit": "inches"
},
"fileContents": {
"contents": "string",
"fileType": "application/pdf",
"checksum": "string"
},
"labelFormat": "PDF",
"standardIdForLabel": "WalmartOrderId"
},
"shipmentStatus": "PURCHASED",
"createdDate": "2019-08-24T14:15:22Z",
"lastUpdatedDate": "2019-08-24T14:15:22Z"
}
}