Skip to main content
Appstle Memberships gives you programmatic access to every part of your membership program — from creating tiered plans and gating content to processing renewals and tracking analytics. Whether you’re connecting a CRM, building a mobile app, or customizing your storefront member portal, the APIs deliver the flexibility you need.

Available APIs

Appstle Memberships exposes two REST API surfaces. Pick the one that matches where your code runs:
  • Admin API — server-side, authenticated with X-API-Key. For backend integrations, admin dashboards, bulk operations, mobile apps, and third-party sync. Browse the full reference under Admin API in the sidebar.
  • Storefront API — customer-facing, accessed through Shopify App Proxy. For member self-service portals, theme integrations, and gated content. Browse the full reference under Storefront API in the sidebar.

Which API should you use?

  • You are building server-side integrations and automation workflows
  • You are managing memberships from your backend or a CRM
  • You are building admin dashboards or reporting tools
  • You are automating bulk operations across your member base
  • You are integrating with email platforms, analytics tools, or helpdesks
  • You are building a mobile app (iOS or Android)
Admin API requests require an X-API-Key header. Keys are created in the Appstle dashboard under More → General Settings → API Access. Never expose keys in client-side code.

Key features

Membership plans

Create and manage tiered membership plans with flexible pricing and billing cycles — monthly, annual, or custom intervals.

Member management

Retrieve and sync member data, plan status, and access entitlements across your systems in real time.

Access control

Gate content, collections, and pricing based on membership status and tier using customer tags and metafields.

Billing & contracts

Manage membership contracts, renewals, and billing attempts. Handle dunning, pauses, and cancellations programmatically.

Member benefits

Configure perks, discounts, and exclusive access rules per membership tier. Swap plans and roll back automatically on failed payments.

Notifications

Automate member communications for renewals, expirations, billing failures, and upgrades via Shopify Flow or webhooks.

Analytics

Access membership metrics, churn data, MRR projections, and revenue analytics using contract list endpoints and billing events.

Shopify native

Deep integration with Shopify Flow, metafields, customer tags, and the App Proxy — no separate infrastructure required.

Base URL

All Admin API endpoints use:
Storefront API endpoints are accessed through your store’s Shopify App Proxy — no separate base URL is needed.

HTTP status codes

All API responses use standard HTTP status codes. On the Admin API, an unexpected server error returns 500 with Content-Type: application/problem+json. The body doesn’t say what failed:
A mistake in your request can cause one too: the body above came from subscription-contract-details sorted by nextBillingDate. That endpoint takes snake_case names, such as next_billing_date. Check the request against the API reference first. If it’s correct, wait a few seconds and send it once more. Before you resend a PUT, POST or DELETE, read the record back, because the change may have been saved before the error. Don’t retry in a loop: an endpoint that keeps failing is rate limited. If the second try fails too, contact support@appstle.com with the store’s myshopify.com domain, the path, the time of the call and the value of the X-Trace-Id response header. An invalid API key returns 401 with Content-Type: application/problem+json and this body:
When the X-API-Key header is missing or empty, detail is API key can not be blank. and the rest of the body is the same. For every detail value and what to do about it, see Authentication errors. On the Storefront API, a 500 has Shopify’s HTML error page as its body, not JSON, and a path or method that no endpoint has returns 403, not 404 or 405. See Storefront API errors.

Next steps

Authentication

Create your API key and learn how to authenticate requests.

Quickstart

Make your first API call in under five minutes.

Integration guide

Explore common integration patterns for CRMs, email platforms, and access control.

Webhooks

Receive real-time event notifications when memberships change.

JavaScript events

Embed the customer portal on a theme page and run your code once it has loaded.

API changelog

Dated changes to the Admin API, Storefront API, JavaScript events, webhooks, Shopify Flow triggers and Partner Framework, with what to do about each.