주요 콘텐츠로 건너뛰기

Card template options on store items

What's new

Store items take a new optional, nullable card_template_options object that overrides the card builder template for that item. For now it holds one field, bonus_threshold_template, which picks the template used to render the store bonus badge:

  • default
  • bonus

Impact

You can choose how the bonus badge looks on an individual store item's card through the API instead of relying on the store-wide template.

Changes

ResourceChange
create_store_itemAdded optional card_template_options to the request and response
batch_create_store_itemAdded optional card_template_options to the request
bulk_update_store_itemsAdded optional card_template_options to the request and response
update_store_itemAdded optional card_template_options to the request and response
get_store_itemsAdded card_template_options to the response
get_all_store_itemsAdded card_template_options to the response
ComponentsAdded the CardTemplateOptions and BonusThresholdTemplate schemas

Upgrade

  • No action is required. The field is optional and can be left out.
  • If you store or compare store items on your side, expect card_template_options in responses from now on.

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