Get recommendation sections with full product details for a given page context.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Shopify store URL
"shop.myshopify.com"
Page context and section request payload
Full URL of the current page
Type of the current page
home, product, collection, cart, checkout, order_status, search, other BCP 47 locale code for the response language
"en"
Client/device identifier
Anonymous visitor identifier
Shopify customer ID for authenticated visitors
ID of the current product (required for product pages)
Product IDs currently in the visitor's cart
Shopify market handle for market-specific content
Specific section IDs to fetch. Omit to fetch all eligible sections for the page.
Section IDs already rendered on the page (used to avoid duplicates)
When true, returns sections in preview/draft mode
Product tags to scope recommendation results
Collection handle for collection-page context
Currency code for pricing (defaults to shop currency)
Visitor's zip/postal code for location-based recommendations
Total value of the visitor's current cart
Sections with product details
Unique identifier for this request (use for event tracking)
Current visit session identifier
The current page's product (populated on product pages)
Refreshed session token
Shop configuration snapshot (same shape as HeadlessInitResponse.config)
A/B test experience assignment for this request