v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Post Revoke Earned Cart Promotion

This API is used to revoke an already earned cart promotion

post/api_gateway/v1/promotions/revokeEarn

Request body

RAW_BODYstring
customerIdstring

The customerId for which the earn should be revokes

Response

200

Example response

{
  "data": {
    "message": "string"
  },
  "errors": [
    {
      "message": "string",
      "promotionId": "string",
      "earnIds": [
        "string"
      ]
    }
  ]
}