CPL API
Užitečné odkazy
  • Developer
  • Sandbox
Užitečné odkazy
  • Developer
  • Sandbox
Switch to english
  1. Order
  • Back to home
  • API Metody
  • AccessPoint
    • Seznam výdejních míst
  • AddressWhisper
    • Našeptávač adres
  • Codelist
    • Číselník pro službu kontroly věku příjemce
    • Číselník produktů
    • Číselník typů externích čísel
    • Číselník zemí + povolení COD
    • Číselník povolených měn
    • Metoda pro získání poskytovaných služeb k zásilkám.
    • Metoda pro získání minimálních a maximálních hodnot u služeb
    • Fáze zásilky
    • Statusy zásilky /shipment
    • Chybové hlášení
    • Typy osobních dokladů
  • Customer
    • Informace k zákazníkovi – povolené měny
    • Zákazníkovy adresy
  • Info
    • info
  • Order
    • Získání informace o objednávce přepravy
      GET
  • OrderBatch
    • Slouží k vytvoření objednávky. Odpověď je v header (Location)
    • Získaní stavu objednávky
  • OrderEvent
    • Zrušení objednání svozu nebo balíku z libovolné adresy
  • Shipment
    • Slouží k získání informací (trackingu) k zásilce
  • ShipmentBatch
    • Vytvoření zásilky
    • Slouží k úpravě výstupního formátu štítku
    • Získání stavu importu zásilky
    • Získání etikety
  • ShipmentEvent
    • storno zásilky
    • úprava kontaktu
  • VersionInformation
    • informace o novinkách
  1. Order

Získání informace o objednávce přepravy

GET
/order
Order
Maintainer:Not configured

Request

Query Params
ShipmentNumbers
array[string]
optional
Číslo/čísla balíků
<= 50 items
CustomerReferences
array[string]
optional
Reference odesílatele
<= 50 items
OrderReferences
array[string]
optional
Reference objednávky
<= 50 items
OrderNumbers
array[string]
optional
Číslo objednávky
<= 50 items
OrderIds
array[integer <int32>]
optional
ID objednávky
<= 50 items
DateFrom
string <date-time>
optional
Datum od
DateTo
string <date-time>
optional
Datum do
SendDate
string <date-time>
optional
Datum odeslání
ProductType
string 
optional
Typ produktu
OrderStates
enum<string> 
optional
Stav objednávky
Allowed values:
NoneCreatedPickedUpNotPickedUpCanceled
OrderType
enum<string> 
optional
Typ objednávky
Allowed values:
CollectionOrderTransportOrder
Limit
integer <int32>
required
>= 1<= 1000
Offset
integer <int32>
required
>= 0
Header Params
Accept-Language
string 
optional
Language specification, default language: cs-CZ
X-Correlation-ID
string 
optional
Correlation Id of request
X-LogLevel
enum<string> 
optional
The forced log level
Allowed values:
TraceDebugInformationWarningErrorCritical

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/order?ShipmentNumbers&CustomerReferences&OrderReferences&OrderNumbers&OrderIds&DateFrom&DateTo&SendDate&ProductType&OrderStates&OrderType&Limit&Offset' \
--header 'Accept-Language;' \
--header 'X-Correlation-ID;' \
--header 'X-LogLevel;'

Responses

🟢200OK
application/json
Success
Headers
X-Correlation-ID
string 
optional
Correlation Id of request otherwise id of response
X-Paging-Total-Items-Count
string 
optional
Total items in result
X-Paging-Offset
string 
optional
Paging offset
X-Paging-Limit
string 
optional
Page size
Body
orderNumber
string  | null 
optional
Číslo objednávky
orderState
enum<string> 
optional
Stav objednávky
Allowed values:
NoneCreatedPickedUpNotPickedUpCanceled
orderType
enum<string> 
optional
Typ objednávky
Allowed values:
CollectionOrderTransportOrder
referenceId
string  | null 
optional
Reference Id
shipmentCount
integer <int32>
optional
Počet zásilek
realShipmentCount
integer <int32>
optional
Skutečný počet zásilek
email
string  | null 
optional
Email
note
string  | null 
optional
Poznámka
customerReference
string  | null 
optional
Zákaznická reference
productType
string  | null 
optional
Typ produktu
sendDate
string <date-time> | null 
optional
Datum vyzvednutí zadané objednatelem
realCollectionDate
string <date-time> | null 
optional
Skutečné datum vyzvednutí
deliveryDateTime
string <date-time> | null 
optional
Datum doručení
sender
optional
Odesílatel
One of
name
string  | null 
optional
Jméno
name2
string  | null 
optional
street
string  | null 
optional
Ulice
city
string  | null 
optional
Město
zipCode
string  | null 
optional
PSČ
country
string  | null 
optional
Země
contact
string  | null 
optional
Kontakt
phone
string  | null 
optional
Telefon
email
string  | null 
optional
Email
recipient
optional
Příjemce
One of
name
string  | null 
optional
Jméno
name2
string  | null 
optional
street
string  | null 
optional
Ulice
city
string  | null 
optional
Město
zipCode
string  | null 
optional
PSČ
country
string  | null 
optional
Země
contact
string  | null 
optional
Kontakt
phone
string  | null 
optional
Telefon
email
string  | null 
optional
Email
shipmentNumbers
array[string] | null 
optional
Zásilky na objednávce
Example
{
  "orderNumber": "string",
  "orderState": "None",
  "orderType": "CollectionOrder",
  "referenceId": "string",
  "shipmentCount": 0,
  "realShipmentCount": 0,
  "email": "string",
  "note": "string",
  "customerReference": "string",
  "productType": "string",
  "sendDate": "2019-08-24T14:15:22Z",
  "realCollectionDate": "2019-08-24T14:15:22Z",
  "deliveryDateTime": "2019-08-24T14:15:22Z",
  "sender": {
    "name": "string",
    "name2": "string",
    "street": "string",
    "city": "string",
    "zipCode": "string",
    "country": "string",
    "contact": "string",
    "phone": "string",
    "email": "string"
  },
  "recipient": {
    "name": "string",
    "name2": "string",
    "street": "string",
    "city": "string",
    "zipCode": "string",
    "country": "string",
    "contact": "string",
    "phone": "string",
    "email": "string"
  },
  "shipmentNumbers": [
    "string"
  ]
}
🟠400Bad Request
🔴500Server Error
🔴503Service Unavailable
Modified at 2025-02-04 07:28:05
Previous
Order
Next
OrderBatch
Built with