Validate Discount Code

View as Markdown

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form.
codestringRequired

Required: Discount code to validate - max 100 chars - “SUMMER10”

quantitystringRequired

Optional: Quantity for min quantity check - numeric, min 0

customer_idstringRequired

Optional: Customer ID for usage checks - integer

purchase_amountstringRequired

Optional: Purchase amount for min threshold - numeric, min 0

pricebook_item_idstringRequired

Optional: PriceBook item for scope check - integer

Response

Successful response