Skip to main content
square.onOrderCustomAttributeDefinitionOwnedDeleted subscribes to order.custom_attribute_definition.owned.deleted for the selected seller. It requires ORDERS_READ.

Example

automations/square-on-order-custom-attribute-definition-owned-deleted.automation.ts

Event

A custom attribute definition owned by your application was deleted. Note that only the definition owner can delete a custom attribute definition. The signal resolves to the official Square.OrderCustomAttributeDefinitionOwnedDeletedEvent payload with type narrowed to order.custom_attribute_definition.owned.deleted.