Delete invoice items
DELETE /api/2.0/crm/invoiceitem
Deletes a group of invoice items with the IDs specified in the request.
Request body
ids
type: integer[]
List of invoice item IDs
Request example
{
"ids": [
0
]
}
Returns
List of invoice items. A request that is not authenticated returns 401.
Response example
[
{
"Title": "Title",
"StockKeepingUnit": "StockKeepingUnit",
"Description": "Description",
"Price": 1.2,
"Currency": {
"Title": "Chinese Yuan",
"Symbol": "¥",
"Abbreviation": "CNY",
"CultureName": "CN",
"IsConvertable": true,
"IsBasic": false
},
"StockQuantity": 2.2,
"TrackInvenory": true,
"InvoiceTax1": {
"Name": "Name",
"Description": "Description",
"Rate": "Rate",
"CreateOn": "2020-12-14T22:13:41.5378233Z",
"CreateBy": {
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
},
"CanEdit": true,
"CanDelete": true,
"ID": 1234
},
"InvoiceTax2": {
"Name": "Name",
"Description": "Description",
"Rate": "Rate",
"CreateOn": "2020-12-14T22:13:41.5378233Z",
"CreateBy": {
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
},
"CanEdit": true,
"CanDelete": true,
"ID": 1234
},
"CreateOn": "2020-12-14T22:13:41.5378233Z",
"CreateBy": {
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
},
"CanEdit": true,
"CanDelete": true,
"ID": 1234
}
]