TCS-i
v1.0.1Picks the smallest box for every order and shows packers a 3D packing plan, from your WMS.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
recommend_box Recommend a box for an order
The smallest box (or boxes) an order fits, with a 3D packing plan and a link to the packer's 3D view, without creating an order. Uses the account's saved product tags (fragile, soft...), packing preferences, packing rules and, unless bins are sent, its active boxes. Paid plan; a free account gets 50 jobs a month. Units: cm and kg.
| Parameter | Type | Description |
|---|---|---|
items * | array | The units to pack: each SKU with its size (cm), weight (kg) and quantity |
order_number * | string | Your order number, as on the packing slip: how what you report packed is matched to this recommendation |
bins | array | Boxes to choose from; omit to use the account's |
brand | string | The client account |
order_id | string | Your system's id for the order, if different from order_number |
ships_as | string | How it ships: parcel (boxes), pallets (boxes stacked on pallets, with a pallet plan) or auto (pallets when it needs many boxes). Omit for the account's choice. Pallets need the account's pallet jobs s… |
report_shipped Report what an order shipped in
Record what an order actually shipped in: its items and the box(es) used. Free and never billed. Feeds monitoring (boxes used, fill, packaging CO2, the EU 50% empty-space limit, the rough missed saving) for any warehouse system, and, for an order sent to recommend_box, whether the recommended box was used. The same as POST /v1/shipped.
| Parameter | Type | Description |
|---|---|---|
boxes * | array | The box(es) it actually shipped in: box_id of a saved box, or name and inside size |
items * | array | What the order held: each SKU with its size, weight and quantity |
order_id * | string | Your system's unique id for the order |
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
dimension_unit | string | Unit of the sizes sent: cm (default), mm or in |
order_number | string | The order number as on the packing slip, if different from order_id |
shipped_at | string | When it shipped (ISO 8601); omit for now |
weight_unit | string | Unit of the weights sent: kg (default), g or lb |
weekly_waste Last 7 days of packaging waste
The last 7 days of monitored orders (free): orders, boxes used, box fill, packaging CO2e, parcels over the EU 50% empty-space limit, and a rough missed saving scaled from a solved sample. Estimates are labelled as such.
list_boxes List boxes
The account's boxes (inside sizes in cm), optionally one brand's. Free. GET /v1/boxes.
| Parameter | Type | Description |
|---|---|---|
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
cursor | string | next_cursor from the previous page, to read on |
status | string | active (used in recommendations) or disabled; omit for both |
save_box Create or change a box
Create a box, or change the one with that id to what's sent (PUT /v1/boxes/{id}). Free. status disabled takes it out of new recommendations. Saved in the brand's WMS too where TCS-i keeps boxes in step with it.
| Parameter | Type | Description |
|---|---|---|
id * | string | The box's id (your code for it); an existing id is changed, a new one created |
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
dimension_unit | string | Unit of the sizes sent: cm (default), mm or in |
height | number | Inside height, in dimension_unit |
is_mailer | boolean | True for a mailer, bag or envelope rather than a rigid box |
length | number | Inside length, in dimension_unit |
max_weight | number | Most it may hold, in weight_unit |
name | string | The name packers know it by |
status | string | active (used in recommendations) or disabled (kept, but not recommended) |
weight_unit | string | Unit of the weights sent: kg (default), g or lb |
width | number | Inside width, in dimension_unit |
list_products List products
The account's products (SKUs) with sizes and packing tags. Free. GET /v1/products.
| Parameter | Type | Description |
|---|---|---|
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
cursor | string | next_cursor from the previous page, to read on |
q | string | Part of a SKU or name |
save_product Create or change a product
Create a product, or update it with the fields sent: size, weight, packing tags (PUT /v1/products/{sku}). Free. is_flexible: soft goods that fold and squeeze; bag_allowed: may ship in a bag or mailer.
| Parameter | Type | Description |
|---|---|---|
sku * | string | The product's SKU, as in your warehouse system |
bag_allowed | boolean | May ship in a bag or mailer |
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
dimension_unit | string | Unit of the sizes sent: cm (default), mm or in |
height | number | Height, in dimension_unit (cm when there is none) |
is_flexible | boolean | Soft goods that fold and squeeze (clothing, textiles) |
is_fragile | boolean | Breaks easily: packed with care and kept on top |
length | number | Length, in dimension_unit (cm when there is none) |
name | string | The product's name |
own_container | boolean | Ships in its own packaging, with no outer box |
weight | number | One unit's weight, in weight_unit |
weight_unit | string | Unit of the weights sent: kg (default), g or lb |
width | number | Width, in dimension_unit (cm when there is none) |
archive_product Archive a product
Retire a product the account no longer sells (DELETE /v1/products/{sku}). Free. It's kept with its data and left out of lists and checks; save_product brings it back.
| Parameter | Type | Description |
|---|---|---|
sku * | string | The SKU to archive |
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
confirmation | string | Leave out at first: TCS-i then removes nothing and answers with a code and what to ask the person. Send that code only after the person has said yes in the chat. |
create_order Create or replace an order
Create an order in TCS-i, or replace it while it's open (PUT /v1/orders/{order_id}). Free. Lines are SKUs and quantities; TCS-i fills in sizes and tags from your products.
| Parameter | Type | Description |
|---|---|---|
lines * | array | The order's lines: each a SKU already saved as a product, and a quantity |
order_id * | string | Your system's unique id for the order; sending it again replaces an open order |
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
note | string | A note kept with the order |
order_number | string | The order number as on the packing slip, if different from order_id |
list_orders List orders
Orders sent through the API (create_order / POST /v1/orders), newest first, with their status and recommended boxes. Jobs a linked WMS sends are not here: list_recommendations has every job from any source. Free. GET /v1/orders.
| Parameter | Type | Description |
|---|---|---|
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
cursor | string | next_cursor from the previous page, to read on |
q | string | Part of an order id or number |
status | string | open, recommended, packed or cancelled; omit for all |
recommend_order Recommend boxes for an order
The box(es) for an order already in TCS-i, with the packer's 3D view link. Billed like recommend_box (POST /v1/orders/{order_id}/recommend).
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The order's id in TCS-i (from create_order) |
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
ships_as | string | How it ships: parcel (boxes), pallets (boxes stacked on pallets, with a pallet plan) or auto (pallets when it needs many boxes). Omit for the account's choice. Pallets need the account's pallet jobs s… |
mark_packed Mark an order packed
Record that an order was packed: in the recommended box(es) unless boxes are given (POST /v1/orders/{order_id}/packed). Free. TCS-i learns from it.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The order's id in TCS-i (from create_order) |
boxes | array | The box(es) actually used; omit when the recommended ones were |
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
packed_at | string | When it was packed (ISO 8601); omit for now. For orders packed earlier. |
packed_by | string | Who packed it (name or packer id), for the packer reports |
list_events List events
What happened in TCS-i, oldest first: orders created, recommended, packed or cancelled, products and boxes added or changed (including sizes the assistant fixed), integrations linked. Pass after (an event id or the last next_cursor) to read on. Free. GET /v1/events.
| Parameter | Type | Description |
|---|---|---|
after | string | Read events after this id (evt_…) |
limit | integer | How many events to return, 1-500 |
types | string | Comma-separated event types, e.g. product.updated,order.packed |
assistant_findings Assistant findings
What TCS-i's assistant found by comparing what packers shipped with the box recommended: data it fixed itself (sizes, soft goods, bag allowed, box records; each can be undone), fixes it put back, and what needs a person. Free. GET /v1/assistant.
| Parameter | Type | Description |
|---|---|---|
brand | string | Only this brand's findings |
decide_finding Act on an assistant finding
Act on one assistant finding: undo (put an automatic fix back), keep, done or dismiss (one for a person). Free. POST /v1/assistant/findings/{id}/{action}.
| Parameter | Type | Description |
|---|---|---|
action * | string | keep (accept a fix), undo (put an automatic fix back), done (a person's finding is handled) or dismiss (not a problem) |
finding_id * | string | The finding's id, from assistant_findings |
get_packing_preferences Get packing preferences
The account's packing preferences: fragile on top, rotation, void fill, bags allowed, parcel preference, max parcel weight and the rest. Free. GET /v1/packing-preferences.
update_packing_preferences Update packing preferences
Change some of the account's packing preferences; only the fields sent change. Applies to new recommendations. Free. PATCH /v1/packing-preferences.
| Parameter | Type | Description |
|---|---|---|
changes * | object | e.g. {"fragile_on_top": false, "void_fill_cm": 1.5} |
list_box_rules List packing rules
The account's box rules: orders of exactly these SKUs and quantities go in these boxes, laid out as stored. Free. GET /v1/box-rules.
| Parameter | Type | Description |
|---|---|---|
brand | string | Only this brand's rules (rules for every brand are included) |
packing_kpis Packing KPIs
For orders packed with TCS-i's guidance: recommendation followed, box fill, and the money (missed and realised, an estimate at carrier list prices) over the last N days.
| Parameter | Type | Description |
|---|---|---|
brand | string | Only this brand's orders |
days | integer | How many days back, 1-30; default 7 |
setup_status Account setup status
Start here when setting an account up or checking on one: what is linked, how many boxes and products it has, which integration steps are done, and `next`: the calls still to make, in order, each with why. Reads only. The same as GET /v1/setup.
save_box_rule Create or replace a packing rule
A packing rule: an order of exactly these SKUs and quantities goes in these boxes. Without id it's created; with id, replaced. auto_layout (default true) has the engine place the units so the rule is used at once; if they can't be placed the rule is still saved, with layout_problem saying why. brand null = every brand. As POST/PUT /v1/box-rules.
| Parameter | Type | Description |
|---|---|---|
box_ids * | array | The box(es) such an order goes in, by box id |
items * | array | The exact SKUs and quantities an order must hold for the rule to apply |
name * | string | A name for the rule |
auto_layout | boolean | Have the engine place the units; default true |
brand | string | The brand it applies to; omit or null for every brand |
enabled | boolean | False to keep the rule but not use it; default true |
id | string | The rule's id to replace; leave out to create one |
note | string | A note for packers |
delete_box Delete a box
Delete a box for good (one brand's copy with brand, every brand's without). To stop recommending a box but keep it, use save_box with status disabled instead.
| Parameter | Type | Description |
|---|---|---|
id * | string | The box's id |
brand | string | Only this brand's copy; omit to delete it for every brand |
confirmation | string | Leave out at first: TCS-i then removes nothing and answers with a code and what to ask the person. Send that code only after the person has said yes in the chat. |
get_cost_settings Get cost settings
The cost parameters behind the money in reports: currency, carrier discounts, labour (wage per hour, seconds), void fill price, baseline period. Free. GET /v1/cost-settings.
update_cost_settings Update cost settings
Set some cost parameters; only the fields sent change, and null puts one back to TCS-i's default. Changes the money shown in reports. Free. PUT /v1/cost-settings.
| Parameter | Type | Description |
|---|---|---|
changes * | object | e.g. {"labour": {"wage_per_hour": 18}} |
list_recommendations List packing results
Packing results: every box TCS-i recommended and what was actually packed, newest first, from any source (own system, a linked WMS, POST /pack). status: packed, awaiting, expired. box_state: same, bigger, smaller (box used against the one recommended). request_id returns one with its full 3D plan. detail=full adds each one's reasons for its box, the box comparison and its plan (at most 300 a page). With filters a page can hold fewer than limit: while next_cursor is set there are more, read on with cursor. For why one order got its box, explain_order says it in words.
| Parameter | Type | Description |
|---|---|---|
box_state | string | same, bigger or smaller: the box packed against the one recommended |
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
cursor | string | next_cursor from the previous page, to read on |
detail | string | list (default) or full: adds reasons, box comparison and plan |
from | string | ISO time |
limit | integer | Page size, 1-500 (at most 300 with detail=full) |
q | string | order number or SKU |
request_id | string | One recommendation's id: returns it with its full 3D plan |
status | string | packed, awaiting or expired; omit for all |
to | string | ISO time: only results before it |
compare_periods Why the numbers changed
Why the numbers moved: the last `days` against the `days` before (1-15, from the last 30 days of packed orders). Plan followed, box fill and the fill TCS-i's own boxes would have had, for each window; then what drove the change: each brand's part in percentage points (they add up to the change), the boxes packers used instead of the one recommended, the SKUs most often packed in another box, orders with no box or size recorded, and the changes made on the account in each window. signals are the likely causes in plain words with their numbers; example_orders open with explain_order. Start here…
| Parameter | Type | Description |
|---|---|---|
brand | string | Only this brand's orders |
days | integer | Window length; default 7 |
explain_order Why an order got its box
Why one order got its box, in plain sentences: TCS-i's reasons, the box packed instead (and how much bigger or smaller), each SKU's saved size and who set it (and whether it changed since), and changes made since to its boxes or SKUs. Give request_id (from list_recommendations) or order (its order number, as compare_periods' example_orders name it). Ends with what to try next.
| Parameter | Type | Description |
|---|---|---|
brand | string | With order, when two brands share order numbers |
order | string | The order number |
request_id | string | The recommendation's id, from list_recommendations |
list_activity Account activity
Everything that happened on the account, newest first, as the console's activity feed: boxes, products, rules and settings changed (by whom: a person, the API or the assistant), imports, re-checks, packer flags. Use it to line changes up against when numbers moved. before pages back (the last entry's at).
| Parameter | Type | Description |
|---|---|---|
before | string | Only entries before this time: the last entry's `at`, to page back |
limit | integer | How many entries to return, 1-200 |
get_report Get a report
A report, as the console shows it. report: summary (orders, packed, plan followed, fill), costs, box-usage, box-usage/monthly (needs month YYYY-MM), products (the ones wasting most space), brands (a 3PL's scorecard), brand-activity, product-health, data-problems.
| Parameter | Type | Description |
|---|---|---|
report * | string | Which report (see the tool description) |
brand | string | The client account (brand) of a 3PL; omit for a single-brand account |
days | integer | How many days back, where the report takes days |
month | string | YYYY-MM, for box-usage/monthly |
window | string | 24h, 7d, 14d or 30d, where the report takes one |
list_webhooks List webhooks
The account's webhooks: URL, events, on or off, last delivery. Free. GET /v1/webhooks.
save_webhook Create or change a webhook
Have TCS-i POST events (a product's size fixed by the assistant, an order recommended or packed, a box changed) to a URL of the customer's system, signed. Without id it's created and the signing secret is returned once; with id it's changed. test: true sends a test ping to the URL.
| Parameter | Type | Description |
|---|---|---|
active | boolean | False to pause deliveries |
events | array | Event types to send: box.created, box.deleted, box.updated, box_rule.created, box_rule.deleted, box_rule.updated, integration.connected, integration.disconnected, order.cancelled, order.created, order… |
id | string | The webhook's id to change; leave out to create one |
test | boolean | True to send a test ping to the URL |
url | string | The https URL TCS-i POSTs signed events to |
api_reference API reference
Every public endpoint of the TCS-i REST API (docs https://www.tcs-i.com/api-docs/, OpenAPI https://api.tcs-i.com/v1/openapi.json), one line each (method, path, what it does). search narrows the list by a word ("team", "report", "webhook"); path returns that endpoint's parameters and request body. No key needed.
| Parameter | Type | Description |
|---|---|---|
path | string | e.g. /v1/box-rules |
search | string | A word to narrow the list, e.g. team, report, webhook |
api_get Read any API endpoint
Read from any GET /v1 endpoint of the TCS-i REST API (docs https://www.tcs-i.com/api-docs/, OpenAPI https://api.tcs-i.com/v1/openapi.json) with the connected account's access: what the console shows that no other tool reads (team, API keys, packing stations, notifications, re-checks, exports). Reads only.
| Parameter | Type | Description |
|---|---|---|
path * | string | Starts with /v1/, e.g. /v1/team |
query | object | Query parameters |
api_write Create or change through the API
Create or change something through a POST, PUT or PATCH /v1 endpoint of the TCS-i REST API (docs https://www.tcs-i.com/api-docs/, OpenAPI https://api.tcs-i.com/v1/openapi.json), with the connected account's access: what the console does that no other tool covers (inviting a team member, linking a WMS, a packing station, notification channels, starting a re-check). Account-level changes (keys, team, plan, WMS logins) need the admin scope.
| Parameter | Type | Description |
|---|---|---|
method * | string | POST to create, PUT to replace, PATCH to change some fields |
path * | string | Starts with /v1/ |
body | object | The JSON request body (api_reference with path shows its fields) |
query | object | Query parameters, as an object of name: value |
api_delete Delete through the API
Delete something through a DELETE /v1 endpoint of the TCS-i REST API (docs https://www.tcs-i.com/api-docs/, OpenAPI https://api.tcs-i.com/v1/openapi.json), with the connected account's access (a box rule, a webhook, a team invite, an API key). Can't be undone.
| Parameter | Type | Description |
|---|---|---|
path * | string | Starts with /v1/ |
query | object | Query parameters, e.g. {"brand": "acme"} |