Events: Overview
Each event available for a supplier to subscribe to will have a different event trigger. Triggers are the actions made by a Walmart customer, Walmart associate, Walmart system, or supplier that caused the event to occur.
Since each event is unique, each event will have a different notification payload. However, there will be a common event skeleton structure that will be consistent across each event sent through Walmart.
Standard Event Structure
The standard event structure can be divided between the source and payload.
- Source: Specifies the consistent metadata sent for each event, regardless of the type. This guide does not define the source for each event.
- Payload: Specifies the unique event notification payload.
An example of the standard event structure is as follows:
{ "source": { "eventType": "REPORT_STATUS", "eventTime": "2023-07-03T14:12:42.913Z", "eventId": "03d34580-61d4-11ea-9e23-cd38810ff7cd" }, "payload": { This will be unique by each ‘eventType’; read below for more details }
}
Updated 4 months ago