Company
Company Location
Information about a single Location.
get/companies/{companyId}/locations/{locationId}
Request
- Base URLhttps://api.paychex.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companyIdstring required
ID associated with desired company.
locationIdstring required
The ID of the location.
Query parameters
asofstring
Returns location as of the date used in the request.
Response
successful operation
Example response
{
"content": {
"locationId": "970000082973090",
"name": "Default Location",
"address": {
"communicationId": "00Z5V9BTINBT97UMERCA",
"type": "STREET_ADDRESS",
"usageType": "BUSINESS",
"streetLineOne": "Mike St",
"streetLineTwo": "Sulley Ln",
"city": "ANAHEIM",
"postalCode": "92802",
"countrySubdivisionCode": "CA",
"countryCode": "US"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.