Znode

PUT portalcountries/{portalCountryId}

Updates an existing portal country.

Request Information

» Parameters

Name Description Additional information
portalCountryId The ID of the portal country.

Define this parameter in the request URI.

model The model of the portal country.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "Country": {
    "$id": "2",
    "Code": "sample string 1",
    "DisplayOrder": 2,
    "IsActive": true,
    "Name": "sample string 4",
    "States": {
      "$id": "3",
      "$values": [
        {
          "$id": "4",
          "Code": "sample string 1",
          "CountryCode": "sample string 2",
          "Name": "sample string 3"
        },
        {
          "$ref": "4"
        },
        {
          "$ref": "4"
        }
      ]
    }
  },
  "CountryCode": "sample string 1",
  "IsBillingActive": true,
  "IsShippingActive": true,
  "PortalCountryId": 4,
  "PortalId": 5,
  "CountryName": "sample string 6"
}