Send advanced HTTP request (deprecated)
Connect to apps, data, and devices through an HTTP request.
Last updated
Connect to apps, data, and devices through an HTTP request.
Last updated
Shopify added native support for variables in URLs and headers to their own HTTP request action on September 9, 2020. We recommend merchants using this Trickle action migrate to the Shopify action.
This action is a slightly more flexible version of Shopify's native Send HTTP request action. The goal is the same - it gives you the ability to send a custom HTTP request to an external system. However, Trickle's advanced HTTP request gives you some additional flexibility:
template variables can be used within the URL of the request, meaning you're able to make requests to endpoints that need this information (Shopify's own REST API, for example);
template variables can be used when generating the headers for your request.
Name | Description |
---|---|
The action isn't able to automatically detect the content-type from the body, so if you're sending a JSON-formatted request in the body like { "customer_id": "{{customer.id}}" }
, you may need to add Content-Type: application/json
in the headers.
HTTP method
Required. "GET", "PUT", "POST" etc.
URL
Required. Can use template variables.
Headers
Optional. One header per line, eg "Content-Type: application/json". Can use template variables.
Body
Optional.