/merchant/projects/{project_id}/store/promocode
Creates a promo code.
Promo code can be used for increasing sales and players loyalty. After redeeming a promo code, the user will get free items and/or the price of cart will be decreased.
Authorization
Request Parameters
Request Body
Unique coupon ID. The external_id
may only contain lowercase Latin alphanumeric characters, dashes, and underscores.
Date when you promotion will be started.
Date when you promotion will be finished. Can be null. If date_end
is null, promotion will be unlimited by time.
Name of promotion. Should contain key/value pairs where key is a locale with “^[a-z]{2}-[A-Z]{2}$” format, value is string.
Limits total numbers of coupons.
Limits total numbers of coupons redeemed by single user.
Responses
Promo code was successfully created.
Unique coupon ID. The external_id
may only contain lowercase Latin alphanumeric characters, dashes, and underscores.