This guide walks you through the three steps needed to make your first successful API call: creating an API key, sending an authenticated request, and reading the response. By the end you will have verified that your credentials work and seen what subscription data looks like.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.
You need an active Appstle Subscriptions installation on a Shopify store to follow this guide. If you do not have one yet, install the app from the Shopify App Store first.
Step 1 — Get your API key
Navigate to API Key Management
Log in to your Appstle admin panel and go to Settings → API Key Management.
Create a key
Click Create New Key. Give it a name like
Quickstart Test so you can identify it later.Step 2 — Make your first request
The simplest useful call checks whether a specific customer has any active subscriptions. ReplaceYOUR_API_KEY with your key and CUSTOMER_ID with a numeric Shopify customer ID from your store.
Step 3 — Check the response
A successful response returns an HTTP200 with a JSON array of Shopify subscription contract IDs for that customer:
401, double-check that you copied the API key correctly and that it has not been revoked.
| Response | Meaning |
|---|---|
200 with array | Customer has subscriptions — the array contains their contract IDs |
200 with [] | Customer exists but has no active subscriptions |
401 | API key is missing or invalid |
404 | No customer found with that ID |
Step 4 — Retrieve full subscription details
Now that you have a contract ID, you can fetch the complete details for that subscription:What’s next?
Integration guide
Full walkthrough of subscription management, product operations, discounts, shipping, and more.
Webhooks
Receive real-time notifications when subscriptions change.
Shopify Flow
Automate subscription workflows without writing backend code.