Triggers regeneration and deployment of subscription widget JavaScript files for the authenticated shop. This endpoint rebuilds the widget scripts that power subscription functionality on your storefront and deploys them to CDN.
What Does This Endpoint Do? This endpoint initiates an asynchronous process to regenerate and update the JavaScript files that enable subscription widgets on your store’s theme. The widget scripts handle:
When to Use This Endpoint:
1. After Widget Settings Changes:
2. After Theme Customization:
3. After Plan Configuration Changes:
4. Troubleshooting:
5. After App Updates:
How It Works:
What Gets Regenerated:
Process Details:
Expected Behavior:
true immediately to confirm process startedUse Cases:
Important Notes:
Best Practices:
Troubleshooting: If widgets still don’t reflect changes after regeneration:
Integration Workflows:
Theme Update Workflow:
Bulk Configuration Update:
Authentication: Requires valid API key via api_key parameter or X-API-Key header
curl --request GET \
--url https://subscription-admin.appstle.com/api/external/v2/theme-settings/regenerate-scripts-for-shoptrueDocumentation 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.
API Key (Deprecated - Use Header X-API-Key instead)
Script regeneration initiated successfully. Returns true to confirm the process has started. Scripts will be regenerated asynchronously in the background and deployed to CDN within 1-2 minutes.
The response is of type boolean.
curl --request GET \
--url https://subscription-admin.appstle.com/api/external/v2/theme-settings/regenerate-scripts-for-shoptrue