Znode

PUT shippingrules/{shippingRuleId}

Updates an existing shipping rule.

Request Information

» Parameters

Name Description Additional information
shippingRuleId The ID of the shipping rule.

Define this parameter in the request URI.

model The model of the shipping rule.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "BaseCost": 1.0,
  "ClassName": "sample string 2",
  "Custom1": "sample string 3",
  "Custom2": "sample string 4",
  "Custom3": "sample string 5",
  "ExternalId": "sample string 6",
  "errorMessage": "sample string 7",
  "LowerLimit": 1.0,
  "PerItemCost": 8.0,
  "ShippingOption": {
    "$id": "2",
    "CountryCode": "sample string 1",
    "Description": "sample string 2",
    "CustomErrorMessage": "sample string 3",
    "DisplayOrder": 4,
    "ExternalId": "sample string 5",
    "HandlingCharge": 6.0,
    "ActiveInd": true,
    "ProfileId": 1,
    "ShippingCode": "sample string 8",
    "ShippingId": 9,
    "PortalId": 10,
    "ShippingType": {
      "$id": "3",
      "ClassName": "sample string 1",
      "Description": "sample string 2",
      "IsActive": true,
      "Name": "sample string 4",
      "ShippingTypeId": 5
    },
    "ShippingTypeId": 11,
    "ShippingRule": {
      "$ref": "1"
    },
    "ShippingServiceCodeId": 12,
    "ShippingServiceCode": {
      "$id": "4",
      "Code": "sample string 1",
      "Description": "sample string 2",
      "DisplayOrder": 1,
      "IsActive": true,
      "ShippingServiceCodeId": 4,
      "ShippingType": {
        "$ref": "3"
      },
      "ShippingTypeId": 5
    },
    "ShippingtypeName": "sample string 13",
    "ProfileName": "sample string 14",
    "ClassName": "sample string 15",
    "UserType": "sample string 16"
  },
  "ShippingOptionId": 9,
  "ShippingRuleId": 10,
  "ShippingRuleType": {
    "$id": "5",
    "ClassName": "sample string 1",
    "Description": "sample string 2",
    "IsActive": true,
    "Name": "sample string 4",
    "ShippingRuleTypeId": 5
  },
  "ShippingRuleTypeId": 11,
  "UpperLimit": 1.0
}