POST
/
v0
/
quickbooks
/
migrate
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": "UjL3BQnEaJtecuC7CUeDk",
  "status": "pending"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The Teal instance ID

modified-by
string | null

An optional identifier for audit logging.

Body

application/json
start_date
string
required

The start date of the data to migrate.

end_date
string
required

The end date of the data to migrate.

Response

200
application/json
Successful Response
id
string
required
Example:

"UjL3BQnEaJtecuC7CUeDk"

status
enum<string>
required

Indicates the status of the task.

Available options:
pending,
failed,
complete
Example:

"pending"