Customer identity and access
Connect customer identities and summarize access from purchases.
Use external_id to join a SellApp customer to your own system. It is unique and immutable inside a store. Email addresses are normalized before uniqueness checks; locale uses BCP 47; metadata accepts only a small map of scalar values.
Entitlements summarize access from purchases, licenses, subscriptions, bookings, and community grants. They do not establish current membership at an external provider. The summary omits license keys, serials, files, fulfillment payloads, and seller-only metadata.
A subscription_access entitlement follows the subscription's access. A past-due
subscription keeps access while its payment is being collected, and an unpaid one
loses it until it is paid. So state is active while the subscription is active,
trialing, or past due, and suspended while it is unpaid, paused, or on hold for an
unpaid renewal. A cancelled subscription reads revoked, an incomplete one
pending, and one whose first payment expired expired. See
Failed payments.
For SDK/REST calls, use an API key with the invoice ability and matching store
permission. Official CLI/MCP connections use their admin grant and current
permissions. Send X-STORE for this store.
Use PUT /v2/customers/external/{externalId} to create or update one identity.
Send email every time. Omitted name, locale, and metadata stay unchanged;
supplying metadata replaces the complete object. The URL supplies the immutable
external ID (1–255 characters, URL-encoded as one path segment). Creation
returns 201; an update returns 200. An email owned by another customer
returns 422; a concurrent identity collision can return 409. Retrieve the
customer and check its identity before retrying. No customers are merged.
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
Idempotency-Key?stringReuse this key only for an identical retry. A replay returns Idempotent-Replayed: true.
8 <= length <= 255X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
application/json- body
external_id?stringlength <= 255email*stringemaillength <= 255name?|length <= 255locale?|^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$length <= 35metadata?properties <= 50Created.
application/json- response
data*A store-scoped customer profile. Checkout IP, billing, location, and community identity data are intentionally excluded.
curl -X POST 'https://sell.app/api/v2/customers' \ -H 'Idempotency-Key: project-library-2026-09-04' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "id": 314, "email": "maya.chen@example.com", "external_id": "crm_maya_314", "name": "Maya Chen", "locale": "en-GB", "metadata": { "plan": "standard", "seats": 3 }}'{ "data": { "id": 314, "email": "maya.chen@example.com", "external_id": "crm_maya_314", "name": "Maya Chen", "locale": "en-GB", "metadata": { "plan": "standard", "seats": 3 }, "insights": { "orders_count": 0, "line_items_count": 0, "completed_line_items_count": 0, "pending_line_items_count": 0, "voided_line_items_count": 0, "subscriptions_count": 0, "revenue_usd_cents": 0, "first_purchase_at": null, "last_purchase_at": null, "favorite_payment_method": null }, "created_at": "2026-08-24T10:00:00.000000Z", "updated_at": "2026-08-24T10:00:00.000000Z" }}AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
customer*integerThe customer identifier.
Idempotency-Key?stringReuse this key only for an identical retry. A replay returns Idempotent-Replayed: true.
8 <= length <= 255X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
application/json- body
email?stringemaillength <= 255name?|length <= 255locale?|^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$length <= 35metadata?properties <= 50external_id?stringMay be assigned when unset; an existing value is immutable.
1 <= length <= 255Successful response.
application/json- response
data*A store-scoped customer profile. Checkout IP, billing, location, and community identity data are intentionally excluded.
curl -X PATCH 'https://sell.app/api/v2/customers/314' \ -H 'Idempotency-Key: project-library-2026-09-04' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "locale": "en-US"}'{ "data": { "id": 314, "email": "maya.chen@example.com", "external_id": "crm_maya_314", "name": "Maya Chen", "locale": "en-US", "metadata": { "plan": "standard", "seats": 3 }, "insights": { "orders_count": 0, "line_items_count": 0, "completed_line_items_count": 0, "pending_line_items_count": 0, "voided_line_items_count": 0, "subscriptions_count": 0, "revenue_usd_cents": 0, "first_purchase_at": null, "last_purchase_at": null, "favorite_payment_method": null }, "created_at": "2026-08-24T10:00:00.000000Z", "updated_at": "2026-08-24T10:00:00.000000Z" }}AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
externalId*stringThe externalId identifier.
X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
Successful response.
application/json- response
data*A store-scoped customer profile. Checkout IP, billing, location, and community identity data are intentionally excluded.
curl -X GET 'https://sell.app/api/v2/customers/external/314' \ -H 'X-STORE: launch-lab'{ "data": { "id": 314, "email": "maya.chen@example.com", "external_id": "crm_maya_314", "name": "Maya Chen", "locale": "en-GB", "metadata": { "plan": "standard", "seats": 3 }, "insights": { "orders_count": 0, "line_items_count": 0, "completed_line_items_count": 0, "pending_line_items_count": 0, "voided_line_items_count": 0, "subscriptions_count": 0, "revenue_usd_cents": 0, "first_purchase_at": null, "last_purchase_at": null, "favorite_payment_method": null }, "created_at": "2026-08-24T10:00:00.000000Z", "updated_at": "2026-08-24T10:00:00.000000Z" }}AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
externalId*stringThe externalId identifier.
Idempotency-Key?stringReuse this key only for an identical retry. A replay returns Idempotent-Replayed: true.
8 <= length <= 255X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
application/json- body
email?stringemaillength <= 255name?|length <= 255locale?|^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$length <= 35metadata?properties <= 50Successful response.
application/json- response
data*A store-scoped customer profile. Checkout IP, billing, location, and community identity data are intentionally excluded.
curl -X PATCH 'https://sell.app/api/v2/customers/external/314' \ -H 'Idempotency-Key: project-library-2026-09-04' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "locale": "en-US"}'{ "data": { "id": 314, "email": "maya.chen@example.com", "external_id": "crm_maya_314", "name": "Maya Chen", "locale": "en-US", "metadata": { "plan": "standard", "seats": 3 }, "insights": { "orders_count": 0, "line_items_count": 0, "completed_line_items_count": 0, "pending_line_items_count": 0, "voided_line_items_count": 0, "subscriptions_count": 0, "revenue_usd_cents": 0, "first_purchase_at": null, "last_purchase_at": null, "favorite_payment_method": null }, "created_at": "2026-08-24T10:00:00.000000Z", "updated_at": "2026-08-24T10:00:00.000000Z" }}AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
externalId*stringStore-local external ID, 1–255 characters; whitespace-only values are invalid. URL-encode it as one path segment.
1 <= length <= 255Idempotency-Key?stringReuse this key only for an identical retry. A replay returns Idempotent-Replayed: true.
8 <= length <= 255X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
application/json- body
email*stringemaillength <= 255name?|length <= 255locale?|^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$length <= 35metadata?properties <= 50Successful response.
application/json- response
data*A store-scoped customer profile. Checkout IP, billing, location, and community identity data are intentionally excluded.
curl -X PUT 'https://sell.app/api/v2/customers/external/crm_maya_314' \ -H 'Idempotency-Key: project-library-2026-09-04' \ -H 'X-STORE: launch-lab' \ -H 'Content-Type: application/json' \ -d '{ "email": "maya.chen@example.com", "name": "Maya Chen"}'{ "data": { "id": 314, "email": "maya.chen@example.com", "external_id": "crm_maya_314", "name": "Maya Chen", "locale": "en-US", "metadata": { "plan": "standard", "seats": 3 }, "insights": { "orders_count": 0, "line_items_count": 0, "completed_line_items_count": 0, "pending_line_items_count": 0, "voided_line_items_count": 0, "subscriptions_count": 0, "revenue_usd_cents": 0, "first_purchase_at": null, "last_purchase_at": null, "favorite_payment_method": null }, "created_at": "2026-08-24T10:00:00.000000Z", "updated_at": "2026-08-24T10:00:00.000000Z" }}AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
customer*integerThe customer identifier.
X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
Successful response.
application/json- response
data*array<>curl -X GET 'https://sell.app/api/v2/customers/42/entitlements' \ -H 'X-STORE: launch-lab'{ "data": [ { "id": "subscription_access:991", "kind": "subscription_access", "state": "active", "customer_id": 314, "subject": { "type": "product_variant", "id": 84, "name": "Design kit — monthly" } } ]}AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
externalId*stringThe externalId identifier.
X-STORE?stringStore slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.
Successful response.
application/json- response
data*array<>curl -X GET 'https://sell.app/api/v2/customers/external/externalId_01K4CUSTOMER/entitlements' \ -H 'X-STORE: launch-lab'{ "data": [ { "id": "subscription_access:991", "kind": "subscription_access", "state": "active", "customer_id": 314, "subject": { "type": "product_variant", "id": 84, "name": "Design kit — monthly" } } ]}