Create Promotion Code
Promotion Codes
Create Promotion Code
Create a promotion code for a connected account.
POST
Create Promotion Code
Headers
All requests to the ChatDash API must be validated with the agency API Key found on your agency profile
Path Parameters
The Stripe connected account ID
Body
application/json
Response
Created
Unique identifier for the promotion code
Example:
"promo_1SucFwRjNw7C4HMK01fsfjOh"
Object type
Example:
"promotion_code"
Whether the promotion code is active
Example:
true
The customer-facing code
Example:
"SUMMER20"
The coupon associated with this promotion code
Unix timestamp of when the promotion code was created
Example:
1769620216
The customer that this promotion code can be used by
Example:
"cus_TppcYxuTJKLNnG"
Example:
null
Unix timestamp of when the promotion code expires
Example:
1770137940
Example:
true
Example:
10
Example:
{}
Example:
0
