Przejdź do głównej zawartości

UpdatePurchaseOrderInput

Dla: Programista

Typ wejściowyUpdatePurchaseOrderInput

A change of a purchase order: a field left out keeps its value. Orders already RECEIVED or CANCELLED take no change.

Pola

PoleTypOpis
currencyString

Currency of the prices, a 3-letter code such as PLN or EUR.

expectedDeliveryAtDateTime

When the delivery is expected; null clears it.

externalRefString

Your own identifier of the purchase order (see CreatePurchaseOrderInput.externalRef); null removes it. Changing it is your integration's bookkeeping: it does not move PurchaseOrder.updatedAt.

items[UpdatePurchaseOrderItemInput!]

The full item list after the change: items with id are changed, items without it are added (on every call: retry with Idempotency-Key), existing items left out are removed. An item from which goods were received cannot be removed, ordered below what was received, or (from an API key) pointed at another material or unit.

notesString

Notes about the order; null clears them.

orderedAtDateTime

When the order was placed.

supplierIdID

The supplier the goods are ordered from; from an API key a new supplier must be active.

Używane w