HomeGuidesAPI Reference
ChangelogHelp CenterCommunityContact Us
API Reference

Create Coupon Code

Synchronously creates a coupon code for the given coupon.

Rate limits:
Burst: 350/s
Steady: 3500/m

Scopes:
coupon-codes:write

Body Params
object
required
string
required
object
required
string
required

This is a unique string that will be or is assigned to each customer/profile and is associated with a coupon.

date-time

The datetime when this coupon code will expire. If not specified or set to null, it will be automatically set to 1 year.

object
required
object
required
object
string
required
string
required
Headers
string
required
Defaults to 2025-01-15

API endpoint revision (format: YYYY-MM-DD[.suffix])

Responses

Language
Credentials