Routes
Purchase Orders

Update Purchase Order

Changed on

This request updates a Purchase Order. Currently, changing the locationID that a PO belongs to is unsupported.

ParameterTypeRequiredDescription
vendorIDIntOptionalThe ID of the vendor that this PO will be associated with.
userIDIntOptionalThe ID of the user that this PO will be assigned to.
taskIDIntOptionalThe ID of the task that this PO will be associated with.
budgetIDIntOptionalThe 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.
dateIntOptionalThe 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.
expectedDateIntOptionalThe expected delivery date of this PO. Must be a unix timestamp.
requestDescriptionStringOptionalA description of the "request" for this PO.
customField1StringOptionalPO custom field, the customer chooses which custom fields are available on all POs.
customField2StringOptionalPO custom field, the customer chooses which custom fields are available on all POs.
customField3StringOptionalPO custom field, the customer chooses which custom fields are available on all POs.
customField4StringOptionalPO custom field, the customer chooses which custom fields are available on all POs.
customField5StringOptionalPO custom field, the customer chooses which custom fields are available on all POs.
customField6StringOptionalPO custom field, the customer chooses which custom fields are available on all POs.
patch/v2/po/{poID}

Request

Request body

budgetIDinteger
vendorIDinteger
userIDinteger
requestDescriptionstring
customField1string
customField2string
customField3string
customField4string

Response

Update Purchase Order

successboolean
poIDinteger

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status