Skip to main content
square.onLoyaltyPromotionCreated subscribes to loyalty.promotion.created for the selected seller. It requires LOYALTY_READ.

Example

automations/square-on-loyalty-promotion-created.automation.ts

Event

A loyalty promotion was created. The signal resolves to the official Square.LoyaltyPromotionCreatedEvent payload with type narrowed to loyalty.promotion.created.