Basic information
PUT /{shopId}/coupon-campaigns/{couponCampaignId}/coupons
Creates a coupon code in a coupon campaign.
Authorisation
OAuth 2.0 Token required with scopes:
coupons_write
URI parameters
| Name | Type | Description |
|---|---|---|
shopId |
string |
The unique identifier of the shop. Required:
true
Example:
DemoShop
|
couponCampaignId |
string |
Required:
true
|
Request body
Media type application/x-www-form-urlencoded
| Name | Type | Description |
|---|---|---|
code |
string |
The coupon code, e.g. Required:
true
|
Response
HTTP 204