Deactivates a coupon promotion. Created coupon promotion is disabled by default. It will not be ready for redemption until you activate it. Use this endpoint to disable and deactivate a coupon promotion.
project_id required | integer Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 |
external_id required | integer Promotion external ID. Unique promotion identifier within the project. Example: coupon_44056_1 |
Coupon was successfully deactivated.
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.
Error occurred while receiving the promotion from the promotion service.
{- "statusCode": 401,
- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred"
}