Widget Request Calls
Both Storefront and Admin widgets can call saved APIEase requests. The widget type determines the entry point and trigger requirements.
| Widget type | Request execution path | Trigger requirement |
|---|---|---|
| Storefront | Widget JavaScript calls apiease.runRequest through Shopify's app proxy; classic fetch calls remain supported. | Add Storefront App Proxy to the directly called request. |
| Admin | A widget button calls apiease.runRequest in the authenticated Shopify admin interface. | A Storefront App Proxy trigger is not required. |
Both widget types pass runtime values in the same embedded parameter groups, such as {liquidParamsEmbedded: {reference: 'example'}}. The Admin widget's inputs object only remembers editable form values; it is not part of the request calling format. Follow Requests In Widgets for the complete examples, parameter formats, response handling, and bulk selections.
For the storefront route and customer access controls, see Storefront calls. For widget placement, use Storefront Widgets or Admin Widgets.