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

Example

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

Event

A loyalty promotion was canceled. The signal resolves to the official Square.LoyaltyPromotionUpdatedEvent payload with type narrowed to loyalty.promotion.updated.