Queries
dropoff— Fetch a single dropoff by its id.dropoffLocations— Dropoff locations across every network your account may use. Withnear, a live search sorted nearest first: it returns the nearestfirstlocations as a single page (locations.pageInfo.hasNextPageis always false). Withoutnear, it pages each network’s catalog by provider and location id. Happy Returns needsnearanditems; 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 inmessagesrather thanrates.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 withINSUFFICIENT_BALANCE, HTTP 402, before anything is issued). On a network that bills you directly, Redo raises no charge andfeestays null. PasslocationIdto buy at a location fromdropoffLocations, or omit it and passcustomer.addressto 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 fromdropoffRateswith the user. Retrying with the sameexternalReferenceIdreturns 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
DropoffLocation— A place a customer can drop a return off.DropoffLocationAddress— The street address of a dropoff location.DropoffLocationHours— One opening interval. A day open twice has two entries for that day.DropoffMessage— A non-fatal message about one dropoff network.DropoffRate— A dropoff price for the authenticated account.PublicDropoff— A dropoff bought through the API: the customer takes the parcel to the location, no label required.PublicDropoffEvent— One entry in a dropoff’s status history.
Input objects
DropoffItemInput— One item being returned. Happy Returns decides eligibility per item.DropoffPurchaseAddressInput— A postal address supplied with a dropoff purchase.DropoffPurchaseCustomerInput— The customer returning the parcel.DropoffPurchaseInput— The dropoff to buy.DropoffPurchaseItemInput— One line of goods travelling in the parcel.DropoffSearchAddressInput— The address a dropoff location search is centered on.
Enums
DropoffMessageCode— Why a network contributed nothing to a result.DropoffProvider— A dropoff network available through Redo.PublicDropoffPurchaseState— How far a dropoff got through the charge-then-issue sequence.PublicDropoffSortKey— A field this list can be ordered by; pass to the list’sorderByargument and pair withreverseto flip direction.PublicDropoffStatus— Where a dropoff is in the provider’s tracking lifecycle.