Gets the promotion applied to particular items.
Promotions provide a discount (%) on items. The discount will be applied to all prices of the specified 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 |
Item 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",
- "is_enabled": true,
- "discount": {
- "percent": "20.00"
}, - "items": [
- {
- "sku": "elven_helmet"
}, - {
- "sku": "elven_armor"
}
], - "name": {
- "en-US": "Promotion",
- "ru-RU": "Акция"
}, - "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"
}
}
}, - "price_range_condition": {
- "lower_limit": "10.0000",
- "upper_limit": "50.0000"
}
}