Update promotional pricing for a single item
Market availability: CA | CL | MX
Call this API to create, update, or delete promotional pricing for a single item.
- To add a new promotion, set the
promotionSettingActionattribute toCreate. - To update an existing promotion, set the
promotionSettingActionattribute toCreatewithpromoId. - To delete a promotional price, set the
promotionSettingActionattribute toDelete. - To delete all promotions for a SKU, set the
promotionSettingActionattribute toreplaceAll.
Note: This page describes an example using only the required parameters and inputs to update the promotional pricing of a single item. For a full list of customization options and additional capabilities, refer to the Marketplace Promotions API Reference.
Endpoint
POST https://marketplace.walmartapis.com/v3/priceSample request
This sample request demonstrates how to update the promotional price for a single item.
curl --request POST \ --url 'https://marketplace.walmartapis.com/v3/price' \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --header 'WM_SEC.ACCESS_TOKEN: <access_token>' \ --header 'WM_QOS.CORRELATION_ID: <uuid>' \ --header 'WM_SVC.NAME: Walmart Marketplace' \ --data '
{ "MPItemFeedHeader": { "mart": "WALMART_CA", "locale": "en", "version": "5.0.20250801-18_47_55-api", "businessUnit": "WALMART_CA", "tenant": "WALMART_CA" }, "MPItem": [ { "Promo&Discount": { "sku": "SKU00638931255307", "price": 11, "msrp": 15, "promoid": "28cc0144-5d70-4acb-b366-98a07c3ac671", "promotionInformation": { "promotionSettingAction": "Create", "promotionPlacement": "MAP Cart", "promotionType": "Clearance", "promotionPrice": 8.5, "promotionPriceStartDateTime": "2024-10-01T20:52:46Z", "promotionPriceEndDateTime": "2024-10-22T20:52:46Z" } } } ]
}
'import requests url = "https://marketplace.walmartapis.com/v3/price"
params = {"feedType": "PRICE_AND_PROMOTION"}
headers = { "WM_SEC.ACCESS_TOKEN": "<access_token>", "WM_QOS.CORRELATION_ID": "<uuid>", "WM_SVC.NAME": "Walmart Marketplace", "Content-Type": "application/json", "Accept": "application/json",
} body = { "MPItemFeedHeader": { "mart": "WALMART_CA", "locale": "en", "version": "5.0.20250801-18_47_55-api", "businessUnit": "WALMART_CA", "tenant": "WALMART_CA" }, "MPItem": [ { "Promo&Discount": { "sku": "SKU00638931255307", "price": 11, "msrp": 15, "promoid": "28cc0144-5d70-4acb-b366-98a07c3ac671", "promotionInformation": { "promotionSettingAction": "Create", "promotionPlacement": "MAP Cart", "promotionType": "Clearance", "promotionPrice": 8.5, "promotionPriceStartDateTime": "2024-10-01T20:52:46Z", "promotionPriceEndDateTime": "2024-10-22T20:52:46Z" } } } ]
} response = requests.post(url, headers=headers, params=params, json=body, timeout=30)
response.raise_for_status()
print(response.json())Modify your code
- Use a unique
WM_QOS.CORRELATION_IDfor each request. - Replace
WM_SEC.ACCESS_TOKENwith your valid access token obtained through authentication.
Sample response
The sample response shows the unique ID for the feed submission; using which you check the status of promotions.
{ "feedId": "609B1E4C0B3E48989690263DEAC85C63@AVUBAQA"
}Result
If successful, the API response returns a feedID indicating that the promotions will be applied.
You can use this feed ID with the Feed Status API or All Feed Statuses API to monitor the progress of your submission and display the line-item status.
Updated 7 months ago

