The Storefront API is a GraphQL-based API designed for high-performance storefronts. Key features include:
- Strongly Typed Schema: Ensures reliability and consistency.
- Batching: Ability to execute multiple queries or mutations in a single call to enhance performance.
- Flexible Modes: Supports both Session Mode (for cart/checkout management based on market, price list, and language) and No-Session Mode (stateless, ideal for custom caches).
- Advanced Search & Filtering: Provides full-text search and comprehensive filtering via
displayItems.filters (categories, collections, brands). - Affiliate Tracking: Automatically connects affiliates to selections when users arrive via affiliate links.
- Selection Integration: Allows checking out selections created in the Centra backend using the
claimSelection mutation.
mutation { claimSelection(id: "...", hash: "...") { ... } }