Schemas
CreateShipmentRequest
Sender address. Omitted → filled from the account default sender.
Recipient address
Packages. Omitted → filled from the account default package.
pickupBranchCode of the pickup branch (parcel point where the sender drops off the shipment), or "1" to use the account default pickup branch. Requires carrierCode.
deliveryBranchCode of the delivery branch (parcel point where the recipient collects the shipment). Requires carrierCode.
autoDeliveryBranchAutomatically pick the nearest delivery point to the recipient address
serviceIdService (tariff) ID. Omitted → cheapest selectable service is chosen automatically.
referenceNumberReference number / variable symbol
currencyCurrency
carrierCodeCarrier code
typePickup type
pickupDatePickup date (Y-m-d), must not be in the past
fromTimeEarliest pickup time (H:i)
Shipment-level additional services
Customs declaration (for international shipments)
CreateShipmentResponse
idID of the created draft shipment
sourceShipment source
referenceNumberReference number / variable symbol, echoed back
errorsBusiness validation messages; null when the draft is valid
ratesComputed price offers; null until the async quote job finishes
modifiedLast modification timestamp (Y-m-d H:i:s)
CancelRequest
carrierValid carrier code.
dateRunIntegrationsResponse
integrationsCountNumber of active e-shop integrations that were run
integrationsFailedCountNumber of integrations whose run failed, e.g. because the e-shop was unreachable or refused the connection; details are available in the integration log in the client zone
importedShipmentsCountTotal number of new orders downloaded and saved as draft shipments into the shipment cart
CreateHandoverRequest
shipmentsZaslat tracking numbers of the shipments the courier will pick up together. All shipments must belong to your account, be carried by Zásilkovna and already have a Zásilkovna packet number. Between 1 and 500 items, e.g. ["IZ3F9A2C71B4", "IZ8D01E6F2A9"].
formatOutput format: PDF (default) returns a printable A4 handover sheet, JSON returns the batches as JSON.
HandoverResponse
Handover batches with barcodes. Shipments that were already in a batch keep their original barcode, newly added shipments get a new batch, so the courier may need to scan more than one code.
Shipments Zásilkovna refused to include (already handed over or returns). Empty when everything was accepted.