POST api/company/update

Update Company. Required fields: LocationId. Is not allowing multi location.

Request Information

Allows access to child location using parent company token, in this case use location id parameter

URI Parameters

None.

Body Parameters

company info

LocationInfo
NameDescriptionTypeAdditional information
LocationId

integer

None.

LocationName

string

None.

CompanyCode

string

None.

Phone

string

None.

Address

string

None.

City

string

None.

StateProvinceId

integer

None.

ZipPostal

string

None.

CountryId

integer

None.

TimeZone

string

None.

Email

string

None.

ShowCategory

boolean

None.

EnableShipping

boolean

None.

ShipOption

ShippingOptions

None.

SalesPersonRequired

boolean

None.

CustomerRequired

boolean

None.

UseAvalara

boolean

None.

AvalaraConfiguration

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationId": 1,
  "LocationName": "sample string 2",
  "CompanyCode": "sample string 3",
  "Phone": "sample string 4",
  "Address": "sample string 5",
  "City": "sample string 6",
  "StateProvinceId": 1,
  "ZipPostal": "sample string 7",
  "CountryId": 1,
  "TimeZone": "sample string 8",
  "Email": "sample string 9",
  "ShowCategory": true,
  "EnableShipping": true,
  "ShipOption": 0,
  "SalesPersonRequired": true,
  "CustomerRequired": true,
  "UseAvalara": true,
  "AvalaraConfiguration": "sample string 10"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.