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

Example

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

Event

A custom attribute definition that’s visible to your application was deleted. This event replaces the deprecated customer.custom_attribute_definition.public.deleted event. The signal resolves to the official Square.CustomerCustomAttributeDefinitionVisibleDeletedEvent payload with type narrowed to customer.custom_attribute_definition.visible.deleted.