v1
latestOpenAPI 3.0.32026-07-2226694862.5 KBCreate Coupon Code
Request body
ID of the offer for which the coupon applies.
ID of the affiliate for which the coupon applies. A coupon code without an affiliate specified can exist but cannot be used.
Coupon code value. Must be at least 3 characters.
Status of the coupon code.
Notes for internal usage — they will not be visible to the partner.
A description (either plain text or HTML) that will be visible to the partner.
Only relevant when a description is provided. Determines if the description is in HTML or plain text format.
An optional date starting at which the coupon code can be used. Use the YYYY-MM-DD format.
An optional date at which the coupon code becomes obsolete. Use the YYYY-MM-DD format.
Response
Unique identifier for this coupon code.
The ID of the network this coupon code belongs to.
ID of the affiliate for which the coupon applies. A coupon code without an affiliate specified can exist but cannot be used.
ID of the offer for which the coupon applies.
Coupon code value.
Status of the coupon code. Can be one of the following values: active or paused.
Notes for internal usage -- they will not be visible to the partner.
A description (either plain text or HTML) that will be visible to the partner.
Only relevant when a description is provided. Determines if the description is in HTML or plain text format.
An optional date starting at which the coupon code can be used. Uses the YYYY-MM-DD format.
An optional date at which the coupon code becomes obsolete. Uses the YYYY-MM-DD format.
Unix timestamp of when the coupon code was created.
Unix timestamp of when the coupon code was last updated.
Unix timestamp of when the coupon code was deleted. 0 if not deleted.
Example response
{
"time_created": 1734455015,
"time_saved": 1734455015
}