network_offer_idinteger required
ID of the offer for which the coupon applies.
network_affiliate_idinteger
ID of the affiliate for which the coupon applies. A coupon code without an affiliate specified can exist but cannot be used.
coupon_codestring required
Coupon code value. Must be at least 3 characters.
coupon_status'active' | 'paused' required
Status of the coupon code.
internal_notesstring
Notes for internal usage — they will not be visible to the partner.
descriptionstring
A description (either plain text or HTML) that will be visible to the partner.
is_description_plain_textboolean
Only relevant when a description is provided. Determines if the description is in HTML or plain text format.
start_datestring
An optional date starting at which the coupon code can be used. Use the YYYY-MM-DD format.
end_datestring
An optional date at which the coupon code becomes obsolete. Use the YYYY-MM-DD format.