Browse docs

Catalog

Search

GET/catalog/search

q
In the query: text, up to 120 characters.
brands
In the query: list of text, up to 120 characters, up to 100.
productTypes
In the query: list of text, up to 120 characters, up to 100.
sourceIds
In the query: list of id starting with KS_, up to 100.
sourceType
In the query: one of distributor, brand.
available
In the query: always true.
msrpMin
In the query: integer, 0 to 100000000.
msrpMax
In the query: integer, 0 to 100000000.
sort
In the query: one of relevance, title, msrp, stock.
dir
In the query: one of asc, desc.
page
In the query: integer, 1 to 10000. Default 1.
curl "http://app.telltailhq.com/api/v1/catalog/search" \
  -H "Authorization: Bearer tt_pat_your_token"

Facets

GET/catalog/facets

q
In the query: text, up to 120 characters.
brands
In the query: list of text, up to 120 characters, up to 100.
productTypes
In the query: list of text, up to 120 characters, up to 100.
sourceIds
In the query: list of id starting with KS_, up to 100.
sourceType
In the query: one of distributor, brand.
available
In the query: always true.
msrpMin
In the query: integer, 0 to 100000000.
msrpMax
In the query: integer, 0 to 100000000.
sort
In the query: one of relevance, title, msrp, stock.
curl "http://app.telltailhq.com/api/v1/catalog/facets" \
  -H "Authorization: Bearer tt_pat_your_token"

Sources

GET/catalog/sources

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/catalog/sources" \
  -H "Authorization: Bearer tt_pat_your_token"

Scan

POST/catalog/scan

codeRequired
In the JSON body: text, up to 64 characters.
curl -X POST "http://app.telltailhq.com/api/v1/catalog/scan" \
  -H "Authorization: Bearer tt_pat_your_token" \
  -H "Content-Type: application/json" \
  -d '{"code":"…"}'

Brands

GET/catalog/brands

vertical
In the query: text, up to 40 characters.
curl "http://app.telltailhq.com/api/v1/catalog/brands" \
  -H "Authorization: Bearer tt_pat_your_token"

Suppliers

GET/catalog/suppliers/{productId}

productIdRequired
In the path: id starting with PR_.
curl "http://app.telltailhq.com/api/v1/catalog/suppliers/{productId}" \
  -H "Authorization: Bearer tt_pat_your_token"

Status

GET/catalog/status

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/catalog/status" \
  -H "Authorization: Bearer tt_pat_your_token"

Stats

GET/catalog/stats

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/catalog/stats" \
  -H "Authorization: Bearer tt_pat_your_token"

Get

GET/catalog/{id}

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