v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Issue Cart Promotion

Issue Cart Promotion for the customer.

post/api_gateway/v1/promotions/{promotionId}/issueBulk

Path parameters

promotionIdstring required

ID of cart promotion that is generated when creating a cart promotion

Query parameters

contextIdstring

Unique identifier of the entity that issued the promotion. This is also known as tillId.

Response

200

Example response

{
  "data": {
    "564332013": {
      "id": "68230a3af1ebc84977d9ea2c",
      "customerId": 564332013,
      "promotionId": "67f3832ab206f929966adf81",
      "earnedFromId": "2 items in cart",
      "eventTime": 1747126842954,
      "validTill": 1748716199999
    }
  }
}