Update pricing for multiple items (bulk)

Call this endpoint to update prices and promotions in bulk for multiple items. You can modify the prices of multiple products in one request. This is useful for implementing pricing strategies across your catalog, such as seasonal discounts, competitive pricing adjustments, or clearance sales.

Note: This page describes examples using only the required parameters and inputs to update pricing for multiple items (bulk). For a full list of customization options and additional capabilities, refer to the Marketplace Pricing API Reference.

The price sequence guarantee is enforced for both synchronous (individual) and asynchronous (bulk or feed) updates. These different methods have different SLAs; there is no guarantee that price updates will be received in any particular order.

The price sequence guarantee ensures that the latest price update, based on its creation timestamp, is the one that changes the price of the item, overwriting the previous version. Price updates received with an earlier timestamp are ignored. As a result, we recommend all feed-based bulk updates base the value of feedDate on UTC.

Endpoint

POST https://marketplace.walmartapis.com/v3/feeds?feedType=PRICE_AND_PROMOTION

Sample request

This sample shows how to update the prices and promotional details for multiple items in a single request. This API endpoint accepts a feed containing the updated price and promotion information for items identified by their SKUs. It includes authentication headers, a correlation ID for tracking, and a JSON payload with item and feed metadata. The request sets the new price to $11 and the MSRP to $15 for the SKU.

curl --request POST \ --url 'https://marketplace.walmartapis.com/v3/feeds?feedType=PRICE_AND_PROMOTION' \ --header 'WM_QOS.CORRELATION_ID: Correlation_ID' \ --header 'WM_SEC.ACCESS_TOKEN: Access_Token' \ --header 'WM_SVC.NAME: Walmart Service Name' \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data '
{ "MPItemFeedHeader": { "businessUnit": "WALMART_US", "version": "2.0.20240126-12_25_52-api", "locale": "en" }, "MPItem": [ { "Promo&Discount": { "sku": "SKU_Item", "price": 11, "msrp": 15 } } ]
}
'
import requests
import json url = "https://marketplace.walmartapis.com/v3/feeds?feedType=PRICE_AND_PROMOTION" payload = json.dumps({ "MPItemFeedHeader": { "businessUnit": "WALMART_US", "version": "2.0.20240126-12_25_52-api", "locale": "en" }, "MPItem": [ { "Promo&Discount": { "sku": "SKU_Item", "price": 11, "msrp": 15 } } ]
})
headers = { 'WM_QOS.CORRELATION_ID': 'Correlation_ID', 'WM_SEC.ACCESS_TOKEN': 'Access_Token', 'WM_SVC.NAME': 'Walmart Service Name', 'accept': 'application/json', 'content-type': 'application/json'
} response = requests.request("POST", url, headers=headers, data=payload) print(response.text)

Modify your code

  1. Replace SKU_Item in the request URL or parameters with the actual SKU of an item.
  2. Replace WM_SEC.ACCESS_TOKEN and WM_QOS.CORRELATION_ID with actual values.
  3. Update price to set a new selling price.
  4. Set the msrp or strikethrough price.
  5. Change the businessUnit if your product is listed in a different region.
  6. Change the version to the feed version as specified by Walmart for a specific item.

Sample response

The sample response shows the unique ID for the feed submission, which you can use later to check the status of the bulk price update progress.

{ "feedId": "14066B6642344B76A8B77AC094F8C63B@AVMBAgA"
}

Result

If successful, the API response returns a feedID.

You can use this feed ID with the Feed Status API or All Feed Statuses API to monitor the progress of your submission and see the line-item status.