Skip to main content
POST
Create an affiliate coupon

Authorizations

Authorization
string
header
required

Use your API secret as the username, with an empty password.

Body

application/json
affiliate_id
string
required
token
string
required

The coupon code.

Response

201 - application/json

Created

id
string
object
string
Example:

"affiliate_coupon"

token
string

The coupon code.

affiliate_id
string