import Finch from '@tryfinch/finch-api';
const client = new Finch({
accessToken: 'My Access Token',
});
const sandboxJobConfiguration = await client.sandbox.jobs.configuration.update({
completion_status: 'complete',
type: 'data_sync_all',
});
console.log(sandboxJobConfiguration.completion_status);
{
"type": "data_sync_all",
"completion_status": "complete"
}
import Finch from '@tryfinch/finch-api';
const client = new Finch({
accessToken: 'My Access Token',
});
const sandboxJobConfiguration = await client.sandbox.jobs.configuration.update({
completion_status: 'complete',
type: 'data_sync_all',
});
console.log(sandboxJobConfiguration.completion_status);
{
"type": "data_sync_all",
"completion_status": "complete"
}
Please use your Access Token
OK
The response is of type object
.
Was this page helpful?