Build bundles with your own storefront UI
Prefer your own design over Appstle’s built-in widgets? Read the bundle rule over the API, render your own selector, and let Appstle’s automatic discount apply the savings at checkout. Start with the headless overview.
Available APIs
Appstle Bundles exposes two REST API surfaces. Pick the one that matches where your code runs:- Admin API — server-side, authenticated with
X-API-Key. For reading configured bundle and discount rules from a backend service. Browse the full reference under Admin API in the sidebar. - Storefront API — customer-facing, accessed through Shopify App Proxy. For rendering build-a-box experiences and generating bundle discounts. Browse the full reference under Storefront API in the sidebar.
Which API should you use?
- Use the Admin API when…
- Use the Storefront API when…
- You need to read configured bundle rules from a backend service
- You need to read bundle discount rules
- You are syncing build-a-box rules into another system
- You are building reporting, auditing, or merchant-support tooling
- Your code runs anywhere outside a customer’s browser on the storefront
Admin API requests require an
X-API-Key header. Keys are created in the Appstle dashboard under Settings → API Key Management. Never expose keys in client-side code.Key features
Bundle rule lookup
Read active bundle rules and discount rules for a store so external systems can mirror merchant configuration.
Build-a-Box experiences
Fetch build-a-box configuration by token or product handle and render bundle selectors in custom storefronts.
Bundle discounts
Generate bundle and shipping discounts for eligible build-a-box selections.
Storefront activity
Record storefront visitor activity for Appstle-powered bundle widgets and customer-facing flows.
Base URL
All Admin API endpoints use:HTTP status codes
All API responses use standard HTTP status codes.| Code | Meaning |
|---|---|
200 | Success |
400 | Bad request — invalid parameters |
401 | Unauthorized — missing or invalid API key |
403 | Forbidden — key lacks required permissions |
404 | Not found |
429 | Rate limit exceeded |
500 | Server error |
Next steps
Authentication
Create an API key and learn how to authenticate server-side Bundles API calls.
Quickstart
Get an API key and make your first bundle-rule request.
Integration guide
Review the main Admin and Storefront endpoint categories.