Item, lootbox, and subscription read model updates
What's new
The read models for items, lootboxes, and subscriptions changed in three ways:
- The
is_systemflag was removed from nested item reads (items, lootbox contents, and subscription plan items). - Lootbox group lists switched from a discriminated
oneOfto ananyOfofLootboxGroupandLootboxNestedItem, and the discriminator was removed. - The internally named
aghanim__subscription_item__schemas__SubscriptionReadschema was consolidated into a singleSubscriptionRead.
Impact
Consumers that read the is_system flag from nested items will no longer receive it. Lootbox group entries are no longer discriminated by an explicit type field, so parse them structurally. The subscription read payload is otherwise unchanged aside from its schema name.
Changes
| Resource | Change |
|---|---|
| get_items, get_all_store_items, get_store_items, get_campaign_store_items, get_user_store_items, create_store_item, update_store_item, bulk_update_store_items | Removed is_system from nested item reads; lootbox groups changed from oneOf to anyOf; SubscriptionRead replaces the internal subscription schema |
| get_daily_rewards, create_daily_reward, get_daily_reward, update_daily_reward, copy_daily_reward | Removed is_system from nested reward item reads; lootbox groups changed from oneOf to anyOf |
| Components | Removed the internal aghanim__subscription_item__schemas__SubscriptionRead schema |
Upgrade
- Stop reading
is_systemfrom item, lootbox, and subscription-plan reads. - If you rely on a discriminator to parse lootbox groups, switch to structural parsing of
LootboxGroupandLootboxNestedItem.
Need help?
Contact our integration team at [email protected]