Skip to main content
POST
/
commerce
/
targetrules
Error
A valid request URL is required to generate request examples
{
  "code": "<string>",
  "description": "<string>",
  "domain": "<string>",
  "expression": "<string>"
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Body

application/json

An object used to define a bool expression against a particular domain type

code
string | null

The user defined code for this rule must be unique

description
string | null

The description of this rule

domain
string | null

The domain of this rule ProductOrder

expression
string | null

the expression of this rule

Response

Success

An object used to define a bool expression against a particular domain type

code
string | null

The user defined code for this rule must be unique

description
string | null

The description of this rule

domain
string | null

The domain of this rule ProductOrder

expression
string | null

the expression of this rule