Returns promotional codes based on the affiliate program. Promotional codes are the actual discount codes customers use at checkout.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the promotional code to retrieve
The promotional code string to retrieve
The external ID (e.g., Stripe promotion code ID)
Get all promotional codes for a specific coupon
Get all promotional codes for a specific affiliate
Get all promotional codes for an affiliate by email
A list of promotional codes or a single promotional code
The promotional code ID
The actual promotional code string
The parent coupon ID
The affiliate ID this code is assigned to
External ID (e.g., Stripe promotion code ID)
Whether the promotional code is active
Expiration date for the code
Maximum number of times this code can be used
Number of times this code has been redeemed
Whether this code is limited to first-time orders
Minimum purchase amount required
Currency for minimum amount
Whether code is limited to specific customers
Specific customer ID this code is limited to
Whether only the affiliate can use this code
Whether this code was auto-generated
Timestamp when the code was created
Timestamp when the code was last updated
The parent coupon details
Affiliate details