Skip to main content
square.onLocationCustomAttributeDefinitionVisibleDeleted subscribes to location.custom_attribute_definition.visible.deleted for the selected seller. It requires MERCHANT_PROFILE_READ.

Example

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

Event

A custom attribute definition that’s visible to your application was deleted. The signal resolves to the official Square.LocationCustomAttributeDefinitionVisibleDeletedEvent payload with type narrowed to location.custom_attribute_definition.visible.deleted.