Skip to main content

AnonymousSession

An anonymous session is created when a unauthenticated user interacts with restricted operations, such as calling the activeOrder query in the Shop API. Anonymous sessions allow a guest Customer to maintain an order without requiring authentication and a registered account beforehand.

Signature

constructor

method(input: DeepPartial<AnonymousSession>) => AnonymousSession
Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page