Skip to Content

Update inventory data

Set the available quantity and fulfillment lag for one SKU, or for up to 10 SKUs in a single request.

Keep your inventory current so customers see accurate availability and you avoid overselling. Update one SKU when a single event changes your stock, or update up to 10 SKUs at once when you sync from your warehouse system.

Before you begin

  • Get an access token. See Authentication. Updating inventory uses the inventory:write scope.
  • Know the seller SKU for each item. If you ship from more than one location, know the Walmart Ship Node ID (shipNode) for each update. To list your ship nodes, see Manage supply sources.
  • For items that Walmart Fulfillment Services (WFS) fulfills, Walmart manages the stock. Send more units with an inbound plan instead.

Request fields

Both operations accept the same fields for each item:

FieldRequiredDescription
quantityYesDeclared on-hand quantity. An integer, 0 or more. The unit is always each (EA).
shipNodeNoThe ship node the quantity applies to.
fulfillmentLagNoLead time in days to ship, 0 to 14 (0 to 4 for standard items).
sellerSkuBulk onlyThe SKU to update. For a single SKU, the SKU goes in the path.

Step 1: Update one SKU

Call Update inventory for a SKU with the SKU in the path.

PUT /v4/inventory/items/97964_KFTest
Authorization: Bearer <access_token>
Content-Type: application/json
{
  "quantity": 25,
  "shipNode": "79978548",
  "fulfillmentLag": 1
}

A successful update returns 200 OK and echoes the quantity:

{
  "sellerSku": "97964_KFTest",
  "quantity": 25,
  "updatedAt": "2026-12-03T10:15:00Z"
}

Step 2: Update several SKUs in one request

Call Bulk update inventory with 1 to 10 items.

POST /v4/inventory/items/bulk
Authorization: Bearer <access_token>
Content-Type: application/json
{
  "items": [
    { "sellerSku": "97964_KFTest", "quantity": 25, "shipNode": "79978548", "fulfillmentLag": 1 },
    { "sellerSku": "97965_KFTest", "quantity": 0, "shipNode": "79978548" },
    { "sellerSku": "BLANKET-RED-L", "quantity": 140 }
  ]
}

The response returns 200 OK and reports each item separately. Items that were updated appear in succeeded. Items that failed appear in errors with a code and message.

{
  "succeeded": [
    { "sellerSku": "97964_KFTest", "quantity": 25, "updatedAt": "2026-12-03T10:15:00Z" },
    { "sellerSku": "97965_KFTest", "quantity": 0, "updatedAt": "2026-12-03T10:15:00Z" }
  ],
  "errors": [
    { "sellerSku": "BLANKET-RED-L", "code": "INVALID_REQUEST", "message": "The item could not be updated." }
  ]
}

Retry only the items listed in errors, after you fix the cause.

Step 3: Confirm the update

Read the SKU back with Get inventory for a SKU and check inventoryDetails[].lastUpdated and fulfillableQuantity for the ship node you updated. See Retrieve inventory data.

Errors and edge cases

  • More than 10 items. A bulk request with more than 10 items returns 400 Bad Request and nothing is updated.
  • Negative quantity. quantity must be 0 or more. Set it to 0 to show an item as out of stock.
  • fulfillmentLag out of range. Values outside 0 to 14 are rejected.
  • 404 Not Found from the single-SKU update when the SKU doesn't exist.
  • 403 Forbidden when your token isn't allowed to update inventory.
  • 429 Too Many Requests when you exceed the rate limit. Wait before you retry, and prefer bulk updates to many single calls.
  • Partial success. A 200 OK bulk response can still contain errors. Always check both arrays.

On this page