The Dynamic Offer Decision Engine can be tested via this endpoint to calculate a decision output response based on the criteria of the provided validation ID. Validation criteria is configured on the Zephr Console and determines the version of the dynamic offer being used.
OK
Bad Request
Not Found
{- "products": [
- {
- "id": "string",
- "label": "string",
- "description": "string",
- "features": [
- {
- "id": "string",
- "label": "string",
- "description": "string",
- "type": "string"
}
], - "sharingLimit": 0,
- "metadata": {
- "order": 0,
- "recommended": true
}, - "paymentPlans": [
- {
- "planId": "string",
- "planData": { },
- "charges": [
- {
- "chargeId": "string",
- "prices": [
- { }
], - "chargeDefinitionData": { },
- "chargeData": { },
- "discounts": [
- null
]
}
]
}
], - "attributes": { }
}
], - "tagline": "string",
- "custom": { },
- "outcomes": [
- {
- "ruleId": "string",
- "outcomeId": "string"
}
], - "errors": [
- {
- "property": "string",
- "error": "string"
}
]
}