Redeems a code of promo code promotion. After redeeming a promo code, the user will get free items and/or the price of the cart and/or particular items will be decreased.
project_id required | integer Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 |
Promo code was successfully redeemed.
Authentication not passed or wrong.
Authorization header not sent.
Enter valid promo code.
Invalid request.
{- "coupon_code": "SUMMER2021",
- "cart": {
- "id": "current"
}, - "selected_unit_items": {
- "game_1": "game_1_steam",
- "game_2": "game_2_playstation"
}
}
{- "statusCode": 404,
- "errorCode": 4001,
- "errorMessage": "[0401-9807]: Enter valid promo code."
}