Update Market Relationships Docs and Add Analytics Fields

9/22/2026, 12:01:03 AM

The description of the marketRelationships query and the Market object's child/parent fields now explain eventual consistency and reference the new marketRelationshipsStatus query. The corresponding count fields’ documentation has also been updated to include this reference. A new object type, AnalyticsSchemaExpansionFields, is introduced and used in the schemas to describe fields emitted when an entity is grouped. To support this, AnalyticsSchema gained an entityExpansionFields field, and AnalyticsSchemaField now exposes clusterJoin and requiresEntityNamespace to clarify clusterable dimensions and namespace requirements. The rollouts field on several discount types remains unchanged functionally but its description updates the query filter language slightly. No queries, mutations, or directives were added, removed, or deprecated in this change set.

Query Changes

πŸ”„ Modified Queries (1)

marketRelationships

The relationships between all markets in the shop. Eventually consistent following a change in market hierarchy.
See marketRelationshipsStatus.

Type Changes

βž• Added Types (1)

πŸ—οΈAnalyticsSchemaExpansionFieldsβž• AddedOBJECT

The fields emitted when an entity is grouped using a schema.

Fields: fields, idField

πŸ”„ Modified Types (11)

πŸ—οΈAnalyticsSchemaπŸ”„ Modified
βž• Field added: entityExpansionFields

The fields emitted when an entity is grouped using this schema. Null for schemas that don't support entity expansion.

πŸ—οΈAnalyticsSchemaFieldπŸ”„ Modified
βž• Field added: clusterJoin

For clusterable entity dimensions, the generated cluster schema and field that this field joins to. Null for fields that don't participate in cluster grouping.

βž• Field added: requiresEntityNamespace

Whether this field must be referenced with its entity namespace (for example shipping_address.latitude), including when the entity is the primary entity of the schema.

πŸ—οΈDiscountAutomaticAppπŸ”„ Modified
πŸ”„ Field modified: rollouts
πŸ—οΈDiscountAutomaticBasicπŸ”„ Modified
πŸ”„ Field modified: rollouts
πŸ—οΈDiscountAutomaticBxgyπŸ”„ Modified
πŸ”„ Field modified: rollouts
πŸ—οΈDiscountAutomaticFreeShippingπŸ”„ Modified
πŸ”„ Field modified: rollouts
πŸ—οΈDiscountCodeAppπŸ”„ Modified
πŸ”„ Field modified: rollouts
πŸ—οΈDiscountCodeBasicπŸ”„ Modified
πŸ”„ Field modified: rollouts
πŸ—οΈDiscountCodeBxgyπŸ”„ Modified
πŸ”„ Field modified: rollouts
πŸ—οΈDiscountCodeFreeShippingπŸ”„ Modified
πŸ”„ Field modified: rollouts
πŸ—οΈMarketπŸ”„ Modified
πŸ”„ Field modified: childMarkets
πŸ”„ Field modified: childMarketsCount
πŸ”„ Field modified: parentMarkets
πŸ”„ Field modified: parentMarketsCount