A valid request URL is required to generate request examples{
"id": 123,
"project_id": 123,
"purchase_order": {
"id": 123,
"label": "<string>",
"status": "<string>"
},
"package_id": 123,
"package_section_id": 123,
"match_type": "two_way",
"category_id": 123,
"quantity": "1000.00",
"unit_price": "10.00",
"received_quantity": "<string>",
"accepted_quantity": "<string>",
"matched_quantity": "<string>",
"invoiced_quantity": "<string>",
"baseline_item": {
"id": 123,
"identifier": "<string>",
"name": "<string>",
"package_id": 123
},
"description": "<string>",
"category": "<string>",
"unit_type": "<string>",
"price_variance_percent": "2.0000",
"quantity_variance_percent": "0.0000",
"amount_variance_absolute": "50.00",
"position": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Update purchase order item
Updates the given fields. On an issued PO this writes a new revision. package_section_id moves a manual item to another section (and its package and project; another project is refused once it has receipts or invoice items); a baseline-linked item follows its row’s section. category_id picks the category, named after the item’s package (also re-applied when the item moves to another package); re-sending the same category keeps the stored text.
A valid request URL is required to generate request examples{
"id": 123,
"project_id": 123,
"purchase_order": {
"id": 123,
"label": "<string>",
"status": "<string>"
},
"package_id": 123,
"package_section_id": 123,
"match_type": "two_way",
"category_id": 123,
"quantity": "1000.00",
"unit_price": "10.00",
"received_quantity": "<string>",
"accepted_quantity": "<string>",
"matched_quantity": "<string>",
"invoiced_quantity": "<string>",
"baseline_item": {
"id": 123,
"identifier": "<string>",
"name": "<string>",
"package_id": 123
},
"description": "<string>",
"category": "<string>",
"unit_type": "<string>",
"price_variance_percent": "2.0000",
"quantity_variance_percent": "0.0000",
"amount_variance_absolute": "50.00",
"position": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Body
Only the given keys change. Match type and tolerances are frozen once the item has goods receipts or invoice items; quantity can't drop below what was received (net of rejections) or matched.
Moves a manual item to another section of an in-progress / finished package of the workspace (and to its package and project; the category text is re-picked for the new package). Refused for baseline-linked items (they follow their row's section) and, for another project, once the item has goods receipts or invoice items.
Response
OK