Create an order
POST
/order/batch
OrderBatch
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"
}
}
]
}'
Response Response Example
201 - Example 1
{}
Request
Header Params
Accept-Language
string
optional
X-Correlation-ID
string
optional
X-LogLevel
enum<string>
optional
Allowed values:
TraceDebugInformationWarningErrorCritical
Body Params application/json