Cancel Cart Evaluation

Consider a scenario where a particular promotion is applied in a cart but the transaction has not been processed yet. Such a state is called a locked state or pending cart state. This state prevents this promotion from being applied to any other cart. To proceed ahead, the current cart has to be released or canceled. This API can thus be used to cancel any pending carts.

Prerequisites

  • Authentication - Basic or OAuth authentication
  • Access group resource - Write access to customer group resource
  • customerId and evaluationId

API Endpoint Example

https://{{eu}}/api_gateway/v1/promotions/customer/{customerId}/evaluations/{evaluationId}/cancel

Path Parameter

Parameter (Parameters marked as * are required)Data TypeDescription
customerId*LongUnique Identifier of the customer issuing Cart Promotion
evaluationId*StringUnique identifier that is generated when a cart evaluation is performed.
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!