Skip to main content
POST
/
commerce
/
rules
/
shipment
Error
A valid request URL is required to generate request examples
{
  "code": "<string>",
  "name": "<string>",
  "description": "<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>"
  }
}

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

The shipment rule to create.

code
string | null

Unique identifier of the ShipmentRule. System-supplied and read-only.

name
string | null

ShipmentRule name

description
string | null

ShipmentRule description

expression
object

Category

metaData
any | null

Additional metadata.

auditInfo
object

Response

Success

code
string | null

Unique identifier of the ShipmentRule. System-supplied and read-only.

name
string | null

ShipmentRule name

description
string | null

ShipmentRule description

expression
object

Category

metaData
any | null

Additional metadata.

auditInfo
object