Validate

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Validates a coupon for redemption within a merchant's loyalty program. It requires parameters including a tracking ID, coupon code, and details of the cart. The function proceeds to build and update the redemption cart based on the provided cart items and total amount. Subsequently, it attempts to validate the coupon redemption, checking if the coupon is valid for redemption with the provided details. If successful, it returns information about the redeemed item, including its title, description, and external reference ID. If an error occurs during the redemption validation process, it catches and handles the exception, returning an error message with details of the exception.

Body Params
string
required

Phone Number

string

Store Code

string

Enter Coupon To be Reedemed

int32

Tracking Id

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json