Contact update
Code
Occurs when an existing contact is updated on a Squarespace website — for example when contact fields, email, or marketing preferences change. See the Contacts API for the full resource model.
Read the Webhooks overview for details about the information sent with every Squarespace webhook notification.
When the default address changes, a
contact.updateis triggered. If a different address is assigned as the contact's default shipping address — for example because the previous default was deleted, or a new address was explicitly set as default — acontact.updateevent fires because the contact'sdefaultShippingAddressreference has changed. However, when the content of the already-default address changes (fields likeline1,city, etc.), nocontact.updateis emitted — only anaddress.updateevent fires.
Marketing acceptance changes always produce a separate
contact.update. WhenacceptsMarketingis changed alongside other contact fields, the marketing change generates its owncontact.updateevent in addition to any other update event. When a new contact is created withacceptsMarketingset totrue, an extracontact.updateis also emitted — and due to the asynchronous nature of webhooks, it may arrive before the correspondingcontact.create. Integrators should handlecontact.updatefor a contact that has not yet been seen viacontact.create.
Request payload example
Code