Browse docs

Vendor returns

List

GET/vendor-returns

q
In the query: text, up to 120 characters.
view
In the query: one of open, draft, shipped, closed, cancelled, all. Default open.
kind
In the query: one of return, warranty.
vendorIds
In the query: list of id starting with VE_, up to 50.
locationIds
In the query: list of id starting with LO_, up to 50.
productId
In the query: id starting with PR_.
sort
In the query: one of created, number, vendor, kind, status, units, value. Default created.
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/vendor-returns" \
  -H "Authorization: Bearer tt_pat_your_token"

Reasons

GET/vendor-returns/reasons

This route takes no parameters.

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

Get

GET/vendor-returns/{id}

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