Identify a visitor and retrieve shop configuration. Call this once per session before fetching sections or sending events.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Shopify store URL
"shop.myshopify.com"
Visitor identification payload
Anonymous visitor identifier (persisted across sessions)
Client/device identifier for the current session
Shopify customer ID for authenticated visitors
Type of the current page
home, product, collection, cart, checkout, order_status, search, other Full URL of the current page
Visitor context and shop configuration
Unique identifier for this visit session
Anonymous visitor identifier to persist on the client
Client/device identifier
Shopify customer ID if authenticated
Visitor's historical activity context
Shop configuration relevant to the storefront
Short-lived session token to include in subsequent requests