Chord Commerce Event Tracking
...
Track
User Created
5 min
this event is triggered when a customer creates a user account properties name type description required user id string unique id of the user yes email string email of the user yes roles string\[] list of roles assigned to the user no ship address object shipping address of the user no bill address object billing address of the user no store credit balance number balance of store credit available to the user no ship address name type description required address1 string the street address of the customer no address2 string additional street address of the customer (if necessary) no alternative phone string customer's alternative phone number no phone string customer's phone number no city string city of the shipping address no company string name of the company, if applicable no country string iso country code for the shipping address no name string customer name no state name string iso state code for the shipping address no zipcode string zip or postal code for the shipping address no bill address name type description required address1 string the street address of the customer no address2 string additional street address of the customer (if necessary) no alternative phone string customer's alternative phone number no phone string customer's phone number no city string city of the shipping address no company string name of the company, if applicable no country string iso country code for the shipping address no name string customer name no state name string iso state code for the shipping address no zipcode string zip or postal code for the shipping address no sample payload { "type" "track", "event" "user created", "properties" { "user id" "u1234", "email" "test\@example com", "roles" \[], "store credit balance" 0 00, "ship address" { "name" "john doe", "address1" "123 fake st", "address2" null, "city" "oak lawn", "zipcode" "60532", "phone" "1234567890", "state name" "il", "company" null }, "bill address" { "name" "john doe", "address1" "123 fake st", "address2" null, "city" "oak lawn", "zipcode" "60532", "phone" "1234567890", "state name" "il", "company" null } } } example curl https //production cdp ingest chord co/api/track \\ \ header "content type application/json" \\ \ header "x write key $cdp write key" \\ \ data raw '{ { "type" "track", "event" "user created", "properties" { "user id" "u1234", "email" "test\@example com", "roles" \[], "store credit balance" 0 00, "ship address" { "name" "john doe", "address1" "123 fake st", "address2" null, "city" "oak lawn", "zipcode" "60532", "phone" "1234567890", "state name" "il", "company" null }, "bill address" { "name" "john doe", "address1" "123 fake st", "address2" null, "city" "oak lawn", "zipcode" "60532", "phone" "1234567890", "state name" "il", "company" null } } }