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

Path Parameters

code
string
required

The code of the rule to update.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Body

application/json

The updated shipment rule.

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