---
updatedAt: 2026-08-03T18:09:18.000Z
---

# Update inventory

<div class="amber-callout" aria-label="Migration notice"><p><strong>Migrate to Global APIs:</strong> New sellers and approved Solution Providers should use Global APIs. Existing users must migrate to avoid disruption and access new capabilities coming to your market. Explore <a href ="https://developer.walmart.com/global-marketplace/docs/global-marketplace-apis" style="text-decoration: underline !important; font-weight: 700;">Global Marketplace migration resources</a>.</p></div><br>

[block:html]
{
  "html": "<a\n  href=\"https://god.gw.postman.com/run-collection/34477757-08adb58e-00f8-4c04-a48f-7353a7fc00bc?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D34477757-08adb58e-00f8-4c04-a48f-7353a7fc00bc%26entityType%3Dcollection%26workspaceId%3Da421c203-4534-46c7-ac4a-8ac70723c2fc\"\n  target=\"_blank\"\n  style=\"text-decoration: none\"\n>\n  <button>\n    <img\n      src=\"https://run.pstmn.io/button.svg\"\n      alt=\"Run In Postman\"\n      style=\"width: 128px; height: 32px\"\n    />\n  </button>\n</a>"
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "version": "1.0",
    "title": "Inventory Management",
    "description": "Maintaining up-to-date inventory for your items on Walmart.com ensures a great experience for your customers and greater sales opportunities for you."
  },
  "x-readme": {
    "samples-languages": [
      "shell"
    ],
    "proxy-enabled": false,
    "explorer-enabled": true
  },
  "servers": [
    {
      "url": "https://marketplace.walmartapis.com",
      "description": "Production URL"
    }
  ],
  "paths": {
    "/v3/ca/inventory": {
      "put": {
        "tags": [
          "Inventory"
        ],
        "summary": "Update inventory",
        "description": "<div class=\"amber-callout\" aria-label=\"Migration notice\"><p><strong>Migrate to Global APIs:</strong> New sellers and approved Solution Providers should use Global APIs. Existing users must migrate to avoid disruption and access new capabilities coming to your market. Explore <a href =\"https://developer.walmart.com/global-marketplace/docs/global-marketplace-apis\" style=\"text-decoration: underline !important; font-weight: 700;\">Global Marketplace migration resources</a>.</p></div><br>",
        "operationId": "updateInventoryForAnItemCA",
        "parameters": [
          {
            "name": "sku",
            "in": "query",
            "description": "An arbitrary alphanumeric unique ID, specified by the seller, identifying each item.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "WM_CONSUMER.CHANNEL.TYPE",
            "description": "A unique ID to track the consumer request by channel. Use the Consumer Channel Type received during onboarding",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "WM_QOS.CORRELATION_ID",
            "description": "A unique ID which identifies each API call and used to track and debug issues; use a random generated GUID for this ID",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b3261d2d-028a-4ef7-8602-633c23200af6"
          },
          {
            "in": "header",
            "name": "WM_SVC.NAME",
            "description": "Walmart Service Name",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Walmart Service Name"
          },
          {
            "name": "WM_SEC.TIMESTAMP",
            "in": "header",
            "description": "The Epoch timestamp",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "1443748249449"
          },
          {
            "name": "WM_SEC.AUTH_SIGNATURE",
            "in": "header",
            "description": "The vendor's digital signature, generated by running the JAR file or custom generation code",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "9fg3TPeRt0WSGbXNGGj4kSQ9L6PMBX.....9Zj5aDyg="
          },
          {
            "name": "WM_CONSUMER.ID",
            "in": "header",
            "description": "A unique ID required to access the API",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Get the Consumer ID from Developer Center after logging in"
          }
        ],
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X 'PUT'\n'https://marketplace.walmartapis.com/v3/ca/inventory?sku=32d3d'\n -H 'accept: application/xml' \n  -H 'WM_CONSUMER.CHANNEL.TYPE: test' \n  -H 'WM_QOS.CORRELATION_ID: b3261d2d-028a-4ef7-8602-633c23200af6' \n  -H 'WM_SVC.NAME: Walmart Service Name' \n  -H 'WM_SEC.TIMESTAMP: 1443748249449' \n  -H 'WM_SEC.AUTH_SIGNATURE: 9fg3TPeRt0WSGbXNGGj4kSQ9L6PMBX.....9Zj5aDyg=' \n  -H 'WM_CONSUMER.ID: Get the Consumer ID from Developer Center after logging in' \n  -H 'Content-Type: application/xml' \n'<?xml version=\"1.0\" encoding=\"UTF-8\"?><inventory><sku>string</sku><quantity><unit>EACH</unit><amount>0</amount></quantity><fulfillmentLagTime>0</fulfillmentLagTime><partnerId>string</partnerId><offerId>string</offerId></inventory>'",
              "name": "xml payload for example 1"
            }
          ]
        },
        "requestBody": {
          "description": "File fields",
          "content": {
            "application/xml": {
              "schema": {
                "required": [
                  "fulfillmentLagTime",
                  "quantity",
                  "sku"
                ],
                "type": "object",
                "properties": {
                  "sku": {
                    "type": "string",
                    "description": "An arbitrary alphanumeric unique ID, seller-specified, identifying each item."
                  },
                  "quantity": {
                    "required": [
                      "amount",
                      "unit"
                    ],
                    "type": "object",
                    "properties": {
                      "unit": {
                        "type": "string",
                        "description": "The unit of measurement. Example: 'EACH'",
                        "enum": [
                          "EACH"
                        ]
                      },
                      "amount": {
                        "type": "number",
                        "description": "The number available in the inventory"
                      }
                    },
                    "description": "Information about the quantity in inventory"
                  },
                  "fulfillmentLagTime": {
                    "type": "integer",
                    "description": "The number of days between when the item is ordered and when it is shipped",
                    "format": "int32"
                  },
                  "partnerId": {
                    "type": "string"
                  },
                  "offerId": {
                    "type": "string"
                  }
                },
                "xml": {
                  "name": "inventory"
                }
              },
              "example": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<inventory xmlns=\"http://walmart.com/\">\n    <sku>1068155</sku>\n    <quantity>\n        <unit>EACH</unit>\n        <amount>3</amount>\n    </quantity>\n    <fulfillmentLagTime>1</fulfillmentLagTime>\n</inventory>"
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Operation",
            "content": {
              "application/xml": {
                "schema": {
                  "required": [
                    "fulfillmentLagTime",
                    "quantity",
                    "sku"
                  ],
                  "type": "object",
                  "properties": {
                    "sku": {
                      "type": "string",
                      "description": "An arbitrary alphanumeric unique ID, seller-specified, identifying each item."
                    },
                    "quantity": {
                      "required": [
                        "amount",
                        "unit"
                      ],
                      "type": "object",
                      "properties": {
                        "unit": {
                          "type": "string",
                          "description": "The unit of measurement. Example: 'EACH'",
                          "enum": [
                            "EACH"
                          ]
                        },
                        "amount": {
                          "type": "number",
                          "description": "The number available in the inventory"
                        }
                      },
                      "description": "Information about the quantity in inventory"
                    },
                    "fulfillmentLagTime": {
                      "type": "integer",
                      "description": "The number of days between when the item is ordered and when it is shipped",
                      "format": "int32"
                    },
                    "partnerId": {
                      "type": "string"
                    },
                    "offerId": {
                      "type": "string"
                    }
                  },
                  "xml": {
                    "name": "inventory"
                  }
                },
                "example": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<inventory xmlns:ns2=\"http://walmart.com/\">\n    <sku>1068155</sku>\n    <quantity>\n        <unit>EACH</unit>\n        <amount>23</amount>\n    </quantity>\n    <fulfillmentLagTime>1</fulfillmentLagTime>\n</inventory>"
              }
            }
          }
        }
      }
    }
  }
}
```