List the sales orders that shipped traced stock

🚧

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. With node_id, it lists
    the orders of that node and of everything made from it.
  • scope=node lists only the orders that shipped the starts themselves, or the node given in node_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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
batch_ids
array of integers
length ≤ 100

Batches the trace starts from. Give batch_ids, serial_number_ids or both: at least one id and at most 100 together.

batch_ids
serial_number_ids
array of integers
length ≤ 100

Serial numbers the trace starts from.

serial_number_ids
integer
0 to 10
Defaults to 10

How many orders deep the trace follows in each direction, as in GET /traceability/trace.

string
enum
Defaults to unit

How the trace follows manufacturing orders, as in GET /traceability/trace.

Allowed:
string
enum
Defaults to recall

recall: the orders that shipped the starts, or the node given in node_id, and everything made from them. node: only the orders that shipped the starts, or that node, themselves.

Allowed:
string

List the orders of this node of the trace in place of the starts. A node_id from the trace. A node that shipped nothing gives an empty list.

string

Used for pagination (default is 50)

string

Used for pagination (default is 1)

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json