countriesRegion
PATCH {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/countriesRegions({{countryRegionId}})?tenant={{tenant}}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
tenant | string |
Request Body
{"displayName"=>"Wales 2"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
If-Match | string |
RESPONSES
status: OK
{"@odata.context":"http://educator:7048/BC/api/v2.0/$metadata#companies(f592399f-021d-ed11-9db9-000d3aa935da)/countriesRegions/$entity","@odata.etag":"W/\"JzE5OzQ2NDIyNTE2MzQxOTIzMDcwNzkxOzAwOyc=\"","id":"e153136b-e123-ed11-88e7-f2834877f72d","code":"WA","displayName":"Wales 2","addressFormat":"City_x002B_Post_x0020_Code","lastModifiedDateTime":"2022-08-24T19:18:47.963Z"}