CPL API
Užitečné odkazy
  • Developer
  • Sandbox
Užitečné odkazy
  • Developer
  • Sandbox
Switch to english
  1. OrderBatch
  • 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
  • Data
    • data
  • Info
    • info
  • Order
    • Získání informace o objednávce přepravy
  • OrderBatch
    • Slouží k vytvoření objednávky. Odpověď je v header (Location)
      POST
    • Získaní stavu objednávky
      GET
  • 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. OrderBatch

Slouží k vytvoření objednávky. Odpověď je v header (Location)

POST
/order/batch
Maintainer:Not configured

Request

Header Params

Body Params application/json

Example
{
    "orders": [
        {
            "orderType": "CollectionOrder",
            "referenceId": "string",
            "shipmentCount": 1,
            "email": "string",
            "note": "string",
            "customerReference": "string",
            "sendDate": "2019-08-24T14:15:22Z",
            "sendTimeFrom": "string",
            "sendTimeTo": "string",
            "productType": "string",
            "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"
            }
        }
    ]
}

Request Code 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 POST '/order/batch' \
--header 'Accept-Language;' \
--header 'X-Correlation-ID;' \
--header 'X-LogLevel;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "orders": [
        {
            "orderType": "CollectionOrder",
            "referenceId": "string",
            "shipmentCount": 1,
            "email": "string",
            "note": "string",
            "customerReference": "string",
            "sendDate": "2019-08-24T14:15:22Z",
            "sendTimeFrom": "string",
            "sendTimeTo": "string",
            "productType": "string",
            "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"
            }
        }
    ]
}'

Responses

🟢201Created
application/json
Created
Headers

Body

Example
{}
🟠400Bad Request
🔴500Server Error
🔴503Service Unavailable
Modified at 2025-01-29 07:47:53
Previous
OrderBatch
Next
Získaní stavu objednávky