PricingUnavailableDetails
The error.details of: PRICING_UNAVAILABLE
Fields
reasonstringrequiredone 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 · PLATFORM_ORIGIN_NOT_ALLOWED · PLATFORM_DESTINATION_NOT_ALLOWED
limitobjectCOVERAGE_LIMIT_EXCEEDED: the cap per box.
amountnumberrequirednullableamountMinorintegerrequirednullableThe amount beside it in minor units (cents).
currencystringrequirednullableallowedCountries[]array of stringPLATFORM_ORIGIN_NOT_ALLOWED / PLATFORM_DESTINATION_NOT_ALLOWED: the countries the platform may ship from / to (set by IDS).
packages[]array of one of 2COVERAGE_LIMIT_EXCEEDED, SPECIAL_GOODS_NOT_ALLOWED, DANGEROUS_GOODS_NOT_SUPPORTED: the boxes concerned.
- in every variant (2)object
packageNumberintegerrequired- variant 1object
declaredValueobjectrequiredSame shape as
limitabove.Money: amount in whole cents of currency, amountMinor the same amount as an integer of minor units.
declaredValueRonobjectrequiredSame shape as
limitabove.Money: amount in whole cents of currency, amountMinor the same amount as an integer of minor units.
- variant 2object
categories[]array of stringrequiredrefused[]array of stringrequiredbuyerMessageobjectOn a quote.
localestringrequiredtextstringrequiredchecksobjectOn a quote the carrier answered: the four checks (ТЗ B10).
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.