Skip to main content
square.onLaborTimecardDeleted subscribes to labor.timecard.deleted for the selected seller. It requires TIMECARDS_READ.

Example

automations/square-on-labor-timecard-deleted.automation.ts

Event

A timecard was deleted. The event data contains only the id of the deleted timecard and the deleted field set to true . The signal resolves to the official Square.LaborTimecardDeletedEvent payload with type narrowed to labor.timecard.deleted.