Browse docs

Inventory

Levels

GET/inventory/levels

productIdRequired
In the query: id starting with PR_.
curl "http://app.telltailhq.com/api/v1/inventory/levels" \
  -H "Authorization: Bearer tt_pat_your_token"

Serials

GET/inventory/serials

variantIdRequired
In the query: id starting with VA_.
locationIdRequired
In the query: id starting with LO_.
curl "http://app.telltailhq.com/api/v1/inventory/serials" \
  -H "Authorization: Bearer tt_pat_your_token"

Sellable serials

GET/inventory/sellable-serials

variantIdRequired
In the query: id starting with VA_.
locationIdRequired
In the query: id starting with LO_.
lineId
In the query: id starting with LN_.
curl "http://app.telltailhq.com/api/v1/inventory/sellable-serials" \
  -H "Authorization: Bearer tt_pat_your_token"

Movements

GET/inventory/movements

productIdRequired
In the query: id starting with PR_.
variantId
In the query: id starting with VA_.
locationId
In the query: id starting with LO_.
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/inventory/movements" \
  -H "Authorization: Bearer tt_pat_your_token"

Reasons

GET/inventory/adjustment-reasons

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/inventory/adjustment-reasons" \
  -H "Authorization: Bearer tt_pat_your_token"

Reason list

GET/inventory/reasons

includeArchived
In the query: true or false. Default false.
curl "http://app.telltailhq.com/api/v1/inventory/reasons" \
  -H "Authorization: Bearer tt_pat_your_token"

Staff

GET/inventory/staff

This route takes no parameters.

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

Out reasons

GET/inventory/out-reasons

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/inventory/out-reasons" \
  -H "Authorization: Bearer tt_pat_your_token"

Condition choices

GET/inventory/condition-choices

variantIdRequired
In the query: id starting with VA_.
locationIdRequired
In the query: id starting with LO_.
customerId
In the query: id starting with CU_.
curl "http://app.telltailhq.com/api/v1/inventory/condition-choices" \
  -H "Authorization: Bearer tt_pat_your_token"

Condition cost

GET/inventory/condition-cost

variantIdRequired
In the query: id starting with VA_.
locationIdRequired
In the query: id starting with LO_.
conditionRequired
In the query: one of new, open_box, demo, used.
serialNos
In the query: list of text, up to 80 characters, up to 500.
curl "http://app.telltailhq.com/api/v1/inventory/condition-cost" \
  -H "Authorization: Bearer tt_pat_your_token"

Costing

GET/inventory/costing

This route takes no parameters.

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

Cost changes

GET/inventory/cost-changes

shipmentLineIdRequired
In the query: id starting with SL_.
curl "http://app.telltailhq.com/api/v1/inventory/cost-changes" \
  -H "Authorization: Bearer tt_pat_your_token"