跳至主要内容

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 has
  • add: 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

ResourceChange
create_store_itemAdded optional mode to bonus_items_settings in the request and response
batch_create_store_itemAdded optional mode to bonus_items_settings in the request
bulk_update_store_itemsAdded optional mode to bonus_items_settings in the request and response
update_store_itemAdded optional mode to bonus_items_settings in the request and response
get_store_itemsAdded mode to bonus_items_settings in the response
get_all_store_itemsAdded mode to bonus_items_settings in the response
get_itemsAdded mode to bonus_items_settings in the response
create_store_promotionAdded optional mode to bonus_items_settings in the request and response
bulk_update_store_promotionsAdded optional mode to bonus_items_settings in the request and response
update_store_promotionAdded optional mode to bonus_items_settings in the request and response
get_store_promotionsAdded mode to bonus_items_settings in the response
get_store_promotionAdded mode to bonus_items_settings in the response
get_user_promotionsAdded mode to bonus_items_settings in the response
copy_store_promotionAdded mode to bonus_items_settings in the response
ComponentsAdded the ItemBonusMode schema

Upgrade

  • No action is required. Omitting mode keeps the current replace behavior.
  • If you store or compare bonus settings on your side, expect mode in responses from now on.

需要技术支持?
联系我们的集成技术团队: [email protected]