Bonus items can add to a store item's own bonuses
What's new
bonus_items_settings takes a new optional mode:
replace(default): the bonus items replace the ones the store item already hasadd: the bonus items are given on top of the store item's own bonus items
The field lives on the shared ItemBonusSettings schema, so it shows up on store items and store
promotions, and also on piggy bank tiers and the store settings and virtual SKU campaign nodes.
Impact
Before this change, bonus items on a promotion always replaced the store item's bonus items. Set
mode to add to stack them instead. Existing settings default to replace, so nothing changes
unless you opt in.
Changes
| Resource | Change |
|---|---|
| create_store_item | Added optional mode to bonus_items_settings in the request and response |
| batch_create_store_item | Added optional mode to bonus_items_settings in the request |
| bulk_update_store_items | Added optional mode to bonus_items_settings in the request and response |
| update_store_item | Added optional mode to bonus_items_settings in the request and response |
| get_store_items | Added mode to bonus_items_settings in the response |
| get_all_store_items | Added mode to bonus_items_settings in the response |
| get_items | Added mode to bonus_items_settings in the response |
| create_store_promotion | Added optional mode to bonus_items_settings in the request and response |
| bulk_update_store_promotions | Added optional mode to bonus_items_settings in the request and response |
| update_store_promotion | Added optional mode to bonus_items_settings in the request and response |
| get_store_promotions | Added mode to bonus_items_settings in the response |
| get_store_promotion | Added mode to bonus_items_settings in the response |
| get_user_promotions | Added mode to bonus_items_settings in the response |
| copy_store_promotion | Added mode to bonus_items_settings in the response |
| Components | Added the ItemBonusMode schema |
Upgrade
- No action is required. Omitting
modekeeps the currentreplacebehavior. - If you store or compare bonus settings on your side, expect
modein responses from now on.
Need help?
Contact our integration team at [email protected]