Create testing order
This endpoint is used to create order for testing purposes
Create testing order
Body
Required
-
Default value is
CZK
. -
Default value is
open
. -
Default value is
false
. -
Default value is
packeta
. -
Minimum value is
0
. Default value is29.0
. -
Default value is
false
. -
Minimum value is
0
. Default value is79.0
. -
Minimum value is
0
. Default value is0.0
. -
Default value is
true
. -
Minimum value is
1
. Default value is2
.
POST
/testing-order
curl \
--request POST 'api.services.omnicado.com/api/v2/testing-order' \
--header "X-OMNICADO-TOKEN: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"sellingChannelId":1234,"currency":"EUR","status":"shipped","useMarketplaceCarrier":false,"carrier":"gls","deliveryPrice":"222.2","pickupPointId":"ALZABOX0","useCod":true,"codPrice":59.0,"discount":120.0,"generateLabel":true,"randomItemsCount":2,"customProducts":{"3333":1,"4321":3}}'
Request examples
{
"sellingChannelId": 1234,
"currency": "EUR",
"status": "shipped",
"useMarketplaceCarrier": false,
"carrier": "gls",
"deliveryPrice": "222.2",
"pickupPointId": "ALZABOX0",
"useCod": true,
"codPrice": 59.0,
"discount": 120.0,
"generateLabel": true,
"randomItemsCount": 2,
"customProducts": {
"3333": 1,
"4321": 3
}
}
Response examples (200)
{
"id": 42,
"remoteId": "string",
"externalId": "string",
"shipDate": "2025-05-04T09:42:00Z",
"shippedDate": "2025-05-04T09:42:00Z",
"deliveredDate": "2025-05-04T09:42:00Z",
"currency": "CZK",
"paymentType": "cashOnDelivery",
"paymentNo": "202301010001",
"expeditionStatus": "packing",
"orderStatus": "shipping",
"source": "string",
"totalPrice": 1099.0,
"deliveryPrice": 49.0,
"discount": 0,
"cashOnDelivery": 49.0,
"cashOnDeliveryPrice": 12.0,
"cashOnDeliveryReceived": false,
"createdAt": "2025-05-04T09:42:00Z",
"updatedAt": "2025-05-04T09:42:00Z",
"deliveryProvider": "warehouse",
"externalBranchId": "6471",
"externalOrderProcessor": "shoptet",
"externalOrderProcessingId": "CZ20230101",
"externalOrderDeliveryCarrier": "ppl",
"trackingNumber": "44592754091",
"trackingUrl": "https://www.ppl.cz/vyhledat-zasilku?shipmentId=44592754091",
"invoiceUrl": "string",
"hasBcxCode": true,
"deliveryData": [
{
"id": 42,
"createdAt": {
"date": "2023-01-24 13:30:03.000000",
"timezone_type": 3,
"timezone": "Europe/Prague"
},
"updatedAt": {
"date": "2023-01-24 13:30:03.000000",
"timezone_type": 3,
"timezone": "Europe/Prague"
},
"company": "omnicado! s.r.o.",
"name": "Jan Novák",
"phone": "+420607049258",
"email": "jan@novak.cz",
"street": "Jaurisova 515/4",
"city": "Praha",
"zip": "50401",
"country": "CZ"
}
],
"items": [
{
"id": 42,
"createdAt": {
"date": "2023-01-24 13:30:03.000000",
"timezone_type": 3,
"timezone": "Europe/Prague"
},
"updatedAt": {
"date": "2023-01-24 13:30:03.000000",
"timezone_type": 3,
"timezone": "Europe/Prague"
},
"remoteId": "WH116",
"quantity": 2,
"price": 0.83,
"priceWithoutVat": 0.69,
"priceWithoutCommissionWithoutVat": 0.58,
"vat": 21,
"commission": 17,
"serialNumberRequired": true,
"serialNumbers": "00001;00002;00003"
}
]
}
Response examples (400)
{
"message": {
"validation": "Validation error. The item 'randomItemsCount' expects to be int, 'this is a string' given."
}
}
Response examples (403)
{
"message": "Unauthorized. User has no access to the given Selling Channel and its Product Set"
}