Webhook: Customer

Customer webhooks are fired in response to actions within the lifecycle of a Customer. This could be the creation of a new Customer through an order or through a manual addition, changes to names, a GDPR redaction or outright removal of the Customer.

customer_create

Description

This webhook is fired when a Customer record is created

Payload Format

Attribute Type Description
id String The identifier of this Customer
store_id String The identifier of the Store this Customer belongs to
first_name String The first name of this Customer
last_name String The last or surname of this Customer
email String The email address of this Customer
order_count Integer The number of orders this Customer has made
updated_at DateTime An ISO8166 format timestamp for the last update to this record
created_at DateTime An ISO8166 format timestamp for the creation time of this record

customer_update

Description

This webhook is fired when a Customer record is updated

Payload Format

Attribute Type Description
id String The identifier of this Customer
store_id String The identifier of the Store this Customer belongs to
first_name String The first name of this Customer
last_name String The last or surname of this Customer
email String The email address of this Customer
order_count Integer The number of orders this Customer has made
updated_at DateTime An ISO8166 format timestamp for the last update to this record
created_at DateTime An ISO8166 format timestamp for the creation time of this record

customer_redact

Description

This webhook is fired when a Customer has requested redaction of PII

Payload Format

Attribute Type Description
id String The identifier of the Customer to redact

marketing_consent

Description

This webhook is fired when a Customer has consented to receiving marketing communications

Payload Format

Attribute Type Description
id String The identifier of this Customer
store_id String The identifier of the Store this Customer belongs to
first_name String The first name of this Customer
last_name String The last or surname of this Customer
email String The email address of this Customer
order_count Integer The number of orders this Customer has made
updated_at DateTime An ISO8166 format timestamp for the last update to this record
created_at DateTime An ISO8166 format timestamp for the creation time of this record

Additional Data Types