ReturnQuote
Fields
quoteIdstringrequiredpattern ^qt_[0-9a-f]{32}$Opaque and single use: nothing about the request is in it.
expiresAtstring (date-time)requiredenvironmentstringrequiredone of: sandbox · production
shipmentDirectionstringrequiredone of: DOMESTIC · EU · INTERNATIONAL
currencystringrequiredThe payer's balance currency — the booking charges in it.
shipmentCountintegerrequired≥ 1coverageobjectrequiredmodestringrequiredone of: none · auto
maxDeclaredValueobjectrequiredThe most one box may be declared at (IDR's conditions of postal services: 5000 RON).
amountnumberrequirednullableamountMinorintegerrequirednullableThe amount beside it in minor units (cents).
currencystringrequirednullabledutiesobjectrequiredТЗ F12: never included in the price; on a route with an import they may be charged at destination to the recipient.
appliesbooleanrequiredpayerstringrequirednullableone of: recipient · null
includedInPricebooleanrequiredone of: false
notestringrequirednullablepackages[]array of objectrequiredpackageNumberintegerrequiredcontentValueobjectrequirednullableMoney: amount in whole cents of currency, amountMinor the same amount as an integer of minor units.
amountnumberrequirednullableamountMinorintegerrequirednullableThe amount beside it in minor units (cents).
currencystringrequirednullablecustomsValueobjectrequirednullableSame shape as
packages[].contentValueabove.Set by the booking's customs.commodities; a quote has none.
declaredValueobjectrequirednullableSame shape as
packages[].contentValueabove.The value declared for carriage — IDR's liability limit for the box, not an insurance contract.
specialGoods[]array of stringrequiredservices[]array of objectrequiredserviceTypestringrequiredserviceNamestringrequirednullableIDS name, no carrier brand (ТЗ I3).
carrierCodestringrequiredserviceCodestringrequireddeliveryTypestringrequiredone of: door
deliveryDatestringrequirednullableThe carrier's local date and time of delivery (no offset), e.g. 2026-11-03T18:00:00.
deliveryDayOfWeekstringrequirednullabletransitDaysstringrequirednullabletransitBusinessDaysobjectrequirednullableminintegerrequiredmaxintegerrequiredestimatedPriceobjectrequiredThe FIXED price (API2): while the quote is valid, a booking from it with this service charges exactly total (amountMinor), whatever the carrier charges IDS at the booking. indicative is false.
netnumberrequiredvatnumberrequiredtotalnumberrequiredcurrencystringrequirednetMinorintegerrequiredThe amount beside it in minor units (cents).
vatMinorintegerrequiredThe amount beside it in minor units (cents).
totalMinorintegerrequiredThe amount beside it in minor units (cents).
indicativebooleanrequiredamountMinorintegerrequiredThe amount beside it in minor units (cents).
coverageobjectrequirednullableWhat the declared value for carriage adds to the price (already inside estimatedPrice); null without a declared value.
priceobjectrequirednet + vat = total exactly, in whole cents.
netnumberrequiredvatnumberrequiredtotalnumberrequiredcurrencystringrequirednetMinorintegerrequiredThe amount beside it in minor units (cents).
vatMinorintegerrequiredThe amount beside it in minor units (cents).
totalMinorintegerrequiredThe amount beside it in minor units (cents).
weightobjectrequirednullableТЗ B6 — the weights, never a rate: actual (Σ boxes), volumetric (IDS from your own dimensions with the divisor, each box to 0.1; null without dimensions), billable (what the carrier priced — it counts whole sides, so billable may be higher than volumetric for fractional sides; null when it did not say), basis, the volumetric divisor in cm³/kg derived from the carrier.
unitstringrequiredone of: KG · LB
actualnumberrequiredvolumetricnumberrequirednullablebillablenumberrequirednullablebasisstringrequirednullableone of: actual · volumetric · other · null
volumetricDivisorobjectrequirednullablevaluenumberrequiredunitstringrequiredone of: cm3/kg
shipments[]array of objectrequiredThe plan (ТЗ I11): one entry per shipment the boxes go in, with its own price; a single shipment unless shipmentCount > 1.
packageNumbers[]array of integerrequiredestimatedPriceobjectrequirednetnumberrequiredvatnumberrequiredtotalnumberrequiredcurrencystringrequirednetMinorintegerrequiredThe amount beside it in minor units (cents).
vatMinorintegerrequiredThe amount beside it in minor units (cents).
totalMinorintegerrequiredThe amount beside it in minor units (cents).
amountMinorintegerrequiredThe amount beside it in minor units (cents).
coverageobjectrequirednullableWhat the declared value for carriage adds to the price (already inside estimatedPrice); null without a declared value.
priceobjectrequiredSame shape as
services[].coverage.priceabove.net + vat = total exactly, in whole cents.
weightobjectrequirednullableSame shape as
services[].weightabove.ТЗ B6 — the weights, never a rate: actual (Σ boxes), volumetric (IDS from your own dimensions with the divisor, each box to 0.1; null without dimensions), billable (what the carrier priced — it counts whole sides, so billable may be higher than volumetric for fractional sides; null when it did not say), basis, the volumetric divisor in cm³/kg derived from the carrier.
unavailableServices[]array of objectrequiredserviceTypestringrequiredserviceCodestringrequiredcarrierCodestringrequiredreasonstringrequiredone of: NOT_AVAILABLE_FOR_EVERY_SHIPMENT
labelAddressesobjectrequiredCTR (ТЗ B9): the shipper and the recipient as the label will print them.
shipperobjectrequiredA party as the carrier's label prints it: Latin letters only (Cyrillic, Greek transliterated by named systems, diacritics dropped), the phone with +, the postal code in the country's form, the lengths the label prints (35 characters per line, at most 3 street lines). The original you sent is kept by IDS.
contactobjectrequirednullablenull: no contact was sent with the quote, or an unused quote expired and its contacts were removed.
namestringrequiredcompanystringrequirednullablephonestringrequiredemailstringrequirednullableaddressobjectrequiredstreetLines[]array of stringrequireditems ≥ 1items ≤ 3citystringrequiredstateCodestringrequirednullablepostalCodestringrequirednullablecountryCodestringrequiredlength 2–2residentialbooleanrequirednullablerecipientobjectrequiredA party as the carrier's label prints it: Latin letters only (Cyrillic, Greek transliterated by named systems, diacritics dropped), the phone with +, the postal code in the country's form, the lengths the label prints (35 characters per line, at most 3 street lines). The original you sent is kept by IDS.
contactobjectrequirednullableSame shape as
labelAddresses.shipper.contactabove.null: no contact was sent with the quote, or an unused quote expired and its contacts were removed.
addressobjectrequiredSame shape as
labelAddresses.shipper.addressabove.returnOfobjectrequiredshipmentIdstring (uuid)requiredThe original shipment.
masterTrackingNumberstringrequirednullablereasonstringrequiredone of: withdrawal · defect · damaged · not_delivered · other
reasonNotestringrequirednullablereturnToobjectrequiredHow the return address was chosen: your address or place, the return place of the original's pickup place, that place, or the original's shipper.
sourcestringrequiredone of: request_address · request_place · original_return_place · original_place · original_shipper
placeExternalIdstringrequirednullablepickupobjectrequiredstatusstringrequiredone of: available · unavailable · unknown
reasonstringrequirednullableone of: RESIDENTIAL_PICKUP_UNAVAILABLE · PICKUP_NOT_AVAILABLE · PICKUP_ADDRESS_REFUSED · CARRIER_DID_NOT_ANSWER · null
customsLinesintegerrequired≥ 0Across a border: how many customs lines its booking sends (0: documents, or one country).
checksobjectrequiredТЗ B10: four separate checks — one passing never stands in for another; a timeout is «unknown», never «not served».
addressobjectrequiredshipperobjectrequiredvalid: the carrier confirmed it; corrected: it confirmed it in another spelling (suggested); invalid: it could not be found as written; unknown: the carrier could not confirm or deny it (country without street data, no answer, a timeout) — never a refusal of the route; not_checked: not requested (include: ["addressValidation"]).
statusstringrequiredone of: valid · corrected · invalid · unknown · not_checked
reasons[]array of stringrequiredclassificationstringrequirednullableone of: BUSINESS · RESIDENTIAL · MIXED · UNKNOWN · null
suggestedobjectrequirednullableThe carrier's spelling of the address (corrected / valid).
streetLines[]array of stringrequiredcitystringrequirednullablestateOrProvinceCodestringrequirednullablepostalCodestringrequirednullablecountryCodestringrequiredrecipientobjectrequiredSame shape as
checks.address.shipperabove.valid: the carrier confirmed it; corrected: it confirmed it in another spelling (suggested); invalid: it could not be found as written; unknown: the carrier could not confirm or deny it (country without street data, no answer, a timeout) — never a refusal of the route; not_checked: not requested (include: ["addressValidation"]).
serviceobjectrequiredstatusstringrequiredone of: available · unavailable
reasonstringrequirednullableone of: CARRIER_NO_RATES · FREIGHT_ONLY · ROUTE_NOT_SERVED · NO_SERVICE_FOR_EVERY_SHIPMENT · COVERAGE_LIMIT_EXCEEDED · SPECIAL_GOODS_NOT_ALLOWED · DANGEROUS_GOODS_NOT_SUPPORTED · null
priceobjectrequiredstatusstringrequiredone of: priced · unavailable
reasonstringrequirednullableone of: CARRIER_NO_RATES · FREIGHT_ONLY · ROUTE_NOT_SERVED · NO_SERVICE_FOR_EVERY_SHIPMENT · COVERAGE_LIMIT_EXCEEDED · SPECIAL_GOODS_NOT_ALLOWED · DANGEROUS_GOODS_NOT_SUPPORTED · null
pickupobjectrequiredCan the carrier collect at the shipper's address (include: ["pickupOptions"]); unknown when it did not answer — not a «no».
statusstringrequiredone of: available · unavailable · unknown · not_checked
reasonstringrequirednullableone of: NOT_REQUESTED · PICKUP_CHECK_UNAVAILABLE · NO_PICKUP_FOR_ADDRESS · PICKUP_ADDRESS_REFUSED · null
datestringrequirednullableThe day checked, YYYY-MM-DD.
addressValidationobjectOnly with include: ["addressValidation"] and an answer from the carrier (otherwise warning ADDRESS_VALIDATION_UNAVAILABLE). checks.address says the same in four states.
shipperobjectrequiredisValidbooleanrequiredisDeliverablebooleanrequiredclassificationstringrequiredsuggestedobjectstreetLines[]array of stringrequiredcitystringrequiredstateOrProvinceCodestringnullablepostalCodestringrequiredcountryCodestringrequiredrecipientobjectrequiredSame shape as
addressValidation.shipperabove.pickupOptionsobjectOnly with include: ["pickupOptions"] and an answer from the carrier.
datestringrequiredoptions[]array of objectrequiredcarrierstringrequiredavailablebooleanrequiredcutOffTimestringreadyTimeOptions[]array of stringlatestTimeOptions[]array of stringdefaultReadyTimestringdefaultLatestTimestringwarnings[]array of objectrequiredcodestringrequiredmessagestringrequiredpathstringThe request field the warning is about (label address warnings).
handoverobjectrequiredpickupobjectrequiredstatusstringrequiredone of: available · unavailable · unknown
May a courier collect it at the buyer's address (the carrier's answer)? unknown: the carrier did not answer in time.
reasonstringrequirednullableone of: RESIDENTIAL_PICKUP_UNAVAILABLE · PICKUP_NOT_AVAILABLE · PICKUP_ADDRESS_REFUSED · CARRIER_DID_NOT_ANSWER · null
days[]array of stringrequiredYYYY-MM-DD the carrier offers a pickup there (available only).
dropOffobjectrequiredstatusstringrequiredone of: available
A drop-off at a carrier point is always possible.
points[]array of objectrequirednullableWith include ["dropOffPoints"]: up to 10 points within 25 km of the buyer (null when not asked); send dropOffNear (the buyer's coordinates) where the carrier does not geocode the address.
idstringrequirednamestringrequirednullabletypestringrequiredaddressobjectrequiredlines[]array of stringrequiredcitystringrequirednullablestateCodestringrequirednullablepostalCodestringrequirednullablecountryCodestringrequirednullabledistanceobjectrequirednullablevaluenumberrequiredunitsstringrequiredhours[]array of objectrequireddaystringrequiredhoursstringrequiredlockerbooleanrequirednullablepointsStatusstringrequirednullableone of: found · none · unknown · null
buyerNoticeobjectrequiredТЗ B5.1: show it unaltered, in the buyer's language, where the buyer sees or pays the return price — a separate service with its own price; a consumer's withdrawal never depends on it. Where the seller or you bear the return, tell the buyer it is free for them instead.
localestringrequiredtextstringrequired