deleteItemReceiptNote function

Future<ApiResponse<Object?>> deleteItemReceiptNote(
  1. ExsitedClient client,
  2. Object itemReceiptId,
  3. Object noteId, {
  4. bool? raiseOnError,
  5. String? responseFormat,
})

DELETE /api/{api_version}/item_receipts/{item_receipt_id}/notes/{note_id}

Delete item receipt note, ir_ and note_ ids; no route lists or creates a receipt's notes.

No typed view. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteItemReceiptNote(
  ExsitedClient client,
  Object itemReceiptId,
  Object noteId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(ItemReceiptsUrls.itemReceiptNote,
        pathParams: {'item_receipt_id': itemReceiptId, 'note_id': noteId},
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);