Skip to main content
This guide covers everything you need to build a full integration with Appstle Subscriptions. It assumes you already have an API key — if not, see the Authentication page first.

Base URL

All Admin API endpoints share this base URL:

Authentication

Pass your API key in the X-API-Key header on every request:
For partner integrations that connect on behalf of multiple merchants, use the Partner Integration Framework. After a merchant approves a Nonce Handshake connection, Appstle issues your application a scoped API token for that merchant. Send that token as X-API-Key:
See Authentication for merchant API key management and Partner integration for the complete connection flow.

Looking up customer subscriptions

Get all subscriptions for a customer

The response includes active, paused, and cancelled subscriptions along with products, next billing date, shipping address, and delivery method.

Check if a customer has active subscriptions

Returns an array of subscription contract IDs. An empty array means no active subscriptions.

Get full contract details

Get upcoming orders

Subscription management

Cancel a subscription

Pause a subscription

Resume a subscription

Valid status values are ACTIVE, PAUSED, and CANCELLED.

Reschedule the next billing date

Update billing frequency

Valid billingInterval values: DAY, WEEK, MONTH, YEAR.

Skip an upcoming order

Product management

Add a product to a subscription

Remove a product from a subscription

Update product quantity

Discounts

Apply a discount code

Remove a discount

Shipping

Update shipping address

Past orders

Get order history

Rate limits

Requests are rate-limited per store. If you receive a 429 Too Many Requests response, implement exponential backoff before retrying. Do not immediately retry at full speed.

Partner integrations

If you are building a platform that connects to Appstle on behalf of multiple merchants, use the Partner Integration Framework. It provides:
  • A standard connection and merchant-approval flow
  • One isolated, revocable API token per connected merchant
  • External API access without requiring each merchant to purchase API access
  • Automatic token revocation when a merchant disconnects
Your Partner Secret authenticates /api/partner/... connection calls through X-Partner-Secret. After an approved Nonce Handshake, use the issued merchant-scoped token as X-API-Key when calling /api/external/v2/.... To get onboarded, email support@appstle.com with your company name, product description, base URL, and contact email. The Partner integration guide lists the complete onboarding requirements and implementation steps.

Further reading

Webhooks

Receive real-time events when subscriptions change.

Shopify Flow

No-code automation using Shopify’s built-in workflow engine.

Authentication

Create, rotate, and revoke merchant API keys.

Partner integration

Connect your platform and receive scoped API tokens for merchants.