Updates a coupon promotion.
Coupon was successfully updated.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
Coupon not found. Make sure the external_id
is correct.
Invalid request.
{- "date_start": "2020-04-15T18:16:00+05:00",
- "date_end": "2020-04-15T18:16:00+05:00",
- "promotion_name": {
- "en-US": "Coupon title",
- "de-DE": "Название купона"
}, - "bonus": [
- {
- "sku": "elven_shield",
- "quantity": 1
}
], - "redeem_total_limit": 10,
- "redeem_user_limit": 10,
- "redeem_code_limit": 10
}
{- "statusCode": 401,
- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred"
}