The affiliate coupon object

Represents a coupon or promotion code created in the payment processor (e.g. Stripe) and assigned to an affiliate for tracking purposes.

{
   "id": "75434e84-255b-4314-a278-820df5e76813",
   "external_id": "promo_1a2b3c",
   "token": "CODE",
   "leads": 0,
   "conversions": 0,
   "affiliate_id": "95d48f70-f1d4-42d9-b929-21996b6d9eb4"
}

Attributes

Name
Data type
Description

id

string

Unique identifier for this affiliate coupon.

external_id

string

The technical ID of the coupon on the payment processor (e.g. Stripe). Automatically set by Rewardful when the affiliate coupon is created.

archived

boolean

Indicates whether the coupon code has been deactivated

archived_at

datetime

When was the coupon code deactivated

token

string

The unique coupon code for this affiliate coupon.

leads

string

The number of leads attributed to this coupon.

conversions

string

The number of conversions attributed to this coupon.

affiliate_id

string

The ID of the affiliate this link belongs to.

Last updated