/merchant/projects/{project_id}/store/coupon
Creates a coupon.
Coupon can be used for increasing sales and players loyalty. After redeeming a coupon code, the user will get items included in the coupon.
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
Coupon was successfully created.
Unique coupon ID. The external_id
may only contain lowercase Latin alphanumeric characters, dashes, and underscores.