This API provides the list of event types and resource names that you can subscribe to. Notifications will be triggered only for the event types that you subscribe to.
Event Types are workflow events that are triggered when status or conditions change. Some examples are an offer moving from published to unpublished status, an order getting auto-canceled by Walmart, a buy box price/winner change, etc.
Resource Names are functional API categories that group similar event types. Resource Names can be Item, Price, Order, Inventory, etc. The permissions to subscribe to an Event Type are defined by Resource Name which is mapped to permissions in Delegated Access.
API Specifications
- API Version: V3
- URL For Production
REST – GET: https://marketplace.walmartapis.com/v3/webhooks/eventTypes
- URL Sample
GET /v3/webhooks/eventTypes HTTP/1.1
Sample Header
<<Authentication Headers>>
Content-Type: application/json
Accept: application/json
Host: marketplace.walmartapis.com
Header parameter Description
For authentication headers, please refer to the Authentication section.
"data": [
{
"Name": "Content-type",
"Description": "The data format in the API payload",
"Required": "No",
"Example": "application/json"
},
{
"Name": "Accept",
"Description": "The returned data format in the response",
"Required": "Yes",
"Example": "application/json"
}
]
Sample Requests
{
"resourceName": "ITEM",
"eventType": "OFFER_PUBLISHED",
"eventVersion": "V1",
"description": "Notification for published offers"
}
Request parameter Description
Sample Response 1
{
"events": [
{
"resourceName": "ITEM",
"eventType": "OFFER_UNPUBLISHED",
"eventVersion": "V1",
"description": "Notification for unpublished offers"
},
{
"resourceName": "PRICE",
"eventType": "BUY_BOX_CHANGED",
"eventVersion": "V1",
"description": "Notification for change in buy box"
},
{
"resourceName": "ORDER",
"eventType": "PO_CREATED",
"eventVersion": "V1",
"description": "Notification for new purchase order created"
},
{
"resourceName": "ORDER",
"eventType": "PO_LINE_AUTOCANCELLED",
"eventVersion": "V1",
"description": "Notification for purchase order line auto-cancelled"
},
{
"resourceName": "REPORTS",
"eventType": "REPORT_STATUS",
"eventVersion": "V1",
"description": "Notification for report status"
},
{
"resourceName": "INVENTORY",
"eventType": "INVENTORY_OOS",
"eventVersion": "V1",
"description": "Notification for inventory out of stock"
},
{
"resourceName": "ITEM",
"eventType": "OFFER_PUBLISHED",
"eventVersion": "V1",
"description": "Notification for published offers"
}
]
}
Sample Response 2
"data": [
{
"Name": "events",
"Description": "List of events",
"Type": "Array"
},
{
"Name": "eventType",
"Description": "Event that you want to subscribe to.",
"Type": "String"
},
{
"Name": "eventVersion",
"Description": "Version of the specific event type",
"Type": "String"
},
{
"Name": "resourceName",
"Description": "Delegated access scope that event type is mapped to.",
"Type": "String"
},
{
"Name": "description",
"Description": "Description of the specific event type",
"Type": "String"
}
]