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

Example

automations/square-on-order-created.automation.ts

Event

An Order was created. This event is triggered when an order is created by a Square product or your application. The signal resolves to the official Square.OrderCreatedEvent payload with type narrowed to order.created.