Update a Rule
Updates an existing rule.
Path parameters
ruleId
Identifier of the rule.
Request
This endpoint expects an object.
merchantId
Merchant identifier.
name
Name of the rule.
priority
Rule priority.
isActive
Whether the rule is active.
conditions
actions
Response
Rule updated successfully.
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
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error