Base URL
All Bundles endpoints currently use this host:/api/external/. Storefront endpoints are documented in the generated Storefront API reference.
Authentication
- Admin API
- Storefront API
Direct backend integrations pass the merchant’s API key in the Keep this key server-side only.
X-API-Key header.Admin API endpoints
Get bundle rules
Retrieve configured bundle rules for a store.Get discount rules
Retrieve discount-oriented bundle rules.Get build-a-box rules
Retrieve build-a-box bundle rules.Storefront API endpoints
Use the Storefront API reference for exact schemas. The main categories are:Build-a-box lookup
Build-a-box lookup
Fetch build-a-box configuration by token, handle, or single-product context so a custom storefront can render the correct bundle experience.
Discount generation
Discount generation
Generate bundle discounts and shipping discounts for eligible build-a-box selections.
Visitor activity
Visitor activity
Ping visitor activity for Appstle storefront bundle widgets and customer-facing flows.
Production checklist
- Keep Admin API keys server-side.
- Cache bundle-rule reads where possible; merchant configuration changes less frequently than storefront traffic.
- Treat Storefront API token parameters as flow-specific and avoid hard-coding them across shops.
- Implement retries with exponential backoff for
429and transient5xxresponses. - Log request IDs and response status codes for merchant-support debugging.