Example of customer JSON data sent by webhook

Created by support team, Modified on Thu, 5 Aug, 2021 at 4:46 PM by support team

Here is an example of the customer record JSON data sent to a user-defined endpoint as a result of the customer.update webhook trigger.


{

   "reference":"123",

   "data":{

      "id":123,

      "email":"customer@domain.com",

      "country":"USA",

      "notes":"",

      "waiver":null,

      "createdUserName":null,

      "first_name":"John",

      "last_name":"Doe",

      "address_line_1":"123 House",

      "address_line_2":"123 Street",

      "address_city":"Home City",

      "address_state":"NY",

      "postal_code":"12345",

      "phone_number":"+12345678901",

      "other_phone":"+10987654321",

      "signature_data_uri":null,

      "signature_ts":null,

      "custom_fields":[

         

      ],

      "source_channel":null,

      "home_location":"",

      "stripe_customer_id":"cus_JdI8KtdOPagCPX",

      "lightspeed_customer_id":"",

      "marketing_opt_in":"on",

      "din_setting_ts":null,

      "din_setting":null,

      "din_setting_user_name":null,

      "address_id":null,

      "delivery_address_ids":[

         

      ],

      "default_delivery_address_id":null,

      "created_ts":1623145381944,

      "created_user_name":null,

      "created_user_id":null,

      "updated_ts":1628164750655,

      "updated_user_id":5403319965057024

   },

   "event":"customer.update"

}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article