Logs out the customer from the Customer Account API session. This can be initiated either by the customer clicking logout in the customer portal, or by Shopify’s end session callback.
What it does:
Two scenarios:
App-initiated logout: Customer clicks logout in portal
Shopify-initiated logout: Customer logs out globally from Shopify
Important:
Authentication: Optional - can be called from Shopify without authentication
curl --request GET \
--url https://www.myshop.com/apps/subscriptions/cp/api/customer-account-api/logoutDocumentation Index
Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
curl --request GET \
--url https://www.myshop.com/apps/subscriptions/cp/api/customer-account-api/logout