---
updatedAt: 2026-04-12T09:23:20.000Z
---

# Update single inventory

Call this endpoint to update the inventory quantity for a single SKU at a specific ship node. Use this endpoint to change a product's inventory levels without affecting other SKUs.

> **Note**: This page describes an example using only the required parameters and inputs for inventory updates. For a full list of customization options and additional capabilities, refer to the [Marketplace Inventory API reference](/reference/updateinventoryforanitem).

## Endpoint

```Text bash
PUT https://marketplace.walmartapis.com/v3/inventory
```

## Sample request

This sample request updates the inventory for one SKU. The JSON payload includes the SKU, the quantity (with unit and amount), and the inventory available date. If no ship node is specified, the update applies to the default node.

```curl
curl -X PUT "https://marketplace.walmartapis.com/v3/inventory" \
     -H "Authorization: Basic <Base64EncodedConsumerKey:ConsumerSecret>" \
     -H "WM_SVC.NAME: Walmart Marketplace" \
     -H "WM_QOS.CORRELATION_ID: 1234567890" \
     -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     -d '{
           "sku": "SKU_0001",
           "quantity": {
             "unit": "EACH",
             "amount": 10
           },
           "inventoryAvailableDate": "YYYY-MM-DD"
         }'
```
```python
import requests

url = "https://marketplace.walmartapis.com/v3/inventory"

payload = {
    "sku": "SKU_0001",         # Replace with your actual SKU
    "quantity": {
        "unit": "EACH",
        "amount": 10                 # Replace with your desired quantity
    },
    "inventoryAvailableDate": "YYYY-MM-DD"  # Replace with your date in YYYY-MM-DD format
}

headers = {
    "Authorization": "Basic <Base64EncodedConsumerKey:ConsumerSecret>",
    "WM_SVC.NAME": "Walmart Marketplace",
    "WM_QOS.CORRELATION_ID": "1234567890",
    "Accept": "application/json",
    "Content-Type": "application/json"
}

response = requests.put(url, headers=headers, json=payload)
print("Status code:", response.status_code)
print("Response JSON:", response.json())
```

### Modify your code

1. Replace `SKU_0001` with your actual SKU.
2. Update `amount` with your desired inventory level.
3. Replace `YYYY-MM-DD` with your chosen date.
4. Insert your actual Base64-encoded credentials in the Authorization header.
5. Use your own unique `WM_QOS.CORRELATION_ID` if needed.

## Sample response

```json
{
  "sku": "SKU_0001",
  "quantity": {
    "unit": "EACH",
    "amount": 10
  },
  "inventoryAvailableDate": "YYYY-MM-DD"
}
```

## Result

If successful, the API returns `HTTP status: 200 OK` with a JSON response confirming the SKU update, including the updated quantity and inventory available date.