Log a storefront customer out
Signs the customer out. A plain logout only acknowledges the call: discard the session token on the client. Send `everywhere: true` to revoke every session token issued to this customer so far, the current one included. Returns 204. Without a valid session token, returns 401 `CUSTOMER_AUTH_REQUIRED`. > **Note:** Available only on sites with e-commerce enabled.
Required access
POST
/customers/logoutBase URL
https://api.lynkow.com/storefront/{siteId}Request bodyrequired
everywherebooleanWhen true, invalidates every prior session for this customer ("log out everywhere"); otherwise the logout is a client-side token discard.