Offer unpublished event
When your offer transitions from PUBLISHED to UNPUBLISHED, Walmart sends an event notification to your configured destination URL. Use this event to update your systems when an offer becomes unavailable for sale.
Event metadata
- Event type: OFFER_UNPUBLISHED
- Resource name: ITEM
- Event version: V1
When the event occurs, Walmart posts a JSON payload to your destination URL with the fields below.
Response parameters
| Name | Description | Type |
|---|---|---|
| source | Metadata about the event | Object |
| eventType | Event for which the notification is received | String |
| eventTime | Timestamp of when the event occurred | String |
| eventId | Unique identifier for the event | String |
| payload | Event-specific details | Object |
| partnerId | Seller’s partner ID | String |
| sku | Stock Keeping Unit - Unique identifier which identifies the item | String |
| publishStatus | Status of the item in the submission process | String |
| lifecycleStatus | Status of the item in the overall lifecycle | String |
| statusChangeReasons | Reasons the offer was unpublished. If multiple reasons apply, all are included as key–value pairs. | Map<String,String> |
| itemId | A unique identifier for the item. Received only if statusChangeReasons = REASONABLE_PRICE_NOT_SATISFIED | String |
| itemName | Name of the item. Received only if statusChangeReasons = REASONABLE_PRICE_NOT_SATISFIED | String |
| category | Category of the item. Received only if statusChangeReasons = REASONABLE_PRICE_NOT_SATISFIED | String |
| totalNumberOfOffers | Number of offers for the item from all sellers. Received only if statusChangeReasons = REASONABLE_PRICE_NOT_SATISFIED | Integer |
| sellerOfferPrice | Seller’s offer price on the item. Received only if statusChangeReasons = REASONABLE_PRICE_NOT_SATISFIED | Double |
| sellerShippingPrice | Seller’s shipping price on the item. Received only if statusChangeReasons = REASONABLE_PRICE_NOT_SATISFIED | Double |
| referencePrice | Reference price used to unpublish the offer. Received only if statusChangeReasons = REASONABLE_PRICE_NOT_SATISFIED | Double |
| referencePriceURL | URL that documents the reference price. Received only if statusChangeReasons = REASONABLE_PRICE_NOT_SATISFIED | String |
| referencePriceType | Source/type of the reference price. Received only if statusChangeReasons = REASONABLE_PRICE_NOT_SATISFIED | String |
Sample payload 1: Offer unpublished
{ "source": { "eventType": "OFFER_UNPUBLISHED", "eventTime": "2019-02-21T01:01:08.000Z", "eventId": "03d34580-61d4-11ea-9e23-cd38810ff7cd" }, "payload": { "partnerId": "12300014482", "sku": "83852627", "publishStatus": "UNPUBLISHED", "lifecycleStatus": "ACTIVE", "statusChangeReasons": { "SHIPPING_INFO_MISSING": "No shipping information was set up." } }
}
Sample payload 2: offer unpublished
{ "source": { "eventType": "OFFER_UNPUBLISHED", "eventTime": "2019-02-21T01:01:08.000Z", "eventId": "03d34580-61d4-11ea-9e23-cd38810ff7cd" }, "payload": { "partnerId": "12300014482", "sku": "9458276", "publishStatus": "UNPUBLISHED", "lifecycleStatus": "ACTIVE", "statusChangeReasons": { "REASONABLE_PRICE_NOT_SATISFIED": "Reasonable price requirements are not met" }, "itemId": "21125774", "itemName": "Pantene Pro-V Daily Moisture Renewal Shampoo, 12.6 fl oz", "category": "HAIR CARE", "totalNumberOfOffers": 28, "sellerOfferPrice": 11.72, "sellerShippingPrice": 0, "referencePrice": 9.47 }
}
Sample payload 3: Offer unpublished
{ "source": { "eventType": "OFFER_UNPUBLISHED", "eventTime": "2019-02-21T01:01:08.000Z", "eventId": "03d34580-61d4-11ea-9e23-cd38810ff7cd" }, "payload": { "partnerId": "12300014482", "sku": "83852627", "publishStatus": "UNPUBLISHED", "lifecycleStatus": "ACTIVE", "statusChangeReasons": { "REASONABLE_PRICE_NOT_SATISFIED": "Reasonable price requirements are not met" }, "itemId": "771087594", "itemName": "OVE Decors Lynton 36 in. Fruit Single Sink Bathroom Vanity with Tiger Granite Top", "category": "BATH AND LAUNDRY", "totalNumberOfOffers": 7, "sellerOfferPrice": 1049.95, "sellerShippingPrice": 0, "referencePrice": 680.59, "referencePriceURL": "https://www.amazon.com/dp/B07NPLPTYH?psc=1", "referencePriceType": "Amazon" }
}
Updated 1 day ago
