---
updatedAt: 2026-08-03T18:20:57.000Z
---

# Get 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>

# 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"
    },
    {
      "url": "https://sandbox.walmartapis.com",
      "description": "Sandbox URL"
    }
  ],
  "security": [
    {
      "basicScheme": []
    }
  ],
  "paths": {
    "/v3/inventory": {
      "get": {
        "tags": [
          "Inventory"
        ],
        "summary": "Get 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": "getInventory",
        "parameters": [
          {
            "name": "sku",
            "in": "query",
            "description": "An arbitrary alphanumeric unique ID, specified by the seller, which identifies each item. Special characters in the sku needing encoding are: ':', '/', '?', '#', '[', ']', '@', '!', '$', '&', ''', '(', ')', '*', '+', ',', ';', '=', ‘ ’, '{', '}' as well as '%' itself if it's a part of sku. Make sure to encode space with %20. Other characters don't need to be encoded.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "WM_MARKET",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "cl"
              ]
            }
          },
          {
            "in": "header",
            "name": "WM_SEC.ACCESS_TOKEN",
            "description": "The access token retrieved in the Token API call",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "eyJraWQiOiIzZjVhYTFmNS1hYWE5LTQzM....."
          },
          {
            "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": false,
            "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"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Operation",
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "quantity",
                    "sku"
                  ],
                  "type": "object",
                  "properties": {
                    "sku": {
                      "type": "string",
                      "description": "An arbitrary alphanumeric unique ID, specified by the seller, which identifies 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"
                    }
                  }
                },
                "example": {
                  "sku": "sku-e2e-0723x",
                  "quantity": {
                    "unit": "EACH",
                    "amount": 8596
                  }
                }
              }
            }
          },
          "404": {
            "description": "Unsuccessful Operation",
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "status",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "timestamp": {
                      "type": "string",
                      "description": "Response timestamp"
                    },
                    "status": {
                      "type": "integer",
                      "description": "Status code"
                    },
                    "error": {
                      "type": "string",
                      "description": "Error code description"
                    },
                    "message": {
                      "type": "string",
                      "description": "Description of failure"
                    },
                    "path": {
                      "type": "string",
                      "description": "Uri path"
                    }
                  }
                },
                "example": {
                  "timestamp": "2025-01-16T12:00:47.982+00:00",
                  "status": 404,
                  "error": "Not Found",
                  "message": "No Item Found.",
                  "path": "/v3/inventory"
                }
              }
            }
          },
          "406": {
            "description": "Unsuccessful Operation",
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "status",
                    "message"
                  ],
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "integer",
                      "description": "Status code"
                    },
                    "message": {
                      "type": "string",
                      "description": "Description of failure"
                    },
                    "error": {
                      "type": "string",
                      "description": "Error code description"
                    }
                  }
                },
                "example": {
                  "timestamp": "2024-02-14T15:31:51.226+00:00",
                  "status": 406,
                  "error": "Not Acceptable",
                  "message": "ItemAlias not found",
                  "path": "/v3/inventory"
                }
              }
            }
          }
        }
      }
    }
  }
}
```