Skip to main content
POST
Update Loyalty Rule Chain

Authorizations

X-API-KEY
string
header
required

Path Parameters

loyaltyRuleChainId
string<uuid>
required

Query Parameters

organizationId
string<uuid>
required
websiteId
string<uuid>
required

Body

application/json

Body

name
string
required
loyaltyRuleId
string<uuid>
required

Unique identifier for the loyalty rule

Example:

"123e4567-e89b-12d3-a456-426614174111"

loyaltyConditions
Conditions · object[]
required

Array of conditions for the rule chain

Minimum array length: 1
Example:
operatorType
enum<string>
default:AND

Type of the condition. AND if all conditions must be met, OR if any condition can be met.

Available options:
AND,
OR
Example:

"AND"

Response

200

data
object
required