> ## 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.

# Dropoff

> Dropoff locations, rates, purchases, and tracking.

## Queries

* [`dropoff`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/queries/dropoff) — Fetch a single dropoff by its id.
* [`dropoffLocations`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/queries/dropoff-locations) — Dropoff locations across every network your account may use. With `near`, a live search sorted nearest first: it returns the nearest `first` locations as a single page (`locations.pageInfo.hasNextPage` is always false). Without `near`, it pages each network's catalog by provider and location id. Happy Returns needs `near` and `items`; without them it contributes a message instead of locations.
* [`dropoffRates`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/queries/dropoff-rates) — What a dropoff costs your account on each network available to it. A network that bills you directly carries no Redo price, so it appears in `messages` rather than `rates`.
* [`dropoffs`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/queries/dropoffs) — List dropoffs bought through the API, optionally filtered by provider, status, or your own reference.

## Mutations

* [`dropoffPurchase`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/mutations/dropoff-purchase) — Buy a dropoff for a customer's return. On a network Redo bills for, this creates a billable charge: the fee is resolved and charged at purchase time, in the shopper's local currency, and drawn from the account's prepaid balance when the account has one (a balance too low to cover it refuses the purchase with `INSUFFICIENT_BALANCE`, HTTP 402, before anything is issued). On a network that bills you directly, Redo raises no charge and `fee` stays null. Pass `locationId` to buy at a location from `dropoffLocations`, or omit it and pass `customer.address` to buy at the nearest location in one call (`NO_LOCATION_AVAILABLE`, HTTP 422, when none is available); the result carries the location that was chosen. Before calling, confirm the network, the location, the parcel details (customer and items) and the price from `dropoffRates` with the user. Retrying with the same `externalReferenceId` returns the original dropoff without charging again. A purchase is final: voiding the dropoff later refunds the fee only when the carrier refunds Redo for the label, which today is a UniUni label on Virtual; on every other network a voided dropoff's fee is kept.
* [`dropoffVoid`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/mutations/dropoff-void) — 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.

## Objects

* [`DropoffLocation`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-location) — A place a customer can drop a return off.
* [`DropoffLocationAddress`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-location-address) — The street address of a dropoff location.
* [`DropoffLocationHours`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-location-hours) — One opening interval. A day open twice has two entries for that day.
* [`DropoffMessage`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-message) — A non-fatal message about one dropoff network.
* [`DropoffRate`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-rate) — A dropoff price for the authenticated account.
* [`PublicDropoff`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/public-dropoff) — A dropoff bought through the API: the customer takes the parcel to the location, no label required.
* [`PublicDropoffEvent`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/public-dropoff-event) — One entry in a dropoff's status history.

## Input objects

* [`DropoffItemInput`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-item-input) — One item being returned. Happy Returns decides eligibility per item.
* [`DropoffPurchaseAddressInput`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-purchase-address-input) — A postal address supplied with a dropoff purchase.
* [`DropoffPurchaseCustomerInput`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-purchase-customer-input) — The customer returning the parcel.
* [`DropoffPurchaseInput`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-purchase-input) — The dropoff to buy.
* [`DropoffPurchaseItemInput`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-purchase-item-input) — One line of goods travelling in the parcel.
* [`DropoffSearchAddressInput`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-search-address-input) — The address a dropoff location search is centered on.

## Enums

* [`DropoffMessageCode`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-message-code) — Why a network contributed nothing to a result.
* [`DropoffProvider`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/dropoff-provider) — A dropoff network available through Redo.
* [`PublicDropoffPurchaseState`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/public-dropoff-purchase-state) — How far a dropoff got through the charge-then-issue sequence.
* [`PublicDropoffSortKey`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/public-dropoff-sort-key) — A field this list can be ordered by; pass to the list's `orderBy` argument and pair with `reverse` to flip direction.
* [`PublicDropoffStatus`](https://developers.redo.com/docs/api-reference/v3/reference/dropoff/public-dropoff-status) — Where a dropoff is in the provider's tracking lifecycle.


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