Convert quote to job

Turn a quote into a job.

POST https://cotlet.dev/api/v1/simpro/quotes/{quote_id}/to-job/convert

write Confirm

Converts the quote and returns the new job, which links back to the quote. A quote that was converted already is refused. The job then appears for scheduling in your build. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: convert_quote_to_job
NameTypeDescription
quote_id integer required integer Quote ID from list_quotes.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/simpro/quotes/10442/to-job/convert \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("simpro", "convert_quote_to_job", {"quote_id":10442})
Node.js
const result = await cotlet.call('simpro', 'convert_quote_to_job', {"quote_id":10442});
CLI
cotlet call simpro convert_quote_to_job --data '{"quote_id":10442}'

Example response

JSON

{
  "quote_id": 10442,
  "job_id": 20871,
  "converted_from_quote_id": 10442,
  "status": "Pending"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.