주요 콘텐츠로 건너뛰기

Bonus targets in bundles

What's new

Bundle nested items take a new optional is_bonus_target flag that picks which items receive the bundle bonus. You can mark several items.

Impact

Until now the bundle bonus went to the featured item. With is_bonus_target the rule is:

  • If any nested item has is_bonus_target set, the bonus applies to the quantity of the marked items only. Unmarked items get no bonus.
  • If no nested item has it set, the featured item gets the bonus, as before.

Changes

ResourceChange
create_itemAdded optional is_bonus_target to nested_items in the request and response
update_itemAdded optional is_bonus_target to nested_items in the request and response
bulk_create_or_update_itemsAdded optional is_bonus_target to nested_items in the request and response
bulk_update_itemsAdded optional is_bonus_target to nested_items in the request and response
create_daily_rewardAdded optional is_bonus_target to day reward items and extra reward items in the request and response
update_daily_rewardAdded optional is_bonus_target to day reward items and extra reward items in the request and response
get_items, get_item, translate_itemAdded is_bonus_target to nested_items in the response
get_daily_rewards, get_daily_reward, copy_daily_rewardAdded is_bonus_target to nested items in the response
get_coupons, create_coupon, bulk_update_coupon, get_coupon, update_coupon, get_user_couponsAdded is_bonus_target to nested items in the response
get_loyalty_tiers, update_loyalty_tiersAdded is_bonus_target to nested items in the response
get_store_items, get_all_store_items, create_store_item, bulk_update_store_items, update_store_itemAdded is_bonus_target to nested items in the response

Upgrade

  • No action is required. Bundles without is_bonus_target keep giving the bonus to the featured item.
  • To spread the bonus across specific items, set is_bonus_target: true on each of them.

도움이 필요하세요?
통합팀에 문의하십시오 [email protected]