{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/store_customer_updated", "title": "store/customer/updated", "description": "This webhook is triggered when a customer is updated. In addition, this webhook is triggered when a shopper initially enters custom form field values within the account sign-up form. Please note that neither changing existing data in customer form fields nor changing a customer\u02bcs address will trigger the webhook.\n\n\n```json filename=\"Example callback object\" showLineNumbers\n{\n \"created_at\": 1561482670,\n \"store_id\": \"1025646\",\n \"producer\": \"stores/{store_hash}\",\n \"scope\": \"store/customer/updated\",\n \"hash\": \"352e4afc6dd3fc85ea26bfdf3f91852604d57528\",\n \"data\": {\n \"type\": \"customer\",\n \"id\": 32\n }\n}\n```", "x-examples": {}, "allOf": [ { "$ref": "#/components/schemas/webhook_callback_base" }, { "description": "A lightweight description of the event that triggered the webhook. Will vary depending on the event registered.", "properties": { "data": { "type": "object", "description": "A lightweight description of the event that triggered the webhook. Will vary depending on the event registered.", "properties": { "type": { "type": "string", "description": "The type will always be `customer`.", "default": "customer", "example": "customer", "readOnly": true }, "id": { "type": "integer", "description": "ID of the customer", "example": 32 } } } } } ], "x-tags": [ "created" ], "type": "object", "x-internal": false }