v1
latestOpenAPI 3.0.12026-07-24501176.6 MBEarn Cart Promotion
Description :With this API , we can get the details of all the cart promotions earned by a particular customer.
post/api_gateway/v1/promotions/{promotionId}/earn
Path parameters
promotionIdstring required
The Unique promotion id
Request body
Response
200
Example response
{
"data": {
"id": "string",
"promotionId": "string",
"earnedFromId": "string",
"eventDetails": {
"id": "string",
"type": "string"
},
"errorDetails": {
"errorMessages": "string"
}
},
"errors": [
{
"message": "string"
}
]
}