Updates the territory with the specified key ///
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters :
sales_territory| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| code |
Field used for Embedded entity (store there your ERP PK) |
string |
Max length: 50 |
| description |
Description of the territory |
string |
Required |
| sales_organization_id |
FK of sales_organization. Filled if specific of one SO, empty if can be used by all |
globally unique identifier | |
| sales_organization_code |
Embedded entity "sales_organization" using ERP PK when adding/updating company_type |
string | |
| sales_organization |
Embedded entity "sales_organization" when adding/updating company_type |
sales_organization | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Request Formats :
application/json, text/json
Sample:
{
"id": "c2f13755-922a-4dc7-916a-597cbecaffa3",
"code": "sample string 2",
"description": "sample string 3",
"sales_organization_id": "538b52af-c77e-4156-9d62-60aa6911d381",
"sales_organization_code": "sample string 5",
"sales_organization": {
"id": "684ddf20-cb26-48ba-a68d-ad2ade3a6edb",
"code": "sample string 2",
"name": "sample string 3",
"description": "sample string 4",
"db_country_id": "d9c44701-355c-4dbc-9627-bf0fa27313c2",
"db_currency_id": "d88c1b10-6a48-4498-85f4-86effc2ce38c",
"db_language_id": "66b799f4-250c-4930-ad93-c5fe7fb3d475",
"accountancy_code": "sample string 8",
"archived": true,
"default_unit_of_measure_system_type": "sample string 10",
"street": "sample string 11",
"street2": "sample string 12",
"street_number": "sample string 13",
"zip": "sample string 14",
"city": "sample string 15",
"email": "sample string 16",
"phone": "sample string 17",
"fax": "sample string 18",
"url": "sample string 19",
"vat_reg_code": "sample string 20",
"modified_dateutc": "2026-04-14T05:30:32.1083974+00:00"
},
"modified_dateutc": "2026-04-14T05:30:32.1083974+00:00"
}
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.