v1
latestOpenAPI 3.1.02026-08-0420819698.7 KBUpdate Purchase Order Item
This request updates a Purchase Order Item. Considering the validation for this route is non-trivial -- keep in mind that before this update takes place, we validate the resulting PO Item, so the itemType must be valid with any existing or updated properties. For example, if you have a PO Item of itemType 1 (Part) and attempt to send a PATCH that only provides a checklistID, you will get an error back saying that this is an invalid combination.
To remove an associated ID, pass in the value 0.
itemType | Int | Optional | A number describing what type of PO Item this is. Valid values are: 1 (Part), 2 (Service), 4 (Other). If itemType is 1, name and taskID cannot be present and partID is required. If itemType is 2 or 4, name is required and partID cannot be present. If itemType is 2, a checklistID is required. name | String | Optional | A short line-item title for this PO Item. description | String | Optional | A more detailed description for this PO Item. glID | Int | Optional | The ID of the General Ledger that this PO Item will belong to. taskID | Int | Optional | The ID of the Task that this PO Item will belong to. assetID | Int | Optional | The ID of the Asset that this PO Item will belong to. partID | Int | Optional | The ID of the Part that this PO Item will belong to. quantity | Int | Optional | A number for how many items are represented in this line. If not provided, the minimum and default values are 1. rate | Float | Optional | A decimal (precision 4) representing the cost of one of the item(s). Default is 0.0000 tax | Float | Optional | A decimal (precision 4) representing the amount of tax on the item(s) as a percent. Default is 0.0000 discount | Float | Optional | A decimal (precision 4) representing the discounted cost on the item(s) as a percent. Default is 0.0000 shipping | Float | Optional | A decimal (precision 4) representing the cost of shipping for the item(s). Default is 0.0000
Request body
Response
Update Purchase Order Item