List quotations and sales orders

List quotations and sales orders with customer, status and total.

GET https://cotlet.dev/api/v1/odoo/sales-orders

read

Returns quotations and sales orders, newest first, with the order number, customer, status and untaxed and total amounts. A quotation becomes a sales order when it is confirmed in Odoo. Pages hold up to 100 orders.

Parameters

Parameters: list_sales_orders
NameTypeDescription
status enum enum quotation, sent, sale or cancel. Default: all.
contact_id integer integer Only orders of this contact.
limit integer integer 1 to 100. Default: 50.
offset integer integer Number of records to skip, for the next page. Default: 0.

Request

cURL
curl https://cotlet.dev/api/v1/odoo/sales-orders \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("odoo", "list_sales_orders")
Node.js
const result = await cotlet.call('odoo', 'list_sales_orders');
CLI
cotlet call odoo list_sales_orders

Example response

JSON

{
  "items": [
    {
      "order_id": 2210,
      "number": "S00087",
      "contact": "Harbor Print",
      "status": "quotation",
      "amount_untaxed": 1200,
      "amount_total": 1200,
      "currency": "EUR"
    }
  ],
  "total": 1
}

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.