Routes
Purchase Orders
Update Purchase Order
Changed onThis request updates a Purchase Order. Currently, changing the locationID that a PO belongs to is unsupported.
| Parameter | Type | Required | Description |
|---|---|---|---|
| vendorID | Int | Optional | The ID of the vendor that this PO will be associated with. |
| userID | Int | Optional | The ID of the user that this PO will be assigned to. |
| taskID | Int | Optional | The ID of the task that this PO will be associated with. |
| budgetID | Int | Optional | The ID of the budget that this PO will be associated with. Changing budgetID when the PO is past the setup phase (state 0) is not supported. |
| date | Int | Optional | The start time of the PO -- this can be in the past or the future and will still show up in the UI. Must be a unix timestamp. |
| expectedDate | Int | Optional | The expected delivery date of this PO. Must be a unix timestamp. |
| requestDescription | String | Optional | A description of the "request" for this PO. |
| customField1 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
| customField2 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
| customField3 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
| customField4 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
| customField5 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
| customField6 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
patch/v2/po/{poID}
Request
- Base URL{{server}}:{{port}}
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Update Purchase Order
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info