Theme-app-extension: Make an external api call to get data to access in liquid files

Topic summary

Goal: fetch external data (via API) for use in Liquid within a theme app extension.

Key guidance:

  • Use Shopify App Proxy to expose app/server data to the storefront/Liquid. Resources shared: Shopify docs and a YouTube walkthrough.
  • Clarification: For modifying Shopify backend data, options are App Proxy or Shopify Functions. For calling external services, App Proxy is the recommended path.

Open questions/issues:

  • A participant can perform GET requests through the proxy but receives 400 Bad Request on POST attempts to an external backend. They asked if proxy POST requests have stopped working and whether there’s a new approach.
  • No protocol details or resolution were provided for POST (e.g., headers, body format, content type, or CSRF/auth handling), and no confirmation of changes to App Proxy behavior.

Status: Guidance points to App Proxy for external calls; Shopify Functions are not for external APIs. The POST error remains unresolved; discussion is ongoing. Links to docs/video are central to understanding/implementation.

Summarized with AI on December 22. AI used: gpt-5.

hey can anyone let me know what the protocol is to make post requests to external apis? i have been able to do GET requests no problem but im getting Bad Request (400) errors when trying to send data to my external backend.