Create quote

Create a draft quote on a sale.

POST https://cotlet.dev/api/v1/accelo/sales/{sale_id}/quotes

write Confirm

Creates a quote with a title on a sale, with the manager and quote template you pass, and returns it as a draft. It does not publish or send the quote; building the estimate and Publish & Send happen in Accelo. Changing the template later does not refill the content. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_quote
NameTypeDescription
sale_id integer required integer Sale the quote belongs to.
title string required string Quote title, usually the project name.
manager_id integer integer Staff ID of the quote manager.
template string string Quote template name as shown in Accelo.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/accelo/sales/1/quotes \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"title"}'
Python
result = client.call("accelo", "create_quote", {"sale_id":1,"title":"title"})
Node.js
const result = await cotlet.call('accelo', 'create_quote', {"sale_id":1,"title":"title"});
CLI
cotlet call accelo create_quote --data '{"sale_id":1,"title":"title"}'

Example response

JSON

{
  "quote_id": 318,
  "title": "Website Redesign, phase 2",
  "sale_id": 96,
  "manager": "Priya Nair",
  "template": "Standard proposal",
  "status": "Draft"
}

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.