Trickle Docs
  • Trickle
  • Getting started
  • Frequently asked questions
  • Triggers
    • Scheduled trigger ready
    • Customer tags changed
    • Product tags changed
    • Order cancelled (deprecated)
  • Actions
    • Schedule trigger
    • Add order line item
    • Send advanced HTTP request (deprecated)
  • Extras
    • Hooks
  • Privacy Policy
Powered by GitBook
On this page
  • Action properties
  • Notes
  • Example
  1. Actions

Send advanced HTTP request (deprecated)

Connect to apps, data, and devices through an HTTP request.

PreviousAdd order line itemNextHooks

Last updated 3 years ago

Shopify added native support for variables in URLs and headers to their own HTTP request action on . 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.

Action properties

Name
Description

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.

Notes

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.

Example

September 9, 2020
Send a HTTP request using dynamic customer data in the URL and body.