Browse docs

Products

List

GET/products

q
In the query: text, up to 120 characters.
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.
categoryId
In the query: id starting with CA_.
noCategory
In the query: true or false.
taxClassIds
In the query: list of id starting with TC_, up to 20.
noTaxClass
In the query: true or false.
tagIds
In the query: list of id starting with TG_, up to 20.
type
In the query: one of stocked, nonstocked, bundle, template.
serialized
In the query: true or false.
online
In the query: true or false.
kind
In the query: one of physical, service, fee, bundle, bundle_template.
tracksInventory
In the query: true or false.
stock
In the query: one of in, out.
locationId
In the query: id starting with LO_.
status
In the query: one of active, draft, discontinued, archived, live, all. Default active.
sort
In the query: one of name, system, sku, mpn, upc, ean, vendorSku, brand, category, vendor, price, qty, updated. Default name.
dir
In the query: one of asc, desc. Default asc.
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/products" \
  -H "Authorization: Bearer tt_pat_your_token"

Facets

GET/products/facets

This route takes no parameters.

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

Get

GET/products/{id}

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

Overview

GET/products/{id}/overview

idRequired
In the path: id starting with PR_.
variantId
In the query: id starting with VA_.
curl "http://app.telltailhq.com/api/v1/products/{id}/overview" \
  -H "Authorization: Bearer tt_pat_your_token"

History

GET/products/{id}/history

idRequired
In the path: id starting with PR_.
page
In the query: integer, 1 to 10000. Default 1.
curl "http://app.telltailhq.com/api/v1/products/{id}/history" \
  -H "Authorization: Bearer tt_pat_your_token"