Browse docs

Counts

List

GET/counts

q
In the query: text, up to 120 characters.
statuses
In the query: list of one of in_progress, review, finalized, cancelled, up to 4.
locationIds
In the query: list of id starting with LO_, up to 50.
sort
In the query: one of started, number, location, status, counted. Default started.
dir
In the query: one of asc, desc. Default desc.
limit
In the query: integer, 1 to 200. Default 100.
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/counts" \
  -H "Authorization: Bearer tt_pat_your_token"

Scope size

POST/counts/scope-size

locationIdRequired
In the JSON body: id starting with LO_.
scopeRequired
In the JSON body: object.
curl -X POST "http://app.telltailhq.com/api/v1/counts/scope-size" \
  -H "Authorization: Bearer tt_pat_your_token" \
  -H "Content-Type: application/json" \
  -d '{"locationId":"LO_…","scope":{"type":"full"}}'

Get

GET/counts/{id}

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

Scans

GET/counts/{id}/scans

idRequired
In the path: id starting with CT_.
limit
In the query: integer, 1 to 500. Default 50.
before
In the query: id starting with CTS_.
curl "http://app.telltailhq.com/api/v1/counts/{id}/scans" \
  -H "Authorization: Bearer tt_pat_your_token"

Still needed

GET/counts/{id}/still-needed

idRequired
In the path: id starting with CT_.
q
In the query: text, up to 120 characters.
categoryIds
In the query: list of id starting with CA_, up to 50.
brandIds
In the query: list of id starting with BR_, up to 50.
vendorIds
In the query: list of id starting with VE_, up to 50.
sort
In the query: one of category, name, brand, expected. Default category.
dir
In the query: one of asc, desc. Default asc.
limit
In the query: integer, 1 to 200. Default 100.
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/counts/{id}/still-needed" \
  -H "Authorization: Bearer tt_pat_your_token"

Lines

GET/counts/{id}/lines

idRequired
In the path: id starting with CT_.
q
In the query: text, up to 120 characters.
categoryIds
In the query: list of id starting with CA_, up to 50.
brandIds
In the query: list of id starting with BR_, up to 50.
vendorIds
In the query: list of id starting with VE_, up to 50.
limit
In the query: integer, 1 to 200. Default 100.
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/counts/{id}/lines" \
  -H "Authorization: Bearer tt_pat_your_token"

Unknowns

GET/counts/{id}/unknowns

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

Review

GET/counts/{id}/review

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