API reference › Schemas

StoredQuote

Fields

  • quoteIdstringrequiredpattern ^qt_[0-9a-f]{32}$

    Opaque and single use: nothing about the request is in it.

  • expiresAtstring (date-time)required
  • environmentstringrequired

    one of: sandbox · production

  • shipmentDirectionstringrequired

    one of: DOMESTIC · EU · INTERNATIONAL

  • currencystringrequired

    The payer's balance currency — the booking charges in it.

  • shipmentCountintegerrequired≥ 1
  • coverageobjectrequired
  • modestringrequired

    one of: none · auto

  • maxDeclaredValueobjectrequired

    The most one box may be declared at (IDR's conditions of postal services: 5000 RON).

  • amountnumberrequirednullable
  • amountMinorintegerrequirednullable

    The amount beside it in minor units (cents).

  • currencystringrequirednullable
  • dutiesobjectrequired

    ТЗ F12: never included in the price; on a route with an import they may be charged at destination to the recipient.

  • appliesbooleanrequired
  • payerstringrequirednullable

    one of: recipient · null

  • includedInPricebooleanrequired

    one of: false

  • notestringrequirednullable
  • packages[]array of objectrequired
  • packageNumberintegerrequired
  • contentValueobjectrequirednullable

    Money: amount in whole cents of currency, amountMinor the same amount as an integer of minor units.

  • amountnumberrequirednullable
  • amountMinorintegerrequirednullable

    The amount beside it in minor units (cents).

  • currencystringrequirednullable
  • customsValueobjectrequirednullable

    Same shape as packages[].contentValue above.

    Set by the booking's customs.commodities; a quote has none.

  • declaredValueobjectrequirednullable

    Same shape as packages[].contentValue above.

    The value declared for carriage — IDR's liability limit for the box, not an insurance contract.

  • specialGoods[]array of stringrequired
  • services[]array of objectrequired
  • serviceTypestringrequired
  • serviceNamestringrequirednullable

    IDS name, no carrier brand (ТЗ I3).

  • carrierCodestringrequired
  • serviceCodestringrequired
  • deliveryTypestringrequired

    one of: door

  • deliveryDatestringrequirednullable

    The carrier's local date and time of delivery (no offset), e.g. 2026-11-03T18:00:00.

  • deliveryDayOfWeekstringrequirednullable
  • transitDaysstringrequirednullable
  • transitBusinessDaysobjectrequirednullable
  • minintegerrequired
  • maxintegerrequired
  • estimatedPriceobjectrequired

    The 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.

  • netnumberrequired
  • vatnumberrequired
  • totalnumberrequired
  • currencystringrequired
  • netMinorintegerrequired

    The amount beside it in minor units (cents).

  • vatMinorintegerrequired

    The amount beside it in minor units (cents).

  • totalMinorintegerrequired

    The amount beside it in minor units (cents).

  • indicativebooleanrequired
  • amountMinorintegerrequired

    The amount beside it in minor units (cents).

  • coverageobjectrequirednullable

    What the declared value for carriage adds to the price (already inside estimatedPrice); null without a declared value.

  • priceobjectrequired

    net + vat = total exactly, in whole cents.

  • netnumberrequired
  • vatnumberrequired
  • totalnumberrequired
  • currencystringrequired
  • netMinorintegerrequired

    The amount beside it in minor units (cents).

  • vatMinorintegerrequired

    The amount beside it in minor units (cents).

  • totalMinorintegerrequired

    The 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.

  • unitstringrequired

    one of: KG · LB

  • actualnumberrequired
  • volumetricnumberrequirednullable
  • billablenumberrequirednullable
  • basisstringrequirednullable

    one of: actual · volumetric · other · null

  • volumetricDivisorobjectrequirednullable
  • valuenumberrequired
  • unitstringrequired

    one of: cm3/kg

  • shipments[]array of objectrequired

    The plan (ТЗ I11): one entry per shipment the boxes go in, with its own price; a single shipment unless shipmentCount > 1.

  • packageNumbers[]array of integerrequired
  • estimatedPriceobjectrequired
  • netnumberrequired
  • vatnumberrequired
  • totalnumberrequired
  • currencystringrequired
  • netMinorintegerrequired

    The amount beside it in minor units (cents).

  • vatMinorintegerrequired

    The amount beside it in minor units (cents).

  • totalMinorintegerrequired

    The amount beside it in minor units (cents).

  • amountMinorintegerrequired

    The amount beside it in minor units (cents).

  • coverageobjectrequirednullable

    What the declared value for carriage adds to the price (already inside estimatedPrice); null without a declared value.

  • priceobjectrequired

    Same shape as services[].coverage.price above.

    net + vat = total exactly, in whole cents.

  • weightobjectrequirednullable

    Same shape as services[].weight above.

    ТЗ 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 objectrequired
  • serviceTypestringrequired
  • serviceCodestringrequired
  • carrierCodestringrequired
  • reasonstringrequired

    one of: NOT_AVAILABLE_FOR_EVERY_SHIPMENT

  • labelAddressesobjectrequired

    CTR (ТЗ B9): the shipper and the recipient as the label will print them.

  • shipperobjectrequired

    A 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.

  • contactobjectrequirednullable

    null: no contact was sent with the quote, or an unused quote expired and its contacts were removed.

  • namestringrequired
  • companystringrequirednullable
  • phonestringrequired
  • emailstringrequirednullable
  • addressobjectrequired
  • streetLines[]array of stringrequireditems ≥ 1items ≤ 3
  • citystringrequired
  • stateCodestringrequirednullable
  • postalCodestringrequirednullable
  • countryCodestringrequiredlength 2–2
  • residentialbooleanrequirednullable
  • recipientobjectrequired

    A 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.

  • contactobjectrequirednullable

    Same shape as labelAddresses.shipper.contact above.

    null: no contact was sent with the quote, or an unused quote expired and its contacts were removed.

  • addressobjectrequired

    Same shape as labelAddresses.shipper.address above.

  • returnOfobject

    RET: only a return quote (POST /shipments/{id}/return-quotes).

  • shipmentIdstring (uuid)required

    The original shipment.

  • masterTrackingNumberstringrequirednullable
  • reasonstringrequired

    one of: withdrawal · defect · damaged · not_delivered · other

  • reasonNotestringrequirednullable
  • returnToobjectrequired

    How 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.

  • sourcestringrequired

    one of: request_address · request_place · original_return_place · original_place · original_shipper

  • placeExternalIdstringrequirednullable
  • pickupobjectrequired
  • statusstringrequired

    one of: available · unavailable · unknown

  • reasonstringrequirednullable

    one of: RESIDENTIAL_PICKUP_UNAVAILABLE · PICKUP_NOT_AVAILABLE · PICKUP_ADDRESS_REFUSED · CARRIER_DID_NOT_ANSWER · null

  • customsLinesintegerrequired≥ 0

    Across a border: how many customs lines its booking sends (0: documents, or one country).

  • statestringrequired

    one of: active · expired · used

  • usedAtstring (date-time)requirednullable
  • selectedServiceTypestringrequirednullable
  • shipmentIdstring (uuid)requirednullable