Skip to main content

Queries

  • dropoff — Fetch a single dropoff by its id.
  • dropoffLocations — 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 — 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 — List dropoffs bought through the API, optionally filtered by provider, status, or your own reference.

Mutations

  • dropoffPurchase — 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 — 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

Input objects

Enums