Monetate Engine API
Decision
Request Decisions
POST
Path Parameters
retailerShortname
*
Body Parameters
body
*
Example
{
"deviceId": "device id",
"monetateId": "monetate id",
"preview": "preview token",
"customerId": "customer id",
"events": [
{
"eventType": "Event"
}
]
}
Description
The request containing the events requiring decisioning.
deviceId
customerId
events
*
monetateId
preview
channel
sdkVersion
Responses
200
The request was succesful and the payload will include valid Actions.
Example
{
"meta": {
"code": 200,
"errors": [],
"warnings": [],
"monetateId": "monetate id"
},
"data": {
"responses": [
{
"requestId": "12345",
"actions": [
{
"actionType": "Action"
}
]
}
]
}
}
Description
The request was succesful and the payload will include valid Actions.
data
*
meta
400
Invalid request.
The request was either malformated (did not follow this specification) or the data sent was invalid.
Example
{
"meta": {
"code": 200,
"errors": [],
"warnings": [],
"monetateId": "monetate id"
},
"data": {
"responses": [
{
"requestId": "12345",
"actions": [
{
"actionType": "Action"
}
]
}
]
}
}
Description
Invalid request.
The request was either malformated (did not follow this specification) or the data sent was invalid.
data
*
meta