Booking
Fields
idstring (uuid)requiredstatusstringrequiredone of: draft · pending · confirmed · in_transit · delivered · cancelled · exception · failed
masterTrackingNumberstringrequirednullableenvironmentstringrequiredone of: sandbox · production
createdViastringrequirednullablecreatedAtstring (date-time)requirednullableserviceobjectrequiredtypestringrequirednullablenamestringrequirednullablecarrierCodestringrequirednullableserviceCodestringrequirednullableshipDatestringrequirednullableYYYY-MM-DD.
estimatedDeliveryDatestring (date-time)requirednullablepackages[]array of objectrequiredsequenceNumberintegerrequiredtrackingNumberstringrequirednullablelabelobjectrequirednullableformatstringrequiredencodedstringrequiredcontentValueobjectrequirednullableMoney: amount in whole cents of currency, amountMinor the same amount as an integer of minor units.
amountnumberrequirednullableamountMinorintegerrequirednullableThe amount beside it in minor units (cents).
currencystringrequirednullabledeclaredValueobjectrequirednullableSame shape as
packages[].contentValueabove.Money: amount in whole cents of currency, amountMinor the same amount as an integer of minor units.
pickupobjectrequiredrequestedbooleanrequiredscheduledbooleanrequiredconfirmationCodestringrequirednullablestatusstringrequiredone of: scheduled · requested · failed · none
PCK: requested — IDS is asking, or will ask when the carrier books that day.
errorstringrequirednullableenvironmentstringrequiredone of: sandbox · production
statestringrequiredone of: label_created · pickup_requested · pickup_confirmed · pickup_not_assigned · picked_up · pickup_cancelled · dropped_off
label_created (no pickup asked), pickup_requested (IDS is asking, or will when the carrier books that day — not confirmed), pickup_confirmed, pickup_not_assigned (refused, no window, retries exhausted, the courier did not come), picked_up (the carrier's scan), pickup_cancelled, dropped_off.
readyAtstring (date-time)requirednullablerequestobjectrequirednullableidstring (uuid)requiredstatusstringrequiredone of: planned · requesting · confirmed · failed · outcome_unknown · missed · picked_up · cancelled · dropped_off
planned — IDS asks the carrier on bookAfter (the carrier books that day only later); requesting — being asked (or retried after a temporary failure); confirmed — the carrier's confirmationCode; failed — refused, no window, retries exhausted; outcome_unknown — the carrier's answer was lost (IDS checks before asking again); missed — confirmed, the courier did not come; picked_up; cancelled; dropped_off — the seller handed the parcels in (an exception IDS agreed).
scheduledBystringrequiredone of: ids · booking
ids — IDS scheduled it (a pickup place, or the booking's own window); booking — a pickup made with the booking before PCK.
carrierstringrequiredThe carrier's pickup code (FDXE; SIMULATED for a test key).
datestringrequiredYYYY-MM-DD, the pickup day in the place's time zone.
windowobjectrequirednullableThe window asked of the carrier: from readyTime (the parcels ready) to closeTime (the latest the courier may come); null — none found.
readyTimestringrequiredpattern ^\d{2}:\d{2}$HH:mm in the place's time zone.
closeTimestringrequiredpattern ^\d{2}:\d{2}$HH:mm in the place's time zone.
timezonestringrequiredbookAfterstring (date-time)requirednullableplanned only: when IDS asks the carrier (never shown as confirmed before).
confirmationCodestringrequirednullablerequestedAtstring (date-time)requirednullableconfirmedAtstring (date-time)requirednullablepickedUpAtstring (date-time)requirednullableshipmentCountintegerrequirednullable≥ 0Shipments waiting for this pickup (yours and the place's other ones of the day).
packageCountintegerrequired≥ 0attemptsintegerrequired≥ 0locationobjectrequirednullableexternalIdstringrequirednamestringrequiredalerts[]array of objectrequiredWhat the carrier said with its confirmation (e.g. PICKUP.SCHEDULE.LATE).
codestringrequiredalertTypestringrequiredmessagestringrequiredproblemobjectrequirednullableAn open problem IDS handles (refused, no_window, window_missed, outcome_unknown, booking_failed, carrier_alert, courier_missed).
kindstringrequiredopenedAtstring (date-time)requiredchargeobjectrequiredMoney: amount in whole cents of currency, amountMinor the same amount as an integer of minor units.
amountnumberrequirednullableamountMinorintegerrequirednullableThe amount beside it in minor units (cents).
currencystringrequirednullablequoteIdstringrequirednullablereferencesobjectrequiredcustomerReferencestringrequirednullablepoNumberstringrequirednullableinvoiceNumberstringrequirednullableplatformobjectrequirednullablePLT: the references the platform gave the booking (platform.orderRef, …); null for a shipment booked without a platform.
orderRefstringrequirednullableshipmentRefstringrequirednullablesellerExternalIdstringrequirednullablebuyerExternalIdstringrequirednullabledeliveryCustomerobjectrequirednullableBOOK: the delivery customer (the buyer who pays the delivery and gets IDR's delivery invoice) as the booking named them; null when none was sent.
typestringrequiredone of: person · company
namestringrequiredvatNumberstringrequirednullableregistrationNumberstringrequirednullableaddressobjectrequiredline1stringrequiredline2stringrequirednullablecitystringrequiredstateCodestringrequirednullablepostalCodestringrequirednullablecountryCodestringrequiredlength 2–2buyerAcceptanceobjectrequirednullableBOOK: which IDS documents the buyer accepted at checkout and when — kept with the shipment as evidence; null when none was sent.
documents[]array of objectrequiredtypestringrequiredone of: terms · postal_conditions · privacy
versionstringrequiredacceptedAtstring (date-time)requiredoperationRefstringrequirednullableBOOK: your operationRef of the booking (null without one).
shipmentGroupobjectrequirednullablenull for a shipment booked without an operationRef, a plan or a platform payment.
refstring (uuid)requiredThe booking operation's id: the same for every shipment of one plan (shipmentGroupRef).
indexintegerrequired≥ 1This shipment's place in the plan, 1-based.
countintegerrequired≥ 1paymentobjectrequiredmodestringrequiredone of: balance · test_wallet · platform_collected
balance — the account's balance (or deferred payment); test_wallet — a test key's play money; platform_collected — the payment the platform took from its buyer (no IDS balance is touched).
paidAtstring (date-time)requirednullableWhen the shipment was paid (the charge, the test wallet, or the platform's payment recorded); null while unpaid and for shipments booked before 31.10.2026. RET: a return charged to its seller (return.charge) — when IDS accepted it charged to the seller; nothing was paid then (return.charge.settledAt says when the platform settled it).
platformPaymentobjectrequirednullableplatform_collected only: the platform's payment of the booking operation.
refstringrequiredThe platform's own id of the payment, as sent.
amountnumberrequiredamountMinorintegerrequiredThe amount beside it in minor units (cents).
currencystringrequiredconfirmedAtstring (date-time)requiredWhen the platform's payment provider confirmed it (as sent).
recordedAtstring (date-time)requiredWhen IDS recorded it — with the booking, in the same transaction that made its shipments paid.
statusstringrequiredone of: collected · refund_due · refunded
collected — nothing refunded; refund_due — the platform owes its buyer a refund on this payment (GET /shipments/{id}/refunds, confirm it there); refunded — every refund owed is confirmed (refundedAmount says how much).
shipmentCountintegerrequiredHow many shipments of the operation it pays (a plan: several).
refundedAmountnumberrequiredCXL: what the platform confirmed it refunded on this payment (0 while nothing).
refundedAmountMinorintegerrequiredThe amount beside it in minor units (cents).
documents[]array of objectrequiredidstring (uuid)requiredtypestringrequiredfileNamestringrequiredcreatedAtstring (date-time)requiredalerts[]array of objectrequiredSame shape as
pickup.request.alertsabove.labelAddressesobjectrequiredThe shipper and the recipient exactly as the carrier got them and the label prints 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.shipmentTypestringrequiredone of: outbound · return
RET: return for a return shipment (POST /shipments/{id}/returns).
returnobjectrequirednullableRET: a return shipment's block (null otherwise).
ofobjectrequiredThe original shipment it returns.
idstring (uuid)requiredmasterTrackingNumberstringrequirednullablepayerstringrequiredone of: buyer · seller · platform · account
Who bears it as you named it (IDS never decides it).
reasonstringrequiredone of: withdrawal · defect · damaged · not_delivered · other
reasonNotestringrequirednullablehandoverstringrequiredone of: pickup · drop_off
dropOffPointobject (free-form)requirednullableThe point you named at booking (handover.dropOffPoint), as sent.
carrierReturnLabelbooleanrequiredBooked as the carrier's own return label (associated with the original).
customsReasonstringrequirednullableone of: REJECTED · FAULTY_ITEM · OTHER · null
Between two countries (with the customs lines — the carrier requires it): the return's reason as customs recognises it; null for a domestic return.
chargeobjectrequirednullablepayer seller of a platform paid on the platform: the charge you settle (POST /shipments/{id}/return-charge/settle); null for any other payer.
statusstringrequiredone of: due · settled · void
amountnumberrequirednullableamountMinorintegerrequirednullableThe amount beside it in minor units (cents).
currencystringrequirednullablesettledMethodstringrequirednullableone of: withheld · paid · null
settledReferencestringrequirednullablesettledAtstring (date-time)requirednullablevoidedAtstring (date-time)requirednullablecreatedAtstring (date-time)requiredwarnings[]array of objectPICKUP_FAILED (pickup.required), label address warnings.
codestringrequiredmessagestringrequiredpathstringThe request field the warning is about (label address warnings).