get
https://api.katanamrp.com/v1/traceability/sales_orders
Beta — subject to change. This endpoint is publicly available, but its request/response shape may evolve before General Availability as we incorporate early feedback.
Returns one page of the sales orders that shipped the traced batches and serial
numbers, and everything made from them: the customers of a recall, newest first. It reads any number of orders,
page by page; the X-Pagination header gives the total number of entries.
Give the same batch_ids, serial_number_ids, max_depth and trace_by as to GET /traceability/trace:
the orders belong to that trace.
- An entry is one sales order and one batch it shipped; serial numbers of one product on an order are one entry.
An order that shipped two batches is two entries. - Only what was shipped is listed. An order that has stock assigned but has not shipped it is among the open
orders of the trace. A shipment that was reverted is not listed. scope=recall(default) lists the orders of the starts and of everything made from them. What the starts
were made from brings no orders along: its other products are not part of this recall. Withnode_id, it lists
the orders of that node and of everything made from it.scope=nodelists only the orders that shipped the starts themselves, or the node given innode_id,
without what was made from them.
trace_limit_reached is true when the trace stopped at a limit, as summary.is_partial of the trace: the list may then
be missing orders of what lies past it.
Quantities are decimal strings in the unit of measure of their variant.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…