Patch Routing Line

Partially update one routing line (a PO line item allocated to a freight unit) on a routing you own, addressed by the routing_line_uuid the routing filter returns. The body uses the line's own column names: quantity / cartons are the amounts of the PO line item on this unit, which the response (like the routing filter) shows as allocated_quantity / allocated_cartons and uses for unsourced_quantity / unsourced_cartons. The response's own quantity is the PO line item's total; change that through /line_items_fulfilled/update/{uuid}. The receipt fields (quantity_received, cartons_received, received_dt, cartons_on_floor) are stored as sent; received_dt is facility-local, so a UTC offset is dropped, not converted. Fields not sent stay unchanged and an explicit null clears a field. The line keeps its routing_line_uuid, unit, PO line item and source/outbound links; sending a uuid, link, audit field or custom_columns is a 422. A PATCH that changes nothing writes nothing. An unknown line, another customer's line, or a line on a deleted routing is a 404. The response is the line as the routing filter returns it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

Partial update for one routing line (a PO line item allocated to a freight unit).

Field names are the routing line's own column names, so quantity / cartons are the amounts on this unit,
not the PO line item's totals. Omitted fields stay unchanged and an explicit null clears one; any other key
(uuids, links, audit fields, custom columns) is a 422.

Quantity of this line item allocated to this unit (the quantity column; returned as allocated_quantity). Feeds unsourced_quantity (this minus sourced_quantity).

Number of cartons of this line item allocated to this unit (the cartons column; returned as allocated_cartons). Feeds unsourced_cartons (this minus sourced_cartons).

Units of this line item received at the routing's destination (e.g. a Maersk decon 944). For a customer on an automated receiving feed (the Maersk decon integration) that feed maintains this field, so a value sent here may be superseded by the next receipt.

Cartons of this line item received at the routing's destination. For a customer on an automated receiving feed (the Maersk decon integration) that feed maintains this field, so a value sent here may be superseded by the next receipt.

When this line item was received at the routing's destination, in facility-local time: a UTC offset is dropped, not converted, and the value is echoed back as stored. For a customer on an automated receiving feed (the Maersk decon integration) that feed maintains this field, so a value sent here may be superseded by the next receipt.

Cartons received at the routing's destination and not yet loaded onward. Stored as sent; it is not recomputed from cartons_received or outbound_links. For a customer on an automated receiving feed (the Maersk decon integration) that feed maintains this field, so a value sent here may be superseded by the next receipt.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json