Skip to main content
square.onCustomerCustomAttributeVisibleDeleted subscribes to customer.custom_attribute.visible.deleted for the selected seller. It requires CUSTOMERS_READ.

Example

automations/square-on-customer-custom-attribute-visible-deleted.automation.ts

Event

A custom attribute that’s visible to your application was deleted from a customer profile. This event replaces the deprecated customer.custom_attribute.public.deleted event. The signal resolves to the official Square.CustomerCustomAttributeVisibleDeletedEvent payload with type narrowed to customer.custom_attribute.visible.deleted.