Customers create
Triggered when a C-end customer is created.
Requires the customer access scope. Minimum supported version: 202007.
Request headers
The event that triggered this delivery, e.g. orders/create
orders/createBase64-encoded HMAC-SHA256 signature of the request body, generated with your app's Client Secret. Use it to verify the request comes from Shoplazza
The domain of the store that generated the event
example.myshoplaza.comThe API version used to serialize the payload
2025-06Deduplication ID for this delivery. It stays the same across retries of the same event—use it for idempotency
Request body
- Schema
- Example
customer object
idstringUnique customer ID
namestringCustomer name
first_namestringCustomer's first name
last_namestringCustomer's last name
emailstringCustomer's email address
phonestringCustomer's phone number
phone_area_codestringArea code of the customer's phone number
contact_typestringContact type, either email or phone
accepts_marketingbooleanWhether the customer has subscribed to email marketing
accepts_sms_marketingbooleanWhether the customer has subscribed to SMS marketing
subscribed_flagintegerThe customer's email marketing subscription status
sms_subscribed_flagintegerThe customer's SMS subscription status flag
registeredbooleanWhether the customer has registered
free_taxbooleanWhether the customer is tax-exempt
tagsstringCustomer tags
sourcestringSource of the customer data
orders_countintegerTotal number of orders placed by the customer
total_spentstringTotal amount spent by the customer
first_order_atstringTime of the customer's first order
last_order_atstringTime of the customer's most recent order
created_atstringTime when the customer was created, in ISO-8601 format
updated_atstringTime when the customer was last updated, in ISO-8601 format
default_address object
The customer's default address
idstringAddress record ID
customer_idstringID of the customer this address belongs to
first_namestringRecipient's first name
last_namestringRecipient's last name
namestringRecipient's full name (first_name + last_name)
companystringCompany name
address1stringStreet address
address2stringSecond address line
citystringCity
areastringArea (district or county)
provincestringProvince or state
province_codestringProvince or state code
countrystringCountry
country_codestringISO country code
country_namestringFull country name
zipstringZIP/postal code
phonestringContact phone number
phone_area_codestringPhone area code
emailstringContact email associated with the address
genderstringRecipient's gender
defaultbooleanWhether this is the default address
addresses object[]
List of all the customer's addresses
Array [idstringAddress record ID
customer_idstringID of the customer this address belongs to
first_namestringRecipient's first name
last_namestringRecipient's last name
namestringRecipient's full name (first_name + last_name)
companystringCompany name
address1stringStreet address
address2stringSecond address line
citystringCity
areastringArea (district or county)
provincestringProvince or state
province_codestringProvince or state code
countrystringCountry
country_codestringISO country code
country_namestringFull country name
zipstringZIP/postal code
phonestringContact phone number
phone_area_codestringPhone area code
emailstringContact email associated with the address
genderstringRecipient's gender
defaultbooleanWhether this is the default address
]
{
"customer": {
"id": "string",
"name": "string",
"first_name": "string",
"last_name": "string",
"email": "string",
"phone": "string",
"phone_area_code": "string",
"contact_type": "string",
"accepts_marketing": true,
"accepts_sms_marketing": true,
"subscribed_flag": 0,
"sms_subscribed_flag": 0,
"registered": true,
"free_tax": true,
"tags": "string",
"source": "string",
"orders_count": 0,
"total_spent": "string",
"first_order_at": "string",
"last_order_at": "string",
"created_at": "string",
"updated_at": "string",
"default_address": {
"id": "string",
"customer_id": "string",
"first_name": "string",
"last_name": "string",
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"area": "string",
"province": "string",
"province_code": "string",
"country": "string",
"country_code": "string",
"country_name": "string",
"zip": "string",
"phone": "string",
"phone_area_code": "string",
"email": "string",
"gender": "string",
"default": true
},
"addresses": [
{
"id": "string",
"customer_id": "string",
"first_name": "string",
"last_name": "string",
"name": "string",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"area": "string",
"province": "string",
"province_code": "string",
"country": "string",
"country_code": "string",
"country_name": "string",
"zip": "string",
"phone": "string",
"phone_area_code": "string",
"email": "string",
"gender": "string",
"default": true
}
]
}
}