Creates a new promotion.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success
The UUID of the specific object.
A string describing the object type returned.
Whether or not this promotion is archived.
The customer-facing code. Regardless of case, this code must be unique across all promotion codes on your account. If left blank, we will generate one automatically.
Taking into account the above properties, whether this promotion can still be used.
Maximum number of times this coupon can be redeemed in total across all customers.
Date after which the coupon can no longer be redeemed.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Time at which the object was archived. Measured in seconds since the Unix epoch.
Expandable – The associated affiliation ID.
Expandable – The associated coupon ID.
Expandable – The associated customer ID.
Expandable – Property not returned unless expanded.
Time at which the object was discarded. Measured in seconds since the Unix epoch.
Time at which the object was created. Measured in seconds since the Unix epoch.
Time at which the object was last updated. Measured in seconds since the Unix epoch.