put

/merchant/projects/{project_id}/store/promocode/{external_id}/code/generate

Generates codes 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.

Authorization

basic

Request Parameters

2 Path Parameters

Request Body

Schema
object
$schema: http://json-schema.org/draft-04/schema#
count
integer
3 validations + required

Responses

Codes was successfully generated.

1 Example
Schema
object
$schema: http://json-schema.org/draft-04/schema#
count
integer
2 validations

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
project_id
external_id
$$.env
2 variables not set
username
password