Get a Rule
Fetches a specific rule by its ID.
Path parameters
ruleId
Identifier of the rule.
Response
Rule details.
id
Unique identifier for the rule.
name
Name of the rule.
merchantId
Merchant identifier.
priority
Rule priority (higher precedence evaluated first).
isActive
Whether the rule is active.
conditions
actions
createdAt
Timestamp when the rule was created.
updatedAt
Timestamp when the rule was last updated.
Errors
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error