latestSwagger 2.02026-08-0982147352.7 KB

be66ed178abe

Location

locations

Returns the ids of the locations created.<p>Scopes: import_plan, update_company</p>

post/v{version}/companies/{company_id}/locations

Path parameters

company_idstring required

The id of the company.

versionstring required

Request body

location_idstring required

The id of the location.

namestring required

The name of the location.

phonestring

The phone number of the location.

faxstring

The fax number of the location.

headquartersboolean

A boolean representing whether or not this location is the headquarters for the company.

Response

Success

errorstring

Contains any error messages, if applicable.