diff --git a/projects/common/src/fm/services/item.service.ts b/projects/common/src/fm/services/item.service.ts index a8c8fe6..c75c581 100644 --- a/projects/common/src/fm/services/item.service.ts +++ b/projects/common/src/fm/services/item.service.ts @@ -110,6 +110,10 @@ export class ItemService { return this.httpClient.put(`${this.ApiEndpoint()}/api/v1/items/${item.code}`,item); } + deleteItem(itemCode: string): Observable { + return this.httpClient.delete(`${this.ApiEndpoint()}/api/v1/items`, itemCode); + } + deleteItems(itemCodes:string[]): Observable { return this.httpClient.post(`${this.ApiEndpoint()}/api/v1/items/delete`, itemCodes); }