Order Item Updates
For convenience, it is possible to incrementally create, update and delete order items separately from full transport order updates.
Items are matched in order of precedence by number, material_number and index. If none of these matches an existing item, a new item is created. If one of these matches an existing item, the other values, where available, are updated. In an update operation, parameters and quantities may be added, overwritten and deleted for an item, by either sending or omitting them (e.g., if an existing parameter is not sent in the update operation, it will be removed from the item). The same applies to quantities.
For each order, multiple order item updates can be sent in a single request.
Attribute | Description | Type (Length) | Example | Mandatory |
---|---|---|---|---|
order_number | Order / delivery number the item is planned on | CHAR(50) | D123 | True |
number | Internal delivery item number | CHAR(50) | 000010 | See note1 |
index | Running number | INTEGER | 1 | False |
description | Description | CHAR(255) | first delivery item | See note1 |
short_description | Short name, description | CHAR(50) | FDI | False |
material_number | Material number | CHAR(50) | FDI123 | See note1 |
order_item_update_quantities | A list of quantity DTOs, see Quantity | False | ||
order_item_update_parameters | A list of additional parameter DTOs, see Parameter | False | ||
status | N: Item will be created or updated D: Item will be deleted | CHAR(1) | N | True |
1 At least one of number, description or material_number must be provided