---
title: "Get summary about line items and orders which were deleted"
method: GET
path: "/v3/merchants/{mId}/voided_line_items/totals"
tags: ["ORDERS"]
---

# Get summary about line items and orders which were deleted

`GET /v3/merchants/{mId}/voided_line_items/totals`

## Request

- Base URL: `https://apisandbox.dev.clover.com`
- URL: `https://apisandbox.dev.clover.com/v3/merchants/{mId}/voided_line_items/totals`
- Auth: HTTP bearer

Returns detailed information about line items and orders which were deleted.

## Path parameters

- `mId` string, required

## Query parameters

- `filter` string

## Headers

- `User-Agent` string, required

## Response `200`

- object
  - `printed` integer: number of printed line items deleted
  - `unprinted` integer: number of unprinted line items deleted
  - `price` integer: sum of price of all the items, in cents of merchant currency.
  - `priceWithQuantity` integer: sum of price of all the items, in cents of merchant currency multiplied by quantity.
  - `priceWithQuantityAndModifiers` integer: sum of price of all the items multiplied with quantity and includes modifiers.
  - `deletedOrders` integer: number of orders deleted
  - `deletedItems` integer: number of line items deleted
  - `chartSummary` object: summary of the chart data
    - `hasModifiers` boolean: flag to indicate if any line item has modifiers
    - `chartData` object[]: revenue classes data
      - `revenueClassName` string: name of revenue class.
      - `priceWithQuantity` integer: sum of price of all the items, in cents of merchant currency multiplied by quantity.
      - `priceWithQuantityAndModifiers` integer: sum of price of all the items multiplied with quantity and includes modifiers.
      - `count` integer: number of line item in this revenue class
    - `chartTotals` object: totals of all the chart data
      - `revenueClassName` string: name of revenue class.
      - `priceWithQuantity` integer: sum of price of all the items, in cents of merchant currency multiplied by quantity.
      - `priceWithQuantityAndModifiers` integer: sum of price of all the items multiplied with quantity and includes modifiers.
      - `count` integer: number of line item in this revenue class

---

[API](https://skmtc.dev/clover/apis/platform-api.md) - [All operations](https://skmtc.dev/clover/apis/platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/clover/apis/platform-api/revisions/95fd9ec401ef?raw)
