PurchaseOrderInput

Provide Zencargo with details about the Purchase Order and its contents. See individual items for
details, especially around OrderedLineItem inputs, which is where you will find information about
the products in the purchase order.

Input Fields

buyerId (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

correlationId (String)

A unique identifier to trace this request through the stack

destinationId (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

incoterms (IncotermsValue)

Incoterms this purchase order was raised under

manufacturerId (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 (ModeOfTransport)

Optional argument for defining mode of transport, which can be air, ocean, truck, or rail

orderDate (Date)

Date the PO was confirmed with the manufacturer

orderReferenceNumber (String)

Reference number assigned to this purchase order by your ERP - this argument is required

orderedLineItems ([OrderedLineItemInput!])

Input ordered line item data - this argument is required

originAgentId (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

originId (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

portOfDestinationUnlocode (String)

UNlocode of the port of destination expected for this order. See https://locode.info for codes

portOfLoadUnlocode (String)

UNlocode of the port of load expected for this order. See https://locode.info for codes

sellerId (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