---
title: "Create rule"
method: POST
path: "/workflows/rules"
tags: ["Workflows"]
---

# Create rule

`POST /workflows/rules`

Create a rule for the retailer.

🔒 Requires: `business_rules:write` scope

## Request body

- BusinessRuleParams — The parameters that can be passed to the create rule API.
  - `event_type` 'sale.ready_for_payment' | 'sale.line_items.added' | 'sale.customer.changed' | 'sale.created' | 'sale.updated', required
  - `remote_rule_id` string, required

## Response `200`

A business rule.

- object
  - `data` BusinessRule
    - `created_at` string, date-time — The creation timestamp in UTC.
    - `event_type` 'sale.ready_for_payment' | 'sale.line_items.added' | 'sale.customer.changed' | 'sale.created' | 'sale.updated', required
    - `id` string
    - `remote_rule_id` string, required

---

[API](https://skmtc.net/lightspeedhq/apis/api-2026-07.md) · [All operations](https://skmtc.net/lightspeedhq/apis/api-2026-07/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightspeedhq/api-2026-07/revisions/72d4ceb46dbb/schema)
