Browse docs

Quotes

Get

GET/quotes/{id}

idRequired
In the path: id starting with QT_.
curl "http://app.telltailhq.com/api/v1/quotes/{id}" \
  -H "Authorization: Bearer tt_pat_your_token"

List

GET/quotes

q
In the query: text, up to 120 characters.
customerId
In the query: id starting with CU_.
saleId
In the query: id starting with SA_.
workOrderId
In the query: id starting with WO_.
status
In the query: one of open, sold, expired, cancelled, all. Default open.
sort
In the query: one of created, updated, valid, number, total. Default created.
dir
In the query: one of asc, desc. Default desc.
limit
In the query: integer, 1 to 200. Default 50.
cursor
In the query: text. Where the next page starts. Opaque: follow the next URL from the last answer, which carries it.
curl "http://app.telltailhq.com/api/v1/quotes" \
  -H "Authorization: Bearer tt_pat_your_token"

Render

GET/quotes/{id}/render

idRequired
In the path: id starting with QT_.
printerId
In the query: id starting with PN_.
curl "http://app.telltailhq.com/api/v1/quotes/{id}/render" \
  -H "Authorization: Bearer tt_pat_your_token"

Pdf

GET/quotes/{id}/pdf

idRequired
In the path: id starting with QT_.
paper
In the query: one of letter, 80mm, 58mm. Default letter.
curl "http://app.telltailhq.com/api/v1/quotes/{id}/pdf" \
  -H "Authorization: Bearer tt_pat_your_token"