Skip to content
English - United Kingdom
  • There are no suggestions because the search field is empty.

Custom HTML Integration

To update the One Tribe platform in real-time when a sale or signup happens on your site:

Step 1: Making your POST request

codeString Send a POST Request to the endpoint:

Endpoint

You can send your requests to this endpoint.

https://staging-api.onetribeglobal.com/direct/track

Copy

Post Request Body

Key

Type

Required

Description

Content-Type

header

Yes

"application/json"

merchantId

int

Yes

Your merchantId is bOpxVgsXVmsaBdpvadvHMCx

totalAmount

int

Yes

Value of the sale, or a 0 for a non-sale conversion (e.g. a newsletter sign-up you wish to incentivize)

trackedCurrency

string

No

ISO 4217 Currency

products

array

No

An array containing product objects with "id" (str), "name" (str) and "category" (str / int) keys

       

Example Request Body

See below an example request.


        { 

            "merchantId": "bOpxVgsXVmsaBdpvadvHMCx" , 

            "totalAmount": 145.24, 

            "trackedCurrency": "GBP", 

            "products": [

                {

                    "id": "119", 

                    "name": "Blue socks", 

                    "category": "Socks" 

                },

                { 

                    "id": "121",

                    "name": "Expensive Tie", 

                    "category": "Ties"

                }

            ]

        }

       

 

Step 2: Check your integration

When you have added your Webhook please confirm it works by clicking 'Check Integration' below:

Update Integration

Integrations | One Tribe

May 24