Skip to main content
GET
/
api
/
external
/
v2
/
customer-portal-token
Generate customer portal authentication token
curl --request GET \
  --url https://membership-admin.appstle.com/api/external/v2/customer-portal-token
{
  "customerId": 123,
  "token": "<string>"
}

Documentation 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.

Headers

X-API-Key
string

Query Parameters

api_key
string

API Key (Deprecated - Use Header X-API-Key instead)

customerId
string

Shopify customer ID (provide either customerId OR email)

email
string

Customer email address (provide either customerId OR email)

Response

Customer portal token generated successfully, returns customer ID and authentication token

customerId
integer<int64>
token
string