---
title: "Updates a LegacyCountryDetail by id"
method: PUT
path: "/LegacyCountryDetail/{CountryName}"
tags: ["LegacyCountryDetail"]
---

# Updates a LegacyCountryDetail by id

`PUT /LegacyCountryDetail/{CountryName}`

## Request

- Base URL: `https://yourorgsite.com/api`
- URL: `https://yourorgsite.com/api/LegacyCountryDetail/{CountryName}`
- Auth: OAuth 2
  - Implicit: `https://yourorgsite.com`

Updates an instance of LegacyCountryDetail by id

## Path parameters

- `CountryName` string, required

## Request body

- LegacyCountryDetailData
  - `$type` 'Asi.Soa.Membership.DataContracts.LegacyCountryDetailData, Asi.Contracts', required: The DataType must be "Asi.Soa.Membership.DataContracts.LegacyCountryDetailData, Asi.Contracts"
  - `AddressFormat` AddressFormatData
    - `$type` 'Asi.Soa.Membership.DataContracts.AddressFormatData, Asi.Contracts', required: The DataType must be "Asi.Soa.Membership.DataContracts.AddressFormatData, Asi.Contracts"
    - `AddressFormatId` integer
    - `Description` string
    - `Formula` string
    - `Name` string
  - `CountryCode` string
  - `CountryName` string
  - `DefaultShippingMethod` DeliveryMethodData
    - `$type` 'Asi.Soa.Commerce.DataContracts.DeliveryMethodData, Asi.Contracts', required: The DataType must be "Asi.Soa.Commerce.DataContracts.DeliveryMethodData, Asi.Contracts"
    - `DeliveryMethodId` string
    - `Name` string
  - `EuCountryCode` string
  - `Iso3DigitCountryCode` string
  - `MailGroup` string
  - `UseGstTaxation` boolean
  - `VatIntrastateCode` string
  - `VatNumberMaximumLength` integer
  - `VatNumberMinimumLength` integer
  - `VatValidationProcedure` string

## Response `200`

The request was successful.

---

[API](https://skmtc.dev/imis/apis/party.md) - [All operations](https://skmtc.dev/imis/apis/party/llms.txt) - [OpenAPI document](https://skmtc.dev/imis/apis/party/revisions/6e27a5e07ae6?raw)
