Acknowledge orders
Confirm that you received an order and will fulfill its order lines.
When a customer places an order, Walmart creates a purchase order with the status Created. Acknowledging the order tells Walmart that you received it and intend to fulfill it. Acknowledge each new order before you ship it.
You acknowledge order lines, not whole orders, so you list each line you will fulfill in the request.
Before you begin
- Get an access token with the
orders:writescope. See Authentication. - Retrieve the order and note its
purchaseOrderIdand thelineNumberof each line. See Retrieve orders.
Step 1: Find orders to acknowledge
List orders that are waiting for you.
GET /v4/orders?orderStatuses=Created
Authorization: Bearer <access_token>Each returned order has orderStatus set to Created, and its lines have lineStatus set to Created.
Step 2: Acknowledge the order lines
Call Acknowledge receipt of an order. For each line, send its lineNumber and the statusCode Acknowledged. You can also send statusQuantity to state the quantity you acknowledge.
POST /v4/orders/1234567891234/acknowledge
Authorization: Bearer <access_token>
Content-Type: application/json{
"orderLines": [
{
"lineNumber": "1",
"statusCode": "Acknowledged",
"statusQuantity": { "amount": 2, "unit": "EACH" }
},
{
"lineNumber": "2",
"statusCode": "Acknowledged",
"statusQuantity": { "amount": 1, "unit": "EACH" }
}
]
}| Field | Required | Description |
|---|---|---|
orderLines[].lineNumber | Yes | Line identifier within the purchase order. |
orderLines[].statusCode | Yes | Always Acknowledged. |
orderLines[].statusQuantity | No | Quantity acknowledged, with amount and a unit of EA, EACH, CASE or CARTON. |
Step 3: Check the response
The response returns the purchase order ID and the time Walmart recorded the acknowledgment.
{
"purchaseOrderId": "1234567891234",
"acknowledgedAt": "2026-11-30T15:10:00Z"
}To confirm the new status, get the order again and check that lineStatus is Acknowledged on each line you sent.
GET /v4/orders/1234567891234
Authorization: Bearer <access_token>Errors and edge cases
400: the body is malformed, a required field is missing, orstatusCodehas a value other thanAcknowledged. Checkerrors[].pointerfor the field at fault.403: your token doesn't have access to this order or operation.404: no order exists for the purchase order ID.429: you exceeded the rate limit. Back off and retry.- If you can't fulfill a line, don't acknowledge it. Cancel it instead. See Cancel order lines.
