OrderedLineItemInput

Provide Zencargo with original, expected information about a specific product in a purchase order. Zencargo uses values in this payload to calculate the basis for on time and in full. Values here only update the ordered information, and should be used to store the original "on time in full" baselines. It should not be used, for instance, to update the latest known info, such as an updated quantity or latest cargo ready date, which is data stored against a Lot. Refer to the purchase orders guide for more information.

Input Fields

cbm (Float)

The volume of the ordered quantity of products, when fully packaged, in cubic meters. If you do not provide this, Zencargo will attempt to calculate it from your data

erpLineId (String)

The id of the line item in the ERP system

initialCargoReadyDate (Date)

Also known as "goods ready date" or "ex-factory date", this is the date the goods were originally expected to be ready for collection from the place of origin

productSku (String!)

Product SKU code. Needs to be a valid SKU code associated with a product in your catalogue - this argument is required

quantityOrdered (Int!)

Quantity of product originally ordered - this argument is required

requiredDeliveryDate (Date)

The date the order was originally supposed to be delivered to the destination by. This represents the date after which the Purchase Order will be considered "late"

totalCost (MoneyInput)

The total cost of the ordered quantity of product due to the manufacturer. This amount should reflect what will be entered onto the commercial invoice