put

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

Generates coupon codes.

Coupon can be used for increasing sales and players loyalty. After redeeming a coupon code, the user will get items included in the coupon. The player can redeem a coupon code.

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