Skip to main content
POST
/
commerce
/
rules
/
customer
/
evaluate
/
{customerAccountId}
Error
A valid request URL is required to generate request examples
[
  {
    "id": 123,
    "code": "<string>",
    "name": "<string>",
    "description": "<string>",
    "expression": {
      "text": "<string>",
      "tree": {
        "type": "<string>",
        "logicalOperator": "<string>",
        "left": "<string>",
        "right": "<unknown>",
        "nodes": "<array>",
        "operator": "<string>"
      }
    },
    "auditInfo": {
      "updateDate": "2023-11-07T05:31:56Z",
      "createDate": "2023-11-07T05:31:56Z",
      "updateBy": "<string>",
      "createBy": "<string>"
    },
    "ruleType": "<string>"
  }
]

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

customerAccountId
integer<int32>
required

Query Parameters

responseFields
string

limits which fields are returned in the response body

Body

application/json
codes
string[] | null
ruleType
string | null

Response

Success

id
integer<int32>

Unique id

code
string | null

unique code.

name
string | null

Rule name

description
string | null

Description for rule

expression
object

Category

auditInfo
object
ruleType
string | null

Scope id