API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- POSTaddCompanyBankAccount
- PUTdeactivateCompanyBankAccount
- POSTaddUser
- POSTaddBusinessContractor
- PUTupdateUser
- POSTaddUsers
- POSTaddStateRegistration
- PUTupdateStateRegistration
- POSTaddUserWage
- PUTupdateUserWage
- PUTupdateBusinessUserAsEmployee
- PUTupdateEmployeeAsBusinessUser
- PUTupdateBusinessUser
- PUTupdateCompanyLocation
- POSTactivateUser
- POSTdeactivateUser
- DELdeleteStateRegistration
- PUTterminateUser
- StateRegistration
- POST
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Admin Portal
updateCompanyLocation
Update Company Location Endpoint
Use this endpoint to update the company’s location.
PUT
/
adminPortal#updateCompanyLocation
curl --request PUT \
--url 'https://sandbox.rollfi.xyz/adminPortal#updateCompanyLocation' \
--header 'Content-Type: application/json' \
--data '{
"method": "updateCompanyLocation",
"companyLocation": {
"companyLocationId": "A4EA3BD6-2821-4F94-83A6-5C126991AB28",
"companyLocation": "Main",
"address1": "8435 Colard Ln",
"address2": "",
"city": "Lyons",
"state": "CO",
"zipcode": "80540",
"country": "US",
"phoneNumber": "9889890987",
"isWorkLocation": true,
"isMailingAddress": true,
"isFilingAddress": true
}
}'
{
"companyLocation": {
"companyLocationId": "A4EA3BD6-2821-4F94-83A6-5C126991AB28",
"status": "Verified",
"message": "Company Location has been update successfully."
}
}
Body
application/json
Response
200
application/json
The response is of type object
.
curl --request PUT \
--url 'https://sandbox.rollfi.xyz/adminPortal#updateCompanyLocation' \
--header 'Content-Type: application/json' \
--data '{
"method": "updateCompanyLocation",
"companyLocation": {
"companyLocationId": "A4EA3BD6-2821-4F94-83A6-5C126991AB28",
"companyLocation": "Main",
"address1": "8435 Colard Ln",
"address2": "",
"city": "Lyons",
"state": "CO",
"zipcode": "80540",
"country": "US",
"phoneNumber": "9889890987",
"isWorkLocation": true,
"isMailingAddress": true,
"isFilingAddress": true
}
}'
{
"companyLocation": {
"companyLocationId": "A4EA3BD6-2821-4F94-83A6-5C126991AB28",
"status": "Verified",
"message": "Company Location has been update successfully."
}
}
Assistant
Responses are generated using AI and may contain mistakes.