Organization / Purchase orders
purchaseOrderUpdate
Update an existing purchase order
Arguments
2 argumentsid•ID!ID of the purchase order.
reference•StringReference of the order
status•PurchaseOrderStatusStatus of the order
CANCELEDCOMPLETEDCREATEDEXPECTEDORDEREDRECEIVEDRECEIVINGsupplierId•IDID of the supplier
Possible return
createdAt•DateTimeTz!When the order was created.
expectedDeliveryAt•DateThe earliest expected delivery date on a linked goods receipt.
id•ID!Unique primary key.
isUpdatable•Boolean!Whether this purchase order can be updated.
itemsCount•Int!Number of items ordered in this purchase order.
productsCount•Int!Number of products in this purchase order.
reference•StringReference of the order
status•PurchaseOrderStatus!Status of the order
CANCELEDCOMPLETEDCREATEDEXPECTEDORDEREDRECEIVEDRECEIVINGupdatedAt•DateTimeTz!When the order was last updated.
field•[String!]message•String!