Omnichannel Dynamic Bundle Action Request
Here's an example of an Engine API request for an Omnichannel Dynamic Bundles action.
{
"channel": "a-927c8120/p/example.com",
"events": [
{
"eventType": "monetate:decision:DecisionRequest",
"requestId": "sample-unique-request-id-ABC-123",
"includeReporting": true
},
{
"eventType": "monetate:context:ProductDetailView",
"products": [
{
"productId": "context-item-id"
}
]
}
]
}The response to this request appears much like the following example.
{
"meta": {
"code": 200,
"monetateId": "5.1982474515.1616616018101"
},
"data": {
"responses": [
{
"requestId": "sample-unique-request-id-ABC-123",
"actions": [
{
"actionType": "monetate:action:OmnichannelRecommendation",
"actionId": 4185123,
"items": [
"productId": "pid1",
"productId": "pid2",
"productId": "pid3",
"productId": "pid4"
],
"actionEvents": [
"op_click",
"op_impression"
],
"component": "Foo"
},
]
}
]
}
}