Coupons

Operations related to retrieving and managing coupons.

Get All Coupons

get

This endpoint retrieves a list of all available coupons associated with the authenticated merchant account.

Authorizations
AuthorizationstringRequired

HTTP Basic Authentication. The username is your Merchant ID and the password is your API Key. The combined string Merchant_Id:Api_Key should be Base64 encoded.

Responses
chevron-right
200

A successful response returns a list of coupon objects.

application/json
get
/coupons

Get Specific Coupon

get

Retrieves the details of a specific coupon by providing its unique ID.

Authorizations
AuthorizationstringRequired

HTTP Basic Authentication. The username is your Merchant ID and the password is your API Key. The combined string Merchant_Id:Api_Key should be Base64 encoded.

Path parameters
couponIdstringRequired

The ID of the coupon to retrieve.

Example: cpn-1502288320598b19c0d59fd
Responses
chevron-right
200

A successful response returns the specified coupon object.

application/json
get
/coupons/{couponId}

Last updated