post
/merchant/projects/{project_id}/store/promocode/{external_id}/code
Creates code for 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.
Request Parameters
2 Path Parameters
Request Body
Schema
coupon_code
string
Unique case sensitive coupon code. Contains letters and numbers.
5 validations
Responses
Code was successfully created.
1 Example
Schema
code
string
Unique case sensitive coupon code. Contains letters and numbers.
5 validations
Send a Test Request
POST
Send requests directly from the browser (CORS must be enabled)
Path Params
project_id
external_id
$$.env
No $$.env variables are being used in this request.