Webhook: CustomerGroup
This family of webhooks provides lifecycle information for CustomerGroup records within a Store
customer_group_create
Description
Fired when a new CustomerGroup is created for a Store
Payload Format
Attribute | Type | Description |
---|---|---|
id | String | The identifier of this record |
store_id | String | The identifier of the Store that owns this CustomerGroup |
handle | String | A short permalink-style string to reference the group, e.g in a Theme |
name | String | The human readable name of this CustomerGroup |
member_count | Integer | How many active Customers are in this CustomerGroup |
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_group_update
Description
Fired when a CustomerGroup is updated
Payload Format
Attribute | Type | Description |
---|---|---|
id | String | The identifier of this record |
store_id | String | The identifier of the Store that owns this CustomerGroup |
handle | String | A short permalink-style string to reference the group, e.g in a Theme |
name | String | The human readable name of this CustomerGroup |
member_count | Integer | How many active Customers are in this CustomerGroup |
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_group_destroy
Description
Fired when a CustomerGroup is removed from the Store
Payload Format
Attribute | Type | Description |
---|---|---|
id | String | The identifier of the CustomerGroup removed |