Migrate company to embedded payroll
PUT {{baseUrl}}/v1/partner_managed_companies/:company_uuid/migrate
Migrate an existing Gusto customer to your embedded payroll product.
To use this endpoint, the customer will need to connect their Gusto account to your application using OAuth2 then view and accept the Embedded Payroll Terms of Service.
scope: partner_managed_companies:write
Request Body
{"email"=>"<string>", "ip_address"=>"<string>", "external_user_id"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"company_uuid":"39abf9b9-650b-4e67-89a0-389dc6ee8a71","migration_status":"success"}