API reference › Quotes

POST/quotes

Quote: validate + price services + the four checks (address, service, price, pickup) + the label address

Key scope
quotes:write
Idempotency-Key
Not used
URL
https://ids.express/api/v1/quotes

Request body

Unknown fields are rejected (400 VALIDATION_FAILED, details[].path names the field).

application/json — QuoteRequest

  • shipperobjectrequired
  • contactobject
  • namestringrequiredlength 1–100
  • companystringlength ≤ 100
  • phonestringrequiredlength 1–20
  • emailstring (email)length ≤ 255
  • addressobjectrequired
  • line1stringrequiredlength 1–100
  • line2stringlength ≤ 100
  • citystringrequiredlength 1–100
  • stateCodestringlength ≤ 20
  • postalCodestringlength ≤ 20
  • countryCodestringrequiredlength 2–2
  • residentialboolean
  • recipientobjectrequired
  • contactobject

    Same shape as shipper.contact above.

  • addressobjectrequired

    Same shape as shipper.address above.

  • packages[]array of objectrequireditems ≥ 1items ≤ 100
  • weightnumberrequired> 0≤ 1000
  • weightUnitstringdefault KG

    one of: KG · LB

  • lengthnumber> 0≤ 1000
  • widthnumber> 0≤ 1000
  • heightnumber> 0≤ 1000
  • dimUnitstring

    one of: CM · IN

  • declaredValueobject
  • amountnumberrequired≥ 0
  • currencystringrequiredlength 3–3
  • contentValueobject
  • amountnumberrequired≥ 0≤ 100000000
  • currencystringrequiredlength 3–3
  • specialGoodsobject

    Special goods in this box, declared from the items packed in it (the seller classifies each item by its manufacturer's documents: the safety data sheet; for a battery, its UN 38.3 test summary and its marking). Absent: ordinary goods. Nothing is allowed by default: a declared category the account may not ship — an allowable one IDS did not allow, or any other dangerous goods (all except a lithium battery in or with its device) — answers 422 PRICING_UNAVAILABLE with details.reason SPECIAL_GOODS_NOT_ALLOWED or DANGEROUS_GOODS_NOT_SUPPORTED and the refused boxes. Categories: GET /metadata specialGoods; a platform's allowed ones: GET /platform specialGoodsAllowed.

  • batteryobject

    A battery in the box. Category lithium_<type>_<installation> or non_lithium_battery (installation is not considered for non_lithium). Lithium batteries in or with equipment are dangerous goods carried, within the carrier's limits, under a reduced regime: IDS books them, and non_lithium, only for an account it allowed the category (GET /platform specialGoodsAllowed for a platform) — a lithium one is then declared to the carrier with the quote and the booking. Lithium batteries alone are refused for every account (DANGEROUS_GOODS_NOT_SUPPORTED).

  • typestringrequired

    one of: lithium_ion · lithium_metal · non_lithium

    lithium_ion: lithium-ion or lithium-polymer cells (rechargeable LIR coin cells included); lithium_metal: lithium-metal or lithium-alloy cells, mostly non-rechargeable (CR coin cells included); non_lithium: a dry alkaline, zinc-carbon, NiMH or NiCd battery. Lead-acid (spillable or not), sodium-ion and other wet batteries are dangerous goods: declare their unNumber (refused).

  • installationstringrequired

    one of: in_equipment · with_equipment · alone

    in_equipment: installed in the device; with_equipment: packed in the same box as the device it powers; alone: batteries without the device. A power bank is always alone, even in the same box as a device.

  • liquidboolean

    true: the box holds a liquid that is not dangerous goods (its safety data sheet names no UN number). Category liquid — booked only for an account IDS allowed it; nothing is sent to the carrier. A flammable or otherwise dangerous liquid is not a liquid here: declare it by hazardClass or unNumber (refused).

  • aerosolboolean

    true: the box holds an aerosol (spray can). Dangerous goods — refused for every account (DANGEROUS_GOODS_NOT_SUPPORTED).

  • perfumeboolean

    true: the box holds perfume, eau de toilette or another fragrance. IDS treats them as dangerous goods (most are flammable liquids, UN 1266) — refused for every account (DANGEROUS_GOODS_NOT_SUPPORTED).

  • hazardClassstringpattern ^[1-9](\.[1-6])?$

    The UN hazard class the item's documents name (3, 2.1, 8, …). Any value makes the box dangerous goods — refused for every account (DANGEROUS_GOODS_NOT_SUPPORTED). A lithium battery in or with its device is declared by battery, not here.

  • unNumberstringpattern ^UN\d{4}$

    The UN number the item's documents name (UN1266, UN1993, …). Any value makes the box dangerous goods — refused for every account (DANGEROUS_GOODS_NOT_SUPPORTED). A lithium battery in or with its device is declared by battery, not here.

  • serviceobject
  • typestringlength ≤ 60
  • packagingstringlength ≤ 60
  • signaturestring

    one of: SERVICE_DEFAULT · DIRECT · ADULT

  • coveragestring

    one of: none · auto

  • include[]array of stringitems ≤ 2
  • pickupobject
  • datestringrequiredpattern ^\d{4}-\d{2}-\d{2}$
  • localestringlength ≤ 35
  • testScenariostring

    one of: route_not_served · address_invalid · address_unknown · pickup_unavailable · residential_pickup_unavailable · slow · carrier_error · carrier_error_retryable

    Test keys on the simulated carrier only: what the carrier answers this quote (GET /metadata testScenarios.quote). A live key, or a test key IDS switched to the FedEx sandbox: 400.

  • buyerobject

    INV: a platform whose deliveries IDS invoices to the buyer (GET /platform invoiceRecipient delivery_customer) — the kind of buyer it will book for (the delivery customer of the booking). The VAT of the price follows the VAT treatment IDS applies to that buyer and route; absent — a private person. Ignored for every other account.

  • typestringrequired

    one of: person · company

    person: a private buyer; company: a buyer that is a company.

  • countryCodestringrequiredpattern ^[A-Za-z]{2}$

    The buyer's country (its invoice address).

  • vatNumberstringlength 2–30pattern ^[A-Za-z0-9 .\-/]+$

    company only: its VAT code (e.g. DE123456789) when it has one.

Example request
{
  "shipper": {
    "contact": {
      "name": "Acme Store",
      "phone": "+40700000000",
      "email": "[email protected]"
    },
    "address": {
      "line1": "Calea Victoriei 1",
      "city": "București",
      "postalCode": "010061",
      "countryCode": "RO"
    }
  },
  "recipient": {
    "contact": {
      "name": "Ana Popescu",
      "phone": "0740 000 000"
    },
    "address": {
      "line1": "Strada Republicii 12",
      "city": "Brașov",
      "postalCode": "500030",
      "countryCode": "RO",
      "residential": true
    }
  },
  "packages": [
    {
      "weight": 2,
      "weightUnit": "KG",
      "length": 20,
      "width": 15,
      "height": 10,
      "dimUnit": "CM",
      "contentValue": {
        "amount": 450,
        "currency": "RON"
      }
    }
  ],
  "coverage": "auto",
  "include": [
    "addressValidation",
    "pickupOptions"
  ],
  "locale": "ro"
}

Call it

curl -s -X POST "https://ids.express/api/v1/quotes" \
  -H "Authorization: Bearer $IDS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "shipper": {
    "contact": {
      "name": "Acme Store",
      "phone": "+40700000000",
      "email": "[email protected]"
    },
    "address": {
      "line1": "Calea Victoriei 1",
      "city": "București",
      "postalCode": "010061",
      "countryCode": "RO"
    }
  },
  "recipient": {
    "contact": {
      "name": "Ana Popescu",
      "phone": "0740 000 000"
    },
    "address": {
      "line1": "Strada Republicii 12",
      "city": "Brașov",
      "postalCode": "500030",
      "countryCode": "RO",
      "residential": true
    }
  },
  "packages": [
    {
      "weight": 2,
      "weightUnit": "KG",
      "length": 20,
      "width": 15,
      "height": 10,
      "dimUnit": "CM",
      "contentValue": {
        "amount": 450,
        "currency": "RON"
      }
    }
  ],
  "coverage": "auto",
  "include": [
    "addressValidation",
    "pickupOptions"
  ],
  "locale": "ro"
}'

Answers

200 The stored quote: an opaque single-use quoteId, the fixed price of each service, coverage, duties, weights, the plan, the checks and the label address (default validity 30 minutes)

Headers: X-Request-Id

application/json — Quote

  • 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).

  • checksobjectrequired

    ТЗ B10: four separate checks — one passing never stands in for another; a timeout is «unknown», never «not served».

  • addressobjectrequired
  • shipperobjectrequired

    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"]).

  • statusstringrequired

    one of: valid · corrected · invalid · unknown · not_checked

  • reasons[]array of stringrequired
  • classificationstringrequirednullable

    one of: BUSINESS · RESIDENTIAL · MIXED · UNKNOWN · null

  • suggestedobjectrequirednullable

    The carrier's spelling of the address (corrected / valid).

  • streetLines[]array of stringrequired
  • citystringrequirednullable
  • stateOrProvinceCodestringrequirednullable
  • postalCodestringrequirednullable
  • countryCodestringrequired
  • recipientobjectrequired

    Same shape as checks.address.shipper above.

    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"]).

  • serviceobjectrequired
  • statusstringrequired

    one of: available · unavailable

  • reasonstringrequirednullable

    one 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

  • priceobjectrequired
  • statusstringrequired

    one of: priced · unavailable

  • reasonstringrequirednullable

    one 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

  • pickupobjectrequired

    Can the carrier collect at the shipper's address (include: ["pickupOptions"]); unknown when it did not answer — not a «no».

  • statusstringrequired

    one of: available · unavailable · unknown · not_checked

  • reasonstringrequirednullable

    one of: NOT_REQUESTED · PICKUP_CHECK_UNAVAILABLE · NO_PICKUP_FOR_ADDRESS · PICKUP_ADDRESS_REFUSED · null

  • datestringrequirednullable

    The day checked, YYYY-MM-DD.

  • addressValidationobject

    Only with include: ["addressValidation"] and an answer from the carrier (otherwise warning ADDRESS_VALIDATION_UNAVAILABLE). checks.address says the same in four states.

  • shipperobjectrequired
  • isValidbooleanrequired
  • isDeliverablebooleanrequired
  • classificationstringrequired
  • suggestedobject
  • streetLines[]array of stringrequired
  • citystringrequired
  • stateOrProvinceCodestringnullable
  • postalCodestringrequired
  • countryCodestringrequired
  • recipientobjectrequired

    Same shape as addressValidation.shipper above.

  • pickupOptionsobject

    Only with include: ["pickupOptions"] and an answer from the carrier.

  • datestringrequired
  • options[]array of objectrequired
  • carrierstringrequired
  • availablebooleanrequired
  • cutOffTimestring
  • readyTimeOptions[]array of string
  • latestTimeOptions[]array of string
  • defaultReadyTimestring
  • defaultLatestTimestring
  • warnings[]array of objectrequired
  • codestringrequired
  • messagestringrequired
  • pathstring

    The request field the warning is about (label address warnings).

Example 200
{
  "quoteId": "qt_9f2c4a1e0b7d4c3a8e6f1b2c3d4e5f60",
  "expiresAt": "2026-11-02T10:30:00.000Z",
  "environment": "production",
  "shipmentDirection": "DOMESTIC",
  "currency": "RON",
  "shipmentCount": 1,
  "coverage": {
    "mode": "auto",
    "maxDeclaredValue": {
      "amount": 5000,
      "amountMinor": 500000,
      "currency": "RON"
    }
  },
  "duties": {
    "applies": false,
    "payer": null,
    "includedInPrice": false,
    "note": null
  },
  "packages": [
    {
      "packageNumber": 1,
      "contentValue": {
        "amount": 450,
        "amountMinor": 45000,
        "currency": "RON"
      },
      "customsValue": null,
      "declaredValue": {
        "amount": 450,
        "amountMinor": 45000,
        "currency": "RON"
      },
      "specialGoods": []
    }
  ],
  "services": [
    {
      "serviceType": "FEDEX_PRIORITY",
      "serviceName": "IDS Priority",
      "carrierCode": "FEDEX",
      "serviceCode": "FEDEX_PRIORITY",
      "deliveryType": "door",
      "deliveryDate": "2026-11-03T12:00:00",
      "deliveryDayOfWeek": "TUE",
      "transitDays": null,
      "transitBusinessDays": {
        "min": 1,
        "max": 1
      },
      "estimatedPrice": {
        "net": 50,
        "vat": 10.5,
        "total": 60.5,
        "currency": "RON",
        "netMinor": 5000,
        "vatMinor": 1050,
        "totalMinor": 6050,
        "indicative": false,
        "amountMinor": 6050
      },
      "coverage": {
        "price": {
          "net": 4.86,
          "vat": 1.02,
          "total": 5.88,
          "currency": "RON",
          "netMinor": 486,
          "vatMinor": 102,
          "totalMinor": 588
        }
      },
      "weight": {
        "unit": "KG",
        "actual": 2,
        "volumetric": 0.6,
        "billable": 2,
        "basis": "actual",
        "volumetricDivisor": {
          "value": 5000,
          "unit": "cm3/kg"
        }
      },
      "shipments": [
        {
          "packageNumbers": [
            1
          ],
          "estimatedPrice": {
            "net": 50,
            "vat": 10.5,
            "total": 60.5,
            "currency": "RON",
            "netMinor": 5000,
            "vatMinor": 1050,
            "totalMinor": 6050,
            "amountMinor": 6050
          },
          "coverage": {
            "price": {
              "net": 4.86,
              "vat": 1.02,
              "total": 5.88,
              "currency": "RON",
              "netMinor": 486,
              "vatMinor": 102,
              "totalMinor": 588
            }
          },
          "weight": {
            "unit": "KG",
            "actual": 2,
            "volumetric": 0.6,
            "billable": 2,
            "basis": "actual",
            "volumetricDivisor": {
              "value": 5000,
              "unit": "cm3/kg"
            }
          }
        }
      ]
    }
  ],
  "unavailableServices": [],
  "labelAddresses": {
    "shipper": {
      "contact": {
        "name": "Acme Store",
        "company": null,
        "phone": "+40700000000",
        "email": "[email protected]"
      },
      "address": {
        "streetLines": [
          "Calea Victoriei 1"
        ],
        "city": "Bucuresti",
        "stateCode": null,
        "postalCode": "010061",
        "countryCode": "RO",
        "residential": null
      }
    },
    "recipient": {
      "contact": {
        "name": "Ana Popescu",
        "company": null,
        "phone": "+40740000000",
        "email": null
      },
      "address": {
        "streetLines": [
          "Strada Republicii 12"
        ],
        "city": "Brasov",
        "stateCode": null,
        "postalCode": "500030",
        "countryCode": "RO",
        "residential": true
      }
    }
  },
  "checks": {
    "address": {
      "shipper": {
        "status": "unknown",
        "reasons": [
          "NOT_CONFIRMED"
        ],
        "classification": "UNKNOWN",
        "suggested": {
          "streetLines": [
            "CALEA VICTORIEI 1"
          ],
          "city": "BUCURESTI",
          "stateOrProvinceCode": null,
          "postalCode": "010061",
          "countryCode": "RO"
        }
      },
      "recipient": {
        "status": "unknown",
        "reasons": [
          "NOT_CONFIRMED"
        ],
        "classification": "UNKNOWN",
        "suggested": {
          "streetLines": [
            "STRADA REPUBLICII 12"
          ],
          "city": "BRASOV",
          "stateOrProvinceCode": null,
          "postalCode": "500030",
          "countryCode": "RO"
        }
      }
    },
    "service": {
      "status": "available",
      "reason": null
    },
    "price": {
      "status": "priced",
      "reason": null
    },
    "pickup": {
      "status": "available",
      "reason": null,
      "date": "2026-11-02"
    }
  },
  "addressValidation": {
    "shipper": {
      "isValid": true,
      "isDeliverable": true,
      "classification": "UNKNOWN",
      "suggested": {
        "streetLines": [
          "CALEA VICTORIEI 1"
        ],
        "city": "BUCURESTI",
        "stateOrProvinceCode": "",
        "postalCode": "010061",
        "countryCode": "RO"
      }
    },
    "recipient": {
      "isValid": true,
      "isDeliverable": true,
      "classification": "UNKNOWN",
      "suggested": {
        "streetLines": [
          "STRADA REPUBLICII 12"
        ],
        "city": "BRASOV",
        "stateOrProvinceCode": "",
        "postalCode": "500030",
        "countryCode": "RO"
      }
    }
  },
  "pickupOptions": {
    "date": "2026-11-02",
    "options": [
      {
        "carrier": "FDXE",
        "available": true,
        "cutOffTime": "16:00:00",
        "readyTimeOptions": [
          "09:00:00"
        ],
        "latestTimeOptions": [
          "18:00:00"
        ]
      }
    ]
  },
  "warnings": [
    {
      "code": "PHONE_COUNTRY_CODE_ADDED",
      "message": "No country code was given: the code of RO was added (+40740000000)",
      "path": "recipient.contact.phone"
    }
  ]
}
400 VALIDATION_FAILED — a field (details[].path); an address the label cannot print (details[].code LATIN_SPELLING_REQUIRED, POSTAL_CODE_REQUIRED, POSTAL_CODE_INVALID); testScenario with a live key or a test key on the FedEx sandbox

Headers: X-Request-Id

Codes: VALIDATION_FAILED

The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.

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.

422 PACKAGE_EXCEEDS_PARCEL_LIMITS (a box over 68 kg / 150 lb, 274 cm / 108 in long or 330 cm / 130 in length + girth — freight, not sold online; details.reason, details.packageNumber, details.buyerMessage) / CARRIER_ERROR (retryable true: the carrier did not answer — unknown, not «not served») / PRICING_UNAVAILABLE (no delivery for this item to this address: details.reason CARRIER_NO_RATES | FREIGHT_ONLY | ROUTE_NOT_SERVED | NO_SERVICE_FOR_EVERY_SHIPMENT, details.checks, details.buyerMessage; and, refused before the carrier, COVERAGE_LIMIT_EXCEEDED | SPECIAL_GOODS_NOT_ALLOWED | DANGEROUS_GOODS_NOT_SUPPORTED with details.packages[]; a platform's key: PLATFORM_ORIGIN_NOT_ALLOWED | PLATFORM_DESTINATION_NOT_ALLOWED with details.allowedCountries) / VAT_SCENARIO_NOT_APPROVED / VAT_SCENARIO_UNSUPPORTED (a platform whose buyers IDS invoices: the VAT treatment of that kind of buyer and route — details.buyerType, details.route)

Headers: X-Request-Id

Codes: PACKAGE_EXCEEDS_PARCEL_LIMITSCARRIER_ERRORPRICING_UNAVAILABLEVAT_SCENARIO_NOT_APPROVEDVAT_SCENARIO_UNSUPPORTED

The error envelope — Error (error.code, message, retryable, details, requestId); the codes below.

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.

  • VALIDATION_FAILEDHTTP 400retryable: nodetails: ValidationIssuesdetails: ServiceRefusal

    The request is invalid: a field (details[].path), an unknown field, a missing Idempotency-Key, a body that is not JSON, an address the label cannot print. Fix it; repeating it unchanged fails again.

  • AUTHENTICATION_FAILEDHTTP 401retryable: no

    Missing, 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: no

    API access is switched off for this account.

  • API_ACCOUNT_DISABLEDHTTP 403retryable: no

    The 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: no

    IDS 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: no

    The 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: no

    The key lacks the scope of this operation (x-scope).

  • API_OWNER_NOT_BILLABLEHTTP 403retryable: no

    The account cannot be billed through the API (no pricing tier, or an admin account).

  • PLATFORM_SUSPENDEDHTTP 403retryable: no

    The 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: no

    The platform has no tariff yet — IDS sets it; no quote or booking until then.

  • PACKAGE_EXCEEDS_PARCEL_LIMITSHTTP 422retryable: nodetails: ParcelLimitDetails

    A box is over the parcel limits — freight, not sold online (details).

  • CARRIER_ERRORHTTP 422retryable: variesdetails: CarrierErrorDetails

    The carrier refused or failed the request. retryable true: it throttled, failed or did not answer — the route's availability is unknown, try later; false: it refused this request — or, on a booking, the carrier may have made the label without answering (the Idempotency-Key and the operationRef are closed, IDS reviews it: look the booking up with GET /shipments?operationRef= before booking again).

  • PRICING_UNAVAILABLEHTTP 422retryable: nodetails: PricingUnavailableDetails

    No delivery can be offered for this item to this address (details.reason; on a quote also details.buyerMessage and the four checks) — a stable reason, not a timeout.

  • VAT_SCENARIO_NOT_APPROVEDHTTP 422retryable: nodetails: VatScenarioDetails

    IDS invoices this platform's deliveries to the buyer, and the VAT treatment of this kind of buyer (details.buyerType) on this route (details.route) is not approved by IDS's accountant yet — the delivery cannot be sold at a VAT nobody approved. Contact IDS; test keys are priced meanwhile.

  • VAT_SCENARIO_UNSUPPORTEDHTTP 422retryable: nodetails: VatScenarioDetails

    IDS cannot invoice the delivery of this route (details.route) to this kind of buyer (details.buyerType) — its VAT is another state's. Offer another delivery option.

  • RATE_LIMITEDHTTP 429retryable: yes

    A 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: no

    Unexpected — for a booking, check GET /shipments before using a new key; quote the requestId.

  • API_DISABLEDHTTP 503retryable: no

    IDS switched the whole API off (/ping and /openapi.json keep answering).

  • CARRIER_NOT_CONFIGUREDHTTP 503retryable: no

    The carrier credentials of this environment are missing.

  • CURRENCY_RATE_MISSINGHTTP 503retryable: no

    IDS has no exchange rate for the balance currency.