> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# dropoffVoid

> Void a dropoff the customer has not dropped off yet. Voiding does not refund the purchase by itself: the fee is credited back in full only when the carrier refunds Redo for the cancelled label, which today is a UniUni label on Virtual; on Return Drop, Happy Returns and FedEx Easy Returns the fee is kept. Cancels Redo's record, and on Virtual a UniUni label is also cancelled with the carrier; the other networks have no cancel call, so their code is only cancelled on Redo's side. Voiding an already-voided dropoff returns it unchanged.

**Required scopes:** [`dropoff_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-dropoff_write)

## Arguments

**id** `ID!` *required*

The id of the dropoff to void.

## Returns

**dropoffVoid** `[PublicDropoff!](/docs/api-reference/v3/reference/dropoff/public-dropoff)` *required*

A dropoff bought through the API: the customer takes the parcel to the location, no label required.

**fields**

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the record was created.

**events** `[PublicDropoffEventConnection!](/docs/api-reference/v3/pagination)` *required*

A paginated history of this dropoff's status changes.

**Requires:** [`dropoff_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-dropoff_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.

**before** `String`

Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.

**first** `Int`

Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**Fields**

**edges** `[\[PublicDropoffEventEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**fields**

**cursor** `String!` *required*

Opaque cursor for this item; pass to `after`/`before` to page from here.

**node** `[PublicDropoffEvent!](/docs/api-reference/v3/reference/dropoff/public-dropoff-event)` *required*

The item at this edge.

**nodes** `[\[PublicDropoffEvent!\]!](/docs/api-reference/v3/reference/dropoff/public-dropoff-event)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**fields**

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the event was recorded.

**id** `ID!` *required*

The id of this event.

**source** `String`

What produced this event, e.g. the provider webhook.

**status** `[PublicDropoffStatus!](/docs/api-reference/v3/reference/dropoff/public-dropoff-status)` *required*

The status the dropoff moved to.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**fields**

**endCursor** `String`

Cursor of the last edge in this page; pass to `after` to page forward.

**hasNextPage** `Boolean!` *required*

Whether more items exist after this page (drives forward pagination with `first`/`after`).

**hasPreviousPage** `Boolean!` *required*

Whether more items exist before this page (drives backward pagination with `last`/`before`).

**startCursor** `String`

Cursor of the first edge in this page; pass to `before` to page backward.

**externalReferenceId** `String!` *required*

Your own key for this purchase, as supplied to `dropoffPurchase`. Unique within your account.

**fee** `[Money](/docs/api-reference/v3/reference/common/money)`

What you were charged for this dropoff, in the shopper's local currency. Null until the purchase completes, and on networks that bill you directly rather than through Redo.

**fields**

**amount** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The exact amount as a decimal string (e.g. "19.99").

**currency** `String!` *required*

ISO 4217 currency code (e.g. USD).

**id** `ID!` *required*

The id of this dropoff.

**locationAddress** `[DropoffLocationAddress](/docs/api-reference/v3/reference/dropoff/dropoff-location-address)`

The location's address, snapshotted at purchase time.

**fields**

**address1** `String`

The first line of the address. Null for catalog entries whose network publishes no street line.

**address2** `String`

The second line of the address (apartment, suite, unit).

**city** `String!` *required*

The city, town, or village.

**country** `String!` *required*

The country.

**postalCode** `String!` *required*

The postal or ZIP code.

**province** `String!` *required*

The province, state, or region.

**locationId** `String!` *required*

The provider's identifier for the chosen location, as returned by `dropoffLocations`.

**locationName** `String`

The location's name, snapshotted at purchase time.

**provider** `[DropoffProvider!](/docs/api-reference/v3/reference/dropoff/dropoff-provider)` *required*

The provider that issued this dropoff.

**purchaseState** `[PublicDropoffPurchaseState!](/docs/api-reference/v3/reference/dropoff/public-dropoff-purchase-state)` *required*

Whether the purchase completed. Only `PURCHASED` dropoffs are usable.

**purchasedAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When the dropoff was purchased.

**qrCode** `String`

The provider's raw barcode value for this dropoff. Null until the purchase completes.

**qrCodeUrl** `String`

A hosted PNG of the QR code the customer presents at the dropoff point. Null until the purchase completes.

**status** `[PublicDropoffStatus!](/docs/api-reference/v3/reference/dropoff/public-dropoff-status)` *required*

Where the parcel is in the provider's tracking lifecycle.

**trackingId** `String`

The provider's tracking identifier for the parcel, once it has one.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the record was last updated.

## Example

```graphql theme={null}
mutation {
  dropoffVoid(id: "...") {
    createdAt
    events {
      nodes {
        createdAt
        id
        source
        status
      }
      pageInfo { hasNextPage endCursor }
    }
    externalReferenceId
    id
    locationId
    locationName
    provider
    purchaseState
    # ...
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.