Track and cancel shipments
Track packages you shipped with a Walmart label, cancel unused labels, find access points and resolve failed deliveries.
After you buy a label, you need to know where the package is and act when something goes wrong. Use the Shipping API to follow a package from pre-transit to delivery, cancel a label you won't use, find pickup and drop-off locations, and tell the carrier what to do when a delivery fails.
Before you begin
- Get an access token with
shipping:readfor tracking and access points, andshipping:writeto cancel and submit feedback. See Authentication. - Have the
shipmentIdandtrackingIdfrom your label purchase. See Create a shipping label.
Track a shipment
Call Get tracking status with the trackingId. Walmart resolves the carrier from the tracking ID, so carrierId is optional. If you send carrierId and it doesn't match the resolved carrier, the call returns 404.
GET /v4/fulfillment/shipping/tracking-events?trackingId=1Z999AA10123456784
Authorization: Bearer <access_token>{
"payload": {
"trackingId": "1Z999AA10123456784",
"promisedDeliveryDate": "2026-12-08T00:00:00Z",
"summary": { "status": "DELIVERED", "statusUpdatedTime": "2026-12-07T14:12:00Z" },
"eventHistory": [
{
"eventCode": "PICKED_UP",
"eventTime": "2026-12-04T18:00:00Z",
"location": { "city": "Rogers", "stateOrRegion": "AR", "countryCode": "US", "postalCode": "72756" }
},
{
"eventCode": "DELIVERED",
"eventTime": "2026-12-07T14:12:00Z",
"description": "Delivered, front door"
}
],
"proofOfDelivery": { "deliveredTime": "2026-12-07T14:12:00Z", "recipientName": "J DOE" }
}
}summary.status is one of PRE_TRANSIT, IN_TRANSIT, OUT_FOR_DELIVERY, DELIVERED, EXCEPTION, RETURNED or UNKNOWN. proofOfDelivery can include a Base64-encoded signatureImage. Some shipments also return an alternateLegTrackingId.
When tracking shows DELIVERED, record delivery on the order. See Ship order lines.
Cancel a shipment
You can cancel a label that hasn't shipped. Call Cancel a previously-purchased shipment. No request body is needed.
PUT /v4/fulfillment/shipping/shipments/shp-0001/cancel
Authorization: Bearer <access_token>{
"payload": {
"cancelled": true,
"cancellationStatus": "CANCELLED",
"message": "Shipment cancelled"
}
}Cancellation eligibility depends on the carrier, so always check the result:
cancellationStatus | Meaning |
|---|---|
CANCELLED | The carrier accepted the cancellation. |
PENDING | The cancellation is still being processed. Check again later. |
REJECTED | The carrier didn't accept the cancellation. |
Find access points
Call List nearby pickup/dropoff access points to find locations near a postal code. accessPointTypes, countryCode (ISO 3166-1 alpha-2) and postalCode are required. accessPointTypes is a comma-separated list.
GET /v4/fulfillment/shipping/access-points?accessPointTypes=PICKUP,DROPOFF&countryCode=US&postalCode=72716
Authorization: Bearer <access_token>{
"payload": {
"accessPoints": [
{
"accessPointId": "AP-1001",
"name": "Bentonville Supercenter",
"type": "DROPOFF",
"address": { "name": "Bentonville Supercenter", "addressLine1": "406 S Walton Blvd", "city": "Bentonville", "stateOrRegion": "AR", "postalCode": "72712", "countryCode": "US" },
"timezone": "America/Chicago"
}
]
}
}Resolve a failed delivery
When a carrier reports a non-delivery event, tell it how to proceed with Submit non-delivery report feedback. sellerTrackingId and ndrAction are required.
ndrAction | What happens |
|---|---|
RETURN_TO_ORIGIN | Return the package to you. |
REATTEMPT_DELIVERY | Try delivering again. |
REDIRECT_TO_ACCESS_POINT | Send the package to an access point. |
CONTACT_BUYER | Contact the buyer. |
POST /v4/fulfillment/shipping/ndr-feedback
Authorization: Bearer <access_token>
Content-Type: application/json{
"sellerTrackingId": "1Z999AA10123456784",
"ndrAction": "REATTEMPT_DELIVERY",
"comments": "Buyer will be home after 5 PM."
}A successful call returns 204 No Content.
Errors and edge cases
400: a required parameter or field is missing, or an enum value isn't valid.403: your token is missing the requiredshipping:readorshipping:writescope.404: the tracking ID or shipment wasn't found, or thecarrierIdyou sent doesn't match the resolved carrier.429: you exceeded the rate limit. Back off and retry.
