Update a voucher criterion
Update an existing voucher criterion
Rate Limit: 300 Max attempts within 1 minute.
Path Parameters
Parameter | Details |
---|---|
shopKey
| string Example: ms |
countryCode
| string Example: de |
voucherId
| integer Example: 1 |
voucherCriterionId
| integer Example: 1 |
Request body
requiredParameter | Details |
---|---|
id
| integer |
key
| string Enum: shopCategoryId masterCategoryId customerId emailHash brandId productId customerGroup shopCountryId |
type
| string Enum: include exclude |
value
|
Responses
200
Voucher criterion was successfully updated.
application/json
Success
id
integer
keyrequired
string
typerequired
string
valuerequired
Array of undefined
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
PUT
Request samples
Response samples
200Voucher Criterion:
Content type: application/json