Platform
Used by
Fields
codestringrequirednamestringrequiredstatusstringrequiredone of: active · suspended
suspended: reads work, every write answers 403 PLATFORM_SUSPENDED.
environmentstringrequiredone of: sandbox · production
sameLegalEntitybooleanrequiredpaymentModestringrequiredone of: balance · platform_collected
The mode this key books in: platform_collected — a booking carries platform.payment; balance — it carries none. A test key of a platform of IDR itself (sameLegalEntity) always answers platform_collected: it rehearses the only live path such a platform has. Its live key answers balance until IDS switches the platform over, and until then its live bookings answer 409 PLATFORM_PAYMENT_MODE_UNAVAILABLE.
invoiceRecipientstringrequiredone of: delivery_customer · platform
Who receives the delivery invoice of the platform's orders.
lifecycleEmailsbooleanrequiredWhether IDS e-mails the platform's people about a shipment's life (off: the platform informs them).
tariffSetbooleanrequiredfalse: IDS has not set the platform's tariff yet — quotes and bookings answer 403 PLATFORM_TARIFF_MISSING.
countriesobjectrequiredISO codes the platform may ship from / to; an empty list = every country where a service is available.
origin[]array of stringrequireddestination[]array of stringrequiredcoverageobjectrequiredauto: every quote and booking is covered (coverage "auto", each box's contentValue required).
autobooleanrequiredmaxDeclaredValuePerBoxobjectrequiredMoney: amount in whole cents of currency, amountMinor the same amount as an integer of minor units.
amountnumberrequirednullableamountMinorintegerrequirednullableThe amount beside it in minor units (cents).
currencystringrequirednullablequoteValidityMinutesintegerrequiredHow long a quote of this platform stays valid.
specialGoodsAllowed[]array of stringrequiredSpecial-goods categories the platform may ship (GET /metadata specialGoods.allowable); dangerous goods never.