Retrieve inventory log for a WFS item

Call this endpoint to retrieve inventory activity logs for a WFS item stored in Walmart Fulfillment Services (WFS) fulfillment centers.

If startDate is not specified, the response includes inventory activity from the last 90 days. You can retrieve up to 365 days of inventory activity with this API. To retrieve records older than 365 days, use the Create report request API and specify WFS_INVENTORY_LOG as the reportType.

This page describes an example using only the required parameters and inputs to download the inventory log for a WFS item. For a full list of customization options and additional capabilities, refer to the Walmart Marketplace WFS API Reference.

Endpoint

GET https://marketplace.walmartapis.com/v3/fulfillment/inventory-log

Sample request

This sample request retrieves inventory activity for a WFS item identified by its gtin over a specified date range.

curl --request GET \ --url 'https://marketplace.walmartapis.com/v3/fulfillment/inventory-log?gtin=123456789012&startDate=2025-08-01&endDate=2025-09-01&limit=50&offset=0' \ --header 'Authorization: Basic <base64-client-id-client-secret>' \ --header 'WM_QOS.CORRELATION_ID: <uuid>' \ --header 'WM_SVC.NAME: Walmart Service Name' \ --header 'Accept: application/json'
import requests url = "https://marketplace.walmartapis.com/v3/fulfillment/inventory-log" headers = { "Authorization": "Basic <base64-client-id-client-secret>", "WM_QOS.CORRELATION_ID": "<uuid>", "WM_SVC.NAME": "Walmart Service Name", "Accept": "application/json",
} params = { "gtin": "123456789012", "startDate": "2025-08-01", "endDate": "2025-09-01", "limit": "50", "offset": "0",
} response = requests.get(url, headers=headers, params=params)
print(response.status_code)
print(response.text)

Sample response

This sample response returns inventory activity for the requested WFS item.

{ "headers": { "limit": 50, "offset": 0, "totalCount": 1 }, "payload": { "gtin": "123456789012", "vendorSku": "ABC-123", "productName": "Example Product", "inventoryLog": [ { "id": "event-123", "fcName": "Example FC", "changedUnits": 2, "transactionTime": "2025-08-15T20:33:01.390Z", "transactionLocation": "Example Location", "transactionReasonCode": "Example Reason Code", "transactionReasonDesc": "Example Reason Description", "transactionType": "Example Transaction Type", "shipmentId": "shipment-123" } ] }
}

Result

On success, this API returns a 200 OK response with an offset-based, paginated list of inventory activity for the requested item. Each inventory log record includes the changed unit quantity, transaction timestamp, fulfillment center, transaction details, and shipment identifier.


Did this page help you?