GET/quotes/{id}
One of your quotes of this environment: its fixed prices, its label address and its state (active / expired / used, with the shipment)
- Key scope
quotes:write- Idempotency-Key
- Not used
- URL
https://ids.express/api/v1/quotes/{id}
Parameters
idpath · stringrequiredpattern ^qt_[0-9a-f]{32}$
Call it
curl -s "https://ids.express/api/v1/quotes/$ID" \
-H "Authorization: Bearer $IDS_KEY"Answers
200 The stored quote
Headers: X-Request-Id
application/json — StoredQuote
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.returnOfobjectRET: only a return quote (POST /shipments/{id}/return-quotes).
shipmentIdstring (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).
statestringrequiredone of: active · expired · used
usedAtstring (date-time)requirednullableselectedServiceTypestringrequirednullableshipmentIdstring (uuid)requirednullable
401 AUTHENTICATION_FAILED — missing, malformed, invalid, revoked or expired key
Headers: X-Request-Id
Codes: AUTHENTICATION_FAILED
The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.
403 API_ACCESS_DISABLED / API_ACCOUNT_DISABLED / API_KEY_IP_NOT_ALLOWED / API_TERMS_NOT_ACCEPTED / FORBIDDEN_SCOPE / API_OWNER_NOT_BILLABLE; a platform's key: PLATFORM_SUSPENDED (a quote, booking or test operation of a suspended platform) / PLATFORM_TARIFF_MISSING (a quote or booking before IDS set its tariff)
Headers: X-Request-Id
Codes: API_ACCESS_DISABLEDAPI_ACCOUNT_DISABLEDAPI_KEY_IP_NOT_ALLOWEDAPI_TERMS_NOT_ACCEPTEDFORBIDDEN_SCOPEAPI_OWNER_NOT_BILLABLEPLATFORM_SUSPENDEDPLATFORM_TARIFF_MISSING
The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.
404 NOT_FOUND — not visible to this key (other account or other environment)
429 RATE_LIMITED — per-key or per-IP limit exceeded; wait Retry-After seconds
Headers: X-Request-IdRetry-After
Codes: RATE_LIMITED
The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.
500 INTERNAL_ERROR
Headers: X-Request-Id
Codes: INTERNAL_ERROR
The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.
503 API_DISABLED (API switched off); CARRIER_NOT_CONFIGURED / CURRENCY_RATE_MISSING where a carrier or FX rate is used
Headers: X-Request-Id
Codes: API_DISABLEDCARRIER_NOT_CONFIGUREDCURRENCY_RATE_MISSING
The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.
Error codes of this operation
The codes the answers of this operation name. Always read error.retryable of the answer itself — «varies» means it differs per answer. The gates of every keyed request (401, 403, 429, 503) and the whole catalog: errors.
AUTHENTICATION_FAILEDHTTP 401retryable: noMissing, malformed, invalid, revoked or expired key; an environment tag that does not match. (An account switched off answers 403 API_ACCOUNT_DISABLED since SEC.)
API_ACCESS_DISABLEDHTTP 403retryable: noAPI access is switched off for this account.
API_ACCOUNT_DISABLEDHTTP 403retryable: noThe IDS account of this key is switched off, not approved or closed (for an employee's key: its franchise owner's account) — the key stops with it; contact IDS.
API_KEY_IP_NOT_ALLOWEDHTTP 403retryable: noIDS keeps a list of IP addresses for this key and the request came from another one — send it from a listed address, or ask IDS to change the list.
API_TERMS_NOT_ACCEPTEDHTTP 403retryable: noThe IDS account of this key has not accepted the API Terms of Use (/legal/api-terms) — its holder accepts them in the IDS cabinet (Integrations / API), or IDS records a signed agreement (for an employee's key: its franchise owner's account). Retrying does not help until then.
FORBIDDEN_SCOPEHTTP 403retryable: noThe key lacks the scope of this operation (x-scope).
API_OWNER_NOT_BILLABLEHTTP 403retryable: noThe account cannot be billed through the API (no pricing tier, or an admin account).
PLATFORM_SUSPENDEDHTTP 403retryable: noThe platform of this key is suspended by IDS: quotes, bookings and test operations are refused until IDS resumes it; reads, the tracking refresh, a cancellation and a complaint still work. A retry of a booking finished before the suspension replays its answer.
PLATFORM_TARIFF_MISSINGHTTP 403retryable: noThe platform has no tariff yet — IDS sets it; no quote or booking until then.
NOT_FOUNDHTTP 404retryable: noUnknown path, or an object this key may not see (another account, the other environment).
RATE_LIMITEDHTTP 429retryable: yesA limit per minute — the key's requests, its quotes, its platform's keys together, or the client IP (limitScope) — wait Retry-After seconds (retryAfterSec, limit).
INTERNAL_ERRORHTTP 500retryable: noUnexpected — for a booking, check GET /shipments before using a new key; quote the requestId.
API_DISABLEDHTTP 503retryable: noIDS switched the whole API off (/ping and /openapi.json keep answering).
CARRIER_NOT_CONFIGUREDHTTP 503retryable: noThe carrier credentials of this environment are missing.
CURRENCY_RATE_MISSINGHTTP 503retryable: noIDS has no exchange rate for the balance currency.