Available Repeat Rule
Use this api to get available Repeat Type
Flow: Get last timeline then calculate available Repeat Type
URL : /internals/promotions/repeat/{id}/available_repeat_type
Method : GET
Params : None
Success Response
Code : 200 OK
Content example
{
"success": true,
"data": [
{
"type": "daily",
"available": false
},
{
"type": "weekly",
"available": true
},
{
"type": "monthly",
"available": true
},
{
"type": "yearly",
"available": true
}
],
"error": [],
"errorCode": null
}