This guide walks you through the three steps you need to make your first successful Appstle Memberships API call: get an API key, retrieve membership contracts, and verify a customer’s membership status.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.
Before you begin
You need an active Appstle Memberships installation on your Shopify store. If you haven’t installed the app yet, start in the Shopify App Store before continuing.Step 1 — Create an API key
Create a key
Click Create New Key. Give it a name like
Quickstart Test so you can identify it later.Step 2 — Retrieve membership contracts
Use your new key to fetch all membership contracts for a customer. Replaceyour-store.myshopify.com with your store’s Shopify domain and 12345 with a real Shopify customer ID.
content array contains each membership contract for the customer. totalElements tells you how many contracts exist in total (useful for pagination).
If
content is an empty array, the customer either has no memberships or no active ones. Try with a customer ID that you know has an active membership in your store.Step 3 — Check member status
To quickly verify whether a customer is an active member — for example, before granting access to gated content — call the membership status endpoint:status field from the contracts endpoint:
Troubleshooting
401 Unauthorized
401 Unauthorized
400 Bad Request
400 Bad Request
A required query parameter is missing or malformed. Confirm that
shop is your full .myshopify.com domain and that customerId is a numeric Shopify customer ID.Empty content array
Empty content array
The customer exists but has no memberships. Use a different customer ID, or log in to your Appstle dashboard and confirm which customers have active contracts.
429 Too Many Requests
429 Too Many Requests
You have exceeded the rate limit for your store. Implement exponential backoff and retry after a short delay.
Next steps
Integration Guide
Full patterns for CRMs, email platforms, access control, and analytics integrations.
Webhooks
Receive real-time events when memberships are created, cancelled, or renewed.