UpdatePurchaseOrderInput
Updates values against the PurchaseOrder or OrderedLineItem objects. Useful for removing data you sent in error or deleting purchase orders that have been cancelled in your ERP. CAUTION! This mutation is used to update original expected values. Only use this mutation if you want to change the original values Zencargo uses to calculated the expected or estimated attributes about a Purchase Order. You cannot update the fulfilment information using this mutation. See The Purchase Orders guide for more information.
Input Fields
String)
Location ID of the buyer of this purchase order. This should be the ID of an existing location within your network. See the networks API for details
String)
Location ID of the destination of this purchase order. This should be the ID of an existing location within your network. See the networks API for details
IncotermsValue)
Incoterms this purchase order was raised under
[String!])
'Add IDs of ordered line items to be deleted - this argument is required. Provide an empty array if you do not want to update this data
String)
Account ID of the supplier for this purchase order. This must be the ID of a supplier within your network. Refer to the AccountConnection API for further details.
ModeOfTransport)
Optional argument for defining mode of transport, which can be air, ocean, truck, or rail
Date)
Date the PO was confirmed with the manufacturer
String)
Reference number assigned to this purchase order by your ERP
[UpdateOrderedLineItemInput!])
Input ordered line item data - this argument is required. Provide an empty array if you do not want to update this data
String)
ID of the agent for this purchase order. This should be the ID of an existing agent within your network. Contact your Zencargo representative if you are unsure what to enter here
String)
Location ID of the place of origin of this purchase order. This should be the ID of an existing location within your network. See the networks API for details
String)
UNlocode of the port of destination expected for this order. See https://locode.info for codes
String)
UNlocode of the port of load expected for this order. See https://locode.info for codes
String)
Location ID of the seller of this purchase order. Note: this is not the same as the manufacturer. This should be the ID of an existing location within your network. See the networks API for details