latestOpenAPI 3.0.32026-08-22505302.1 MB

60d6c901bc4e

Automation Rules

Create an automation rule for the current company. The rule is saved as a draft unless status is set to active. Conditions must include at least one positive condition — a rule made only of negations matches nearly every order line.

post/api/automation-rules/

Request body

namestring required
descriptionstring
workflowIdstring
workflowTemplateKeystring
stepConfigsobject
triggerCronstring
timezonestring
status'draft' | 'active'
conditionsSchema0Input required— unresolved $ref

Response

Default Response