Update PO Line Item
### Update Purchase Order Line Item
This API allows you to update the line items of a purchase order.
**Request Body**
| Param | Required | Type | Description |
| --- | --- | --- | --- |
| orderId | Mandatory | String | The ID of the order. |
| items | Mandatory | Object | An object containing the list of purchase order items. |
| poItems | Mandatory | Array | An array of purchase order items. |
| base | Mandatory | Number | The base value. |
| notes | Mandatory | String | Additional notes for the item. |
| product | Mandatory | Object | Details of the product. |
| productId | Mandatory | String | The ID of the product. |
| value | Mandatory | Number | The value of the product. |
| name | Mandatory | String | The name of the product. |
| isMaster | Mandatory | Boolean | Indicates if it's a master product. |
| gl | Optional | String | General ledger code. |
| image | Optional | String | URL of the product image. |
| title | Optional | String | Title of the product. |
| desc | Optional | String | Description of the product. |
| currency | Mandatory | String | Currency of the product. |
| hsn | Optional | String | Harmonized System Nomenclature code. |
| sku | Optional | String | Stock Keeping Unit code. |
| type | Optional | String | Type of the product. |
| service | Optional | String | Indicates if it's a service. |
| units | Optional | String | Units of the product. |
| sale | Mandatory | Boolean | Indicates if the product is for sale. |
| amount | Mandatory | Number | The amount of the product. |
| buy | Mandatory | Boolean | Indicates if the product is for purchase. |
| taxCode | Optional | String | Tax code for the product. |
| qtty | Mandatory | Number | The quantity of the item. |
| delete | Optional | Boolean | Indicates if the item should be deleted. |
| lineItemReferenceNo | Optional | String | The reference number of the line item. |
**Response**
- `success` (boolean): Indicates if the update was successful.
#### Example
``` json
{
"success": true
}
```
Headers
DICE-APP-ID
X-CLIENT-ID
X-CLIENT-SECRET
Request
This endpoint expects an object.
orderId
items
Response
OK
success

