latestOpenAPI 3.0.32026-08-215925112.0 MB

36be0dca14e7

api
coupons

Get Coupon or Voucher by code

get/api/coupon/{code}/info

Path parameters

codestring required

The code of the coupon/voucher

Query parameters

sellerIdstring required

The ID of the seller

eventIdstring

The ID of the event to check the coupon/voucher against.

Response

OK

message'notYetValid' | 'expired' | 'invalid' | 'valid' | 'unauthenticated' required

The status of the coupon/voucher.

type'voucher' | 'coupon'

The type of resource.