List Rules

Retrieves a list of rules configured for one or more merchants.

Query parameters

merchantIdsstringRequired

Comma-separated list of merchant IDs.

Response

A list of rules.
idstring
Unique identifier for the rule.
namestring
Name of the rule.
merchantIdstringformat: "uuid"
Merchant identifier.
prioritydouble

Rule priority (higher precedence evaluated first).

isActiveboolean
Whether the rule is active.
conditionslist of objects
actionslist of objects
createdAtdatetime
Timestamp when the rule was created.
updatedAtdatetime
Timestamp when the rule was last updated.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error