Search
Items
GET/search/items
- q
- In the query: text, up to 120 characters.
- brandIds
- In the query: list of id starting with BR_, up to 50.
- categoryId
- In the query: id starting with CA_.
- tagIds
- In the query: list of id starting with TG_, up to 20.
- vendorIds
- In the query: list of id starting with VE_, up to 50.
- status
- In the query: one of active, discontinued.
- kind
- In the query: one of physical, service, fee, bundle, bundle_template.
- tracksInventory
- In the query: true or false.
- inStockFirst
- In the query: true or false.
- page
- In the query: integer, 1 to 10000. Default 1.
- pageSize
- In the query: integer, 1 to 100.
curl "http://app.telltailhq.com/api/v1/search/items" \
-H "Authorization: Bearer tt_pat_your_token"Customers
GET/search/customers
- q
- In the query: text, up to 120 characters.
- status
- In the query: one of lead, active.
- groupIds
- In the query: list of id starting with CG_, up to 20.
- page
- In the query: integer, 1 to 10000. Default 1.
- pageSize
- In the query: integer, 1 to 100.
curl "http://app.telltailhq.com/api/v1/search/customers" \
-H "Authorization: Bearer tt_pat_your_token"Sales
GET/search/sales
- q
- In the query: text, up to 120 characters.
- status
- In the query: one of completed, cancelled, voided.
- locationId
- In the query: id starting with LO_.
- customerId
- In the query: id starting with CU_.
- from
- In the query: text.
- to
- In the query: text.
- totalMin
- In the query: integer, 0 to 100000000.
- totalMax
- In the query: integer, 0 to 100000000.
- sort
- In the query: one of relevance, updated, created, number, total. Default relevance.
- dir
- In the query: one of asc, desc. Default desc.
- page
- In the query: integer, 1 to 10000. Default 1.
- pageSize
- In the query: integer, 1 to 100.
curl "http://app.telltailhq.com/api/v1/search/sales" \
-H "Authorization: Bearer tt_pat_your_token"Work orders
GET/search/work-orders
- q
- In the query: text, up to 120 characters.
- statusId
- In the query: id starting with WS_.
- includeClosed
- In the query: true or false. Default false.
- customerId
- In the query: id starting with CU_.
- technicianId
- In the query: id starting with EMP_.
- unassigned
- In the query: true or false. Default false.
- promisedFrom
- In the query: text.
- promisedTo
- In the query: text.
- sort
- In the query: one of relevance, updated, created, promised, number. Default relevance.
- dir
- In the query: one of asc, desc. Default desc.
- page
- In the query: integer, 1 to 10000. Default 1.
- pageSize
- In the query: integer, 1 to 100.
curl "http://app.telltailhq.com/api/v1/search/work-orders" \
-H "Authorization: Bearer tt_pat_your_token"Customer items
GET/search/customer-items
- qRequired
- In the query: text, up to 120 characters.
- limit
- In the query: integer, 1 to 50. Default 10.
curl "http://app.telltailhq.com/api/v1/search/customer-items" \
-H "Authorization: Bearer tt_pat_your_token"Records
GET/search/records
- qRequired
- In the query: text, up to 120 characters.
- limit
- In the query: integer, 1 to 20. Default 5.
curl "http://app.telltailhq.com/api/v1/search/records" \
-H "Authorization: Bearer tt_pat_your_token"Messages
GET/search/messages
- qRequired
- In the query: text, up to 120 characters.
- conversationId
- In the query: id starting with CV_.
- customerId
- In the query: id starting with CU_.
- locationId
- In the query: id starting with LO_.
- direction
- In the query: one of in, out, note.
- kind
- In the query: one of conversational, transactional, marketing.
- channel
- In the query: one of sms, email.
- from
- In the query: text.
- to
- In the query: text.
- page
- In the query: integer, 1 to 10000. Default 1.
curl "http://app.telltailhq.com/api/v1/search/messages" \
-H "Authorization: Bearer tt_pat_your_token"Scan
GET/search/scan
- codeRequired
- In the query: text, up to 64 characters.
curl "http://app.telltailhq.com/api/v1/search/scan" \
-H "Authorization: Bearer tt_pat_your_token"Item
GET/search/item/{id}
- idRequired
- In the path: id starting with VA_.
curl "http://app.telltailhq.com/api/v1/search/item/{id}" \
-H "Authorization: Bearer tt_pat_your_token"Status
GET/search/status
This route takes no parameters.
curl "http://app.telltailhq.com/api/v1/search/status" \
-H "Authorization: Bearer tt_pat_your_token"