A valid request URL is required to generate request examples{
"ruleType": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>",
"scope": "<string>",
"expression": {
"text": "<string>",
"tree": {
"type": "<string>",
"logicalOperator": "<string>",
"nodes": "<array>",
"left": "<string>",
"operator": "<string>",
"right": "<unknown>"
}
},
"metaData": "<unknown>",
"auditInfo": {
"updateDate": "2023-11-07T05:31:56Z",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"createBy": "<string>"
}
}Creates a new product rule.
A valid request URL is required to generate request examples{
"ruleType": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>",
"scope": "<string>",
"expression": {
"text": "<string>",
"tree": {
"type": "<string>",
"logicalOperator": "<string>",
"nodes": "<array>",
"left": "<string>",
"operator": "<string>",
"right": "<unknown>"
}
},
"metaData": "<unknown>",
"auditInfo": {
"updateDate": "2023-11-07T05:31:56Z",
"createDate": "2023-11-07T05:31:56Z",
"updateBy": "<string>",
"createBy": "<string>"
}
}JWT Authorization header using the Bearer scheme.
limits which fields are returned in the response body
The product rule to create.
The type of rule this ProductRule belongs to.
Unique identifier of the ProductRule. System-supplied and read-only.
ProductRule name
ProductRule description
Scope to which the ProductRule applies, valid values are: Product, Variant
Category
Show child attributes
Show child attributes
Success
The type of rule this ProductRule belongs to.
Unique identifier of the ProductRule. System-supplied and read-only.
ProductRule name
ProductRule description
Scope to which the ProductRule applies, valid values are: Product, Variant
Category
Show child attributes
Show child attributes