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
object
$schema: http://json-schema.org/draft-04/schema#
coupon_code
string

Unique case sensitive coupon code. Contains letters and numbers.

5 validations

Responses

Code was successfully created.

1 Example
Schema
object
$schema: http://json-schema.org/draft-04/schema#
code
string

Unique case sensitive coupon code. Contains letters and numbers.

5 validations

Send a Test Request

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.