Addresses and quotes, and hold_reason on ACCOUNT_ON_HOLD
How the address and quote endpoints behave in v1, in Test and Live mode.
Addresses
POST /addressesresolves an address from aplace_id, yourlatitudeandlongitude, or the text. A precise place or your coordinates areverified; an area, a whole road, or a text match that is only approximate isneeds_confirmationwith Reeds'suggestion.match.confidenceisexact,approximate,noneorconfirmed.- Saving the same place with the same contact again returns the existing address as it is. Use
PATCH /addresses/{id}to change its contact,notesormetadata; sendingaddress,place_id,latitudeorlongitudethere is422 INVALID_REQUEST. - An address placed from your coordinates has
location.place_id: null. POST /addresses/{id}/confirmtakes exactly one ofaccept_suggestion: true, aplace_id, orlatitudeandlongitude, and sends theaddress.confirmedwebhook. An address that is already verified gets409 ACTION_NOT_ALLOWED.DELETE /addresses/{id}expires the address's unused quotes at once, and is refused with409 ADDRESS_IN_USEwhile a draft uses it.GET /addresseslists saved addresses only; addresses saved inline byPOST /quotesare not listed (read them by id), and are deleted 30 days after their last use if no delivery was made from them.metadatatakes up to 20 keys of up to 40 characters, with string values of up to 500.
Quotes
POST /quotesreturns201with aqt_quote that lasts 24 hours and books one delivery, or200withavailable: falseand a reason when Reeds can't serve the route. When Reeds can't measure the route at all, it is503 SERVICE_UNAVAILABLE: retry shortly.pickup_dateis Lagos today up to 7 days ahead; outside that range is422 PICKUP_DATE_OUT_OF_RANGE, with the field inerror.fields. The quote'sschedulecounts from that day.
ACCOUNT_ON_HOLD
ACCOUNT_ON_HOLD now documents error.hold_reason: overdue_invoice (pay the overdue invoice) or reeds (contact Reeds). Branch on it, not on the message.
Nothing is removed or renamed. Clients that ignore unknown fields need no change.