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

Example

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

Event

A custom attribute definition was created by your application. The application that created the custom attribute definition is the owner of the definition and corresponding custom attributes. The signal resolves to the official Square.OrderCustomAttributeDefinitionOwnedCreatedEvent payload with type narrowed to order.custom_attribute_definition.owned.created.