cURL
curl --request POST \ --url https://api.sandbox.teal.dev/v0/quickbooks/migrate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'teal-instance-id: <teal-instance-id>' \ --data ' { "start_date": "2023-12-25", "end_date": "2023-12-25" } '
{ "id": "<string>", "status": "pending" }
Migrate a QB instance. The migration is asynchronous.
The access token received from the authorization server in the OAuth 2.0 flow.
The Teal instance ID
An optional identifier for audit logging.
The start date of the data to migrate.
The end date of the data to migrate.
Successful Response
"UjL3BQnEaJtecuC7CUeDk"
Indicates the status of the task.
pending
failed
complete
"pending"