Gets the bonus promotion.
Promotion adds free bonus items to the purchase made by a user. The promotion can be applied to every purchase within a project or to a purchase that includes particular items.
project_id required | integer Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 |
promotion_id required | integer Promotion ID. Unique promotion identifier within the project. Example: 111425 |
Bonus promotion was successfully received.
Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.
Promotion not found. Make sure promotion_id
is correct.
{- "id": 1,
- "date_start": "2020-04-15T18:16:00+05:00",
- "date_end": "2020-04-25T18:16:00+05:00",
- "name": {
- "en-US": "New Year Bonus",
- "de-DE": "Neujahrsbonus"
}, - "is_enabled": true,
- "condition": [
- {
- "sku": "elven_boots"
}, - {
- "sku": "elven_knife"
}
], - "bonus": [
- {
- "sku": "elven_sword",
- "quantity": 1
}, - {
- "sku": "elven_shield",
- "quantity": 2
}, - {
- "sku": "elven_gloves",
- "quantity": 2
}
], - "limits": {
- "per_user": {
- "total": 10
}, - "per_item": null,
- "recurrent_schedule": {
- "per_user": {
- "interval_type": "daily",
- "day_of_week": null,
- "day_of_month": null,
- "time": "11:00:00+08:00",
- "reset_next_date": 1677553200,
- "displayable_reset_start_date": "2023-02-28T11:00:00+08:00",
- "displayable_reset_next_date": "2023-02-28T11:00:00+08:00"
}
}
}
}