For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Search docs
/
Ask AI
Dev Portal
Docs
API Reference
Learn
Community
Changelog
Developer
Developer
Developer
Developer
GraphQL
Storefront
Mutations
logout
Copy page
Customer logout
Arguments
cartEntityId
String
Optional
The customer cart entity ID which should be unassigned on logout.
Returns
a LogoutResult
result
String
The result of a logout
cartUnassignResult
CartUnassignResult
The result of the cart unassign operation which can be performed during logout.
Show 2 properties