Znode

PUT countries/{countryCode}

Updates an existing country.

Request Information

» Parameters

Name Description Additional information
countryCode The 2-character country code.

Define this parameter in the request URI.

model The model of the country.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "Code": "sample string 1",
  "DisplayOrder": 2,
  "IsActive": true,
  "Name": "sample string 4",
  "States": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "Code": "sample string 1",
        "CountryCode": "sample string 2",
        "Name": "sample string 3"
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  }
}