Tracking Users (Non-shopify)
Use this apis if you are not using shopify.
With user tracking APIs, you can create a new user or update existing users. For each customer being created/updated you will need to provide a unique identifier of this customer. The identifier can be a customer's email id or mobile number.
/rest-api/customer
POST
https://dcqs-india.growlytics.in/rest-api/customer
Using /rest-api/customer API, you can create or update the customer. If the customer already exists with a given unique id, the customer will be updated, otherwise, a new customer will be created.
Headers
x-growlytics-key*
string
Growlytics API Key
Request Body
attributes*
object
Array Of Key value paris.
id*
string
Customer's unique id. If the customer already exists with a given unique id, the customer will be updated. Otherwise, a new customer will be created.
API Example
Terms & Considerations
Custom Attribute names must be less than 50 characters.
Custom Attribute names are case-sensitive.
Allowed data types for event attributes:
string
,number
,boolean
,date
In a Customer Profile, you can set a maximum number of 100 custom attributes.
Data types of each attributes are defined when they are tracked for the first time. For the second time, if the data type is not matching with the original data type, attributes will be ignored.
Last updated