Inventory Management
walmart · Commerce
Maintaining up-to-date inventory for your items on Walmart.com ensures a great experience for your customers and greater sales opportunities for you.
Authentication
Sample Requests
This API will retrieve the inventory count for all of a seller's items across all ship nodes by item to ship node mapping. Inventory can be zero or non-zero. Please note that NextCursor value changes and it needs to be passed on from the previous call to next call.
Hover any highlighted part to learn what it does
| WM_SVC.NAME | example |
| WM_SEC.ACCESS_TOKEN | example |
| WM_QOS.CORRELATION_ID | example |
curl -X GET "https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventories?limit=10&nextCursor=example" \ -H "WM_SVC.NAME: example" \ -H "WM_SEC.ACCESS_TOKEN: example" \ -H "WM_QOS.CORRELATION_ID: example"
import requests
params = {
"limit": "10",
"nextCursor": "example"
}
headers = {
"WM_SVC.NAME": "example",
"WM_SEC.ACCESS_TOKEN": "example",
"WM_QOS.CORRELATION_ID": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventories",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventories');
url.searchParams.set('limit', '10');
url.searchParams.set('nextCursor', 'example');
const response = await fetch(url, {
headers: {
'WM_SVC.NAME': 'example',
'WM_SEC.ACCESS_TOKEN': 'example',
'WM_QOS.CORRELATION_ID': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventories")
q := baseURL.Query()
q.Set("limit", "10")
q.Set("nextCursor", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("WM_SVC.NAME", "example")
req.Header.Set("WM_SEC.ACCESS_TOKEN", "example")
req.Header.Set("WM_QOS.CORRELATION_ID", "example")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventories")
uri.query = URI.encode_www_form({
"limit" => "10",
"nextCursor" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["WM_SVC.NAME"] = "example"
req["WM_SEC.ACCESS_TOKEN"] = "example"
req["WM_QOS.CORRELATION_ID"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventories?" . http_build_query([
"limit" => "10",
"nextCursor" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"WM_SVC.NAME: example",
"WM_SEC.ACCESS_TOKEN: example",
"WM_QOS.CORRELATION_ID: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));You can use this API to get the inventory for a given item.
Hover any highlighted part to learn what it does
| WM_SVC.NAME | example |
| WM_SEC.ACCESS_TOKEN | example |
| WM_QOS.CORRELATION_ID | example |
curl -X GET "https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventory?sku=example&shipNode=example" \ -H "WM_SVC.NAME: example" \ -H "WM_SEC.ACCESS_TOKEN: example" \ -H "WM_QOS.CORRELATION_ID: example"
import requests
params = {
"sku": "example",
"shipNode": "example"
}
headers = {
"WM_SVC.NAME": "example",
"WM_SEC.ACCESS_TOKEN": "example",
"WM_QOS.CORRELATION_ID": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventory",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventory');
url.searchParams.set('sku', 'example');
url.searchParams.set('shipNode', 'example');
const response = await fetch(url, {
headers: {
'WM_SVC.NAME': 'example',
'WM_SEC.ACCESS_TOKEN': 'example',
'WM_QOS.CORRELATION_ID': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventory")
q := baseURL.Query()
q.Set("sku", "example")
q.Set("shipNode", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("WM_SVC.NAME", "example")
req.Header.Set("WM_SEC.ACCESS_TOKEN", "example")
req.Header.Set("WM_QOS.CORRELATION_ID", "example")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventory")
uri.query = URI.encode_www_form({
"sku" => "example",
"shipNode" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["WM_SVC.NAME"] = "example"
req["WM_SEC.ACCESS_TOKEN"] = "example"
req["WM_QOS.CORRELATION_ID"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/inventory?" . http_build_query([
"sku" => "example",
"shipNode" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"WM_SVC.NAME: example",
"WM_SEC.ACCESS_TOKEN: example",
"WM_QOS.CORRELATION_ID: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));You can use this API to get the current Available to Sell inventory quantities for all WFS items in your catalog. You can also query specific SKUs or filter to only items updated after a specific date in order to reduce the response size.
Hover any highlighted part to learn what it does
| WM_SVC.NAME | example |
| WM_SEC.ACCESS_TOKEN | example |
| WM_QOS.CORRELATION_ID | example |
curl -X GET "https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/fulfillment/inventory?sku=example&limit=10&offset=0&toModifiedDate=example&fromModifiedDate=example" \ -H "WM_SVC.NAME: example" \ -H "WM_SEC.ACCESS_TOKEN: example" \ -H "WM_QOS.CORRELATION_ID: example"
import requests
params = {
"sku": "example",
"limit": "10",
"offset": "0",
"toModifiedDate": "example",
"fromModifiedDate": "example"
}
headers = {
"WM_SVC.NAME": "example",
"WM_SEC.ACCESS_TOKEN": "example",
"WM_QOS.CORRELATION_ID": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/fulfillment/inventory",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/fulfillment/inventory');
url.searchParams.set('sku', 'example');
url.searchParams.set('limit', '10');
url.searchParams.set('offset', '0');
url.searchParams.set('toModifiedDate', 'example');
url.searchParams.set('fromModifiedDate', 'example');
const response = await fetch(url, {
headers: {
'WM_SVC.NAME': 'example',
'WM_SEC.ACCESS_TOKEN': 'example',
'WM_QOS.CORRELATION_ID': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/fulfillment/inventory")
q := baseURL.Query()
q.Set("sku", "example")
q.Set("limit", "10")
q.Set("offset", "0")
q.Set("toModifiedDate", "example")
q.Set("fromModifiedDate", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("WM_SVC.NAME", "example")
req.Header.Set("WM_SEC.ACCESS_TOKEN", "example")
req.Header.Set("WM_QOS.CORRELATION_ID", "example")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/fulfillment/inventory")
uri.query = URI.encode_www_form({
"sku" => "example",
"limit" => "10",
"offset" => "0",
"toModifiedDate" => "example",
"fromModifiedDate" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["WM_SVC.NAME"] = "example"
req["WM_SEC.ACCESS_TOKEN"] = "example"
req["WM_QOS.CORRELATION_ID"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/walmart.com/inventory/1.0.0/v3/fulfillment/inventory?" . http_build_query([
"sku" => "example",
"limit" => "10",
"offset" => "0",
"toModifiedDate" => "example",
"fromModifiedDate" => "example"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"WM_SVC.NAME: example",
"WM_SEC.ACCESS_TOKEN: example",
"WM_QOS.CORRELATION_ID: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Inventory Management?
Inventory Management is a Commerce API. Developers commonly use commerce APIs for:
- syncing product catalogues and inventory levels
- building price comparison and deal-finder tools
- processing orders and tracking shipments
- managing customer wishlists and reviews
- automating abandoned-cart and promotional emails
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Inventory Management is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide