Purchase Orders | Workflows

Update status and run workflow for a purchase order

If you need to update status on a purchase order, set the corresponding. The workflow request object allows you to add expected delivery date. <br /> If you do not wish to automatically run the workflow for the purchase order, you can specify this using "skipRunWorkflow:true". <br /><br /> Basic example on how you would update status to "Confirmed" for an existing order:

 POST /api/purchaseOrders/{purchaseOrderId}/UpdateStatus
 {
     "status": "Confirmed",
     "expectedDeliveryDate": 2024-01-01
 }
post/api/PurchaseOrders/{purchaseOrderId}/UpdateStatus

Request

  • Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
  • URL: https://api.omnium.no/api/PurchaseOrders/{purchaseOrderId}/UpdateStatus
  • Auth: API key in header Authorization

Path parameters

purchaseOrderIdstring nullable required

The ID of the purchase order

Request body

statusstring nullable
expectedDeliveryDatestring date-time nullable

Response

Success

isAbortedboolean

True if workflow failed and is aborted

Changes

No recorded changes to this operation across all 1 revision of this API.