Webhook

You can use a webhook integration to send an HTTP GET or POST request to a target URL. This is useful for running actions and integrating with third-party platforms, and other external APIs that support them.

Webhook Parameters

With method: GET

Please view our article, Personalization Fields for a list of variables you can add to your webhook url.

With method: POST

The following parameters are included in our notifications:

Variable NameDescription
bump_amount(decimal) Order bump amount
bump_id(integer) Bump product ID
bump_name(string) Bump product name
coupon (string) Coupon code used at checkout
currency(string) Uppercase, 3-character currency code – USD, GBP, etc
customer_country(string) Customer country
customer_email(string) Customer’s email address
customer_firstname(string) Customer’s first name
customer_lastname(string) Customer’s last name
customer_name(string) Customer’s full name
customer_phone(string) Customer’s first name
order_id(integer) Order ID
order_amount(decimal) Total order amount
order_status(string) Order status
order_url(string) The page the order was placed on
payment_plan(string) The name of the selected payment plan
product_id(string) The main product’s ID
product_name(string) The main product’s name
studiocart_secret(string) The secret is the same as the API Key found under Studiocart > Settings. You should check for this variable on the platform receiving this data, and make sure its value is the same as your API Key to ensure that nobody else can post data to your URL.
total order excluding VAT(string) Pre tax amount
VAT amount charged(string) Tax amount
VAT number(string) VAT number
VAT percentage charged(string) Tax rate
website_url(string) The website URL

Field Map

To send custom field information in the webhook using Field Maps, add the Personalization Tag and matching Custom Field ID in one string per line.

For example: 
%TEST_FIELD%: test
%DATE%: test2