Skip to main content
PUT
/
commerce
/
rules
/
customer
/
{code}
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

code
string
required

Query Parameters

responseFields
string

limits which fields are returned in the response body

Body

application/json
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

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