Automation Rules

Count the order lines this rule matches right now. Runs the same compiler and the same SQL as a scheduled run, wrapped in COUNT(*) — nothing is written. Pass conditions to preview an unsaved edit; omit the body to preview the saved rule.

post/api/automation-rules/{id}/preview

Path parameters

idstring required

Request body

conditionsSchema0Input — unresolved $ref
sampleSizeinteger
sampleOffsetinteger

Response

Default Response

Changes

Changed in 1 of the 21 revisions of this API.1

Of the 21 revisions, 1 has no diff computed.