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

Example

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

Event

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