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:
defaultbonus
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
| Resource | Change |
|---|---|
| create_store_item | Added optional card_template_options to the request and response |
| batch_create_store_item | Added optional card_template_options to the request |
| bulk_update_store_items | Added optional card_template_options to the request and response |
| update_store_item | Added optional card_template_options to the request and response |
| get_store_items | Added card_template_options to the response |
| get_all_store_items | Added card_template_options to the response |
| Components | Added 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_optionsin responses from now on.
需要技术支持?
联系我们的集成技术团队: [email protected]