v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Get Lock unlock -Pending carts (Cart Promotion)

This API evaluates and returns the details of the carts which are pending for a particular customer(cart promotions have been applied but transaction not completed yet)

get/v1/promotions/customer/{customerId}/evaluations/pending_carts

Query parameters

customeridstring

Response

200

Example response

{
  "data": {
    "tempRedemptionDetails": [
      {
        "cartEvaluationId": "string",
        "appliedPromotions": [
          {
            "promotionId": "string",
            "earnedPromotionId": "string",
            "promoCode": "string",
            "promotionName": "string",
            "discount": "string"
          }
        ]
      }
    ]
  },
  "errors": [
    {
      "message": "string"
    }
  ]
}