Shipment
Used by
Fields
idstring (uuid)requiredstatusstringrequiredone of: draft · pending · confirmed · in_transit · delivered · cancelled · exception · failed
masterTrackingNumberstringrequirednullableenvironmentstringrequiredone of: sandbox · production
createdViastringrequirednullablecreatedAtstring (date-time)requiredupdatedAtstring (date-time)requiredcancelledAtstring (date-time)requirednullableserviceobjectrequiredtypestringrequirednullablenamestringrequirednullablecarrierCodestringrequirednullableserviceCodestringrequirednullableshipDatestringrequirednullableYYYY-MM-DD.
estimatedDeliveryDatestring (date-time)requirednullableactualDeliveryDatestring (date-time)requirednullablecarrierStatusstringrequirednullablecarrierStatusDescriptionstringrequirednullablelastTrackedAtstring (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.
pickupobjectrequirednullablerequestedbooleanrequiredscheduledbooleanrequiredconfirmationCodestringrequirednullablestatusstringrequiredenvironmentstringrequiredone of: sandbox · production
requestedAtstring (date-time)requirednullableBOOK: when IDS asked the carrier for this pickup (apart from the label — createdAt — and the payment — payment.paidAt).
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)requirednullableerrorstringrequirednullablechargeobjectrequiredMoney: amount in whole cents of currency, amountMinor the same amount as an integer of minor units.
amountnumberrequirednullableamountMinorintegerrequirednullableThe amount beside it in minor units (cents).
currencystringrequirednullablereferencesobjectrequiredcustomerReferencestringrequirednullablepoNumberstringrequirednullableinvoiceNumberstringrequirednullableplatformobjectrequirednullablePLT: 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)requiredoperationRefstringrequirednullableshipmentGroupobjectrequirednullablenull 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)requiredlabelAddressesobjectrequiredshipperobjectrequiredA 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.deliveryStatestringrequiredone of: label_created · pickup_scheduled · picked_up · in_transit · customs · out_for_delivery · delivery_attempt_failed · at_pickup_point · collected_from_pickup_point · delivered · refused · returning_to_sender · returned_to_sender · exception · lost · cancelled
EV: the delivery state, normalised across carriers — label_created, pickup_scheduled, picked_up, in_transit, customs, out_for_delivery, delivery_attempt_failed, at_pickup_point, collected_from_pickup_point, delivered, refused, returning_to_sender, returned_to_sender, exception, lost, cancelled. delivered and collected_from_pickup_point are the handover to the recipient — never a return to the sender (returned_to_sender) or an arrival at a pickup point (at_pickup_point). lost only by the carrier's own code or IDS's decision (a later scan of movement, delivery or return replaces it; it is no complaint and changes no complaint deadline), never from missing scans. at_pickup_point is «waiting for collection» (IDR's postal conditions treat a deposit into a parcel locker the addressee chose as a handover; IDS shows it as waiting until the carrier reports the collection). delivered is the carrier's report of the handover.
deliveryStateAtstring (date-time)requirednullableWhen the delivery state was reached (its scan's time); null for a shipment booked before 01.11.2026.
shipmentTypestringrequiredoutbound, or return (RET; a cabinet batch row may also be marked return without a linked original).
returnobjectrequirednullableRET: a return shipment's block — its original, payer, reason, handover, charge (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)requiredreturns[]array of objectrequiredRET: the returns of this shipment (not failed or unfinished ones), oldest first.
idstring (uuid)requiredmasterTrackingNumberstringrequirednullablestatusstringrequiredone of: draft · pending · confirmed · in_transit · delivered · cancelled · exception · failed
deliveryStatestringrequirednullablecreatedAtstring (date-time)requiredscans[]array of objectGET /shipments/{id} only: the carrier's scans, oldest first (kept since 01.11.2026).
idstring (uuid)requiredcodestringrequiredThe carrier's code of the scan (FedEx Track codes: OC, PU, DP, AR, OD, DL, DE, HL, RS, SE, …; IDS_LOST — considered lost by IDS).
descriptionstringrequiredThe carrier's own words (English).
occurredAtstring (date-time)requiredlocationobjectrequirednullablecitystringrequirednullablestateCodestringrequirednullablecountryCodestringrequirednullabledeliveryStatestringrequirednullableone of: label_created · pickup_scheduled · picked_up · in_transit · customs · out_for_delivery · delivery_attempt_failed · at_pickup_point · collected_from_pickup_point · delivered · refused · returning_to_sender · returned_to_sender · exception · lost · cancelled · null
What the scan means in the history (a DL after a return is returned_to_sender); null — a code that changes nothing.
exceptionCodestringrequirednullablesourcestringrequiredone of: carrier · ids
ids: a decision of IDS (considered lost), not a carrier scan.