Gets a specified promo code 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 |
Promo code was successfully received.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
Promo code not found. Make sure the external_id
is correct.
{- "external_id": "summer20221",
- "date_start": "2020-04-15T18:16:00+05:00",
- "date_end": "2020-04-25T18:16:00+05:00",
- "name": {
- "en-US": "Coupon name",
- "ru-RU": "Название купона"
}, - "is_enabled": true,
- "bonus": [
- {
- "sku": "diamonds",
- "quantity": 100
}
], - "redeem_user_limit": null,
- "redeem_total_limit": 100,
- "redeem_code_limit": 1,
- "discount": [
- {
- "percent": "10.99"
}
], - "discounted_items": null,
- "total_limit_state": {
- "available": 50,
- "reserved": 10,
- "used": 40
}
}