/
POST Promotions Update Status
We’re excited to announce that the latest information is now available on our new site, the Ginesys One Wiki!. Visit the site for up-to-date resources and insights. We look forward to continuing to support you there!
We’re excited to announce that the latest information is now available on our new site, the Ginesys One Wiki!. Visit the site for up-to-date resources and insights. We look forward to continuing to support you there!
POST Promotions Update Status
With this API the user can create a promotion in Browntape.
End Point
https://app.browntape.com/0.1/promotions/update_status.json
Parameters to be passed
?username=XXXXXXXXXX
&auth_string=YYYYYYYYY
Post Parameters
{
data: {
"ids": [
1,
(BROWNTAPEPromotionID)2,
3
],
status: 'processing', // Valid status are 'upcoming', 'processing', 'ongoing', 'ready to participate', 'participated', 'cancelled', 'expired', 'error'
}
}
Response
Error
{
"status_code": 500,
"status": "failure",
"message": "No entities were not found in the database. Please fix this and retry.",
"data": [
"No entities were not found in the database. Please fix this and retry."
]
}
Success
{
"status_code": 200,
"status": "success",
"message": "Successfully updated promotions.",
"data": []
}
Related content
POST Promotions Create
POST Promotions Create
More like this
GET Promotions Fetch
GET Promotions Fetch
More like this
POST Claims Update Status
POST Claims Update Status
More like this
GET Promotion Fetch Entities
GET Promotion Fetch Entities
More like this
POST Promotions Delete
POST Promotions Delete
More like this
POST Save Order Item Attempts
POST Save Order Item Attempts
More like this