Returns the customer ID of the currently authenticated customer from their Shopify session. This endpoint is used by the customer portal UI to identify which customer is logged in.
Use Cases:
How it works:
Important Notes:
Authentication: Requires active Shopify customer session (browser-based)
curl --request GET \
--url https://www.myshop.com/apps/subscriptions/cp/api/logged-in-customer6548267876558Documentation 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.
Customer ID retrieved successfully
The response is of type integer<int64>.
6548267876558
curl --request GET \
--url https://www.myshop.com/apps/subscriptions/cp/api/logged-in-customer6548267876558