/
GET Promotion Fetch Entities
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!
GET Promotion Fetch Entities
By this Api the user can fetch entities of promotion from browntape.
End Point
https://app.browntape.com/0.1/promotions/view_entities.json
Parameters to be passed
?username=XXXXXXXXXX
&auth_string=YYYYYYYYY
&promotion_id=63 // BROWNTAPE Promotion ID
&entity_status=all // Marketplace status of entities 0-failed 1-passed all-all ''-marketplace call not made
Response
{
"status_code": 200,
"status": "success",
"message": "Successfully fetched promotion entities.",
"data": [
{
"id": "821",
"status": "1" //"1-success, 2-failed, null-marketplace call not made",
"Sku": {
"id": "564",
"custom_code": "S1-Red-S"
}
},
{
"id": "822",
"status": "1",
"Sku": {
"id": "584",
"custom_code": "S1-Bt-blue-S"
}
},
{
"id": "823",
"status": "0",
"Sku": {
"id": "668",
"custom_code": "S2-Teal-XS"
}
}
]
}