Get list of orders that can be delivered
GET
/rest/v1/deliveries
Request
Authorization
Add parameter in header
api-key
Example:
api-key: ********************
Query Params
pageSize
integer
optional
Example:
100
pageNumber
integer
optional
Example:
1
inStock
string
optional
yes
, no
, partially
Example:
yes
deliveryType
string
optional
modifiedAfter
string <date-time>
optional
Example:
2024-04-12T13:49:51.141Z
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 'https://api.logictrade.cloud/rest/v1/deliveries?pageSize=100&pageNumber=1&inStock=yes&deliveryType=&modifiedAfter=2024-04-12T13:49:51.141Z' \
--header 'api-key;'
Responses
🟢200Success
application/json
Body
pagination
object
optional
totalResults
integer
optional
pageNumber
integer
optional
pageSize
integer
optional
totalPages
integer
optional
results
array [object {11}]
required
id
integer
required
number
string
optional
status
string
optional
confirmedDeliveryDate
string <date-time>
optional
expectedDate
string <date-time>
optional
inStock
string
optional
yes
, no
and partially
comment
object
optional
delivery
object
optional
lines
array [object {12}]
optional
totalPrice
number <double>
optional
paidAmount
number <double>
optional
Example
{
"pagination": {
"totalResults": 2,
"pageNumber": 2,
"pageSize": 100,
"totalPages": 1
},
"results": [
{
"id": 1,
"number": "nostrud sint proident occaecat",
"status": "proident",
"confirmedDeliveryDate": "",
"desiredDeliveryDate": "2024-04-10T04:55:34.891Z",
"comment": {
"intern": "exercitation culpa in ipsum tempor",
"extern": "dolore dolor laboris"
},
"delivery": {
"type": "cillum dolore",
"condition": "Excepteur aliquip deserunt cillum",
"address": {
"street": "Maasdijk 522b",
"houseNumber": "voluptate incididunt nulla",
"zipCode": "1913 MM",
"city": "Ogden",
"country": "Qatar"
}
},
"lines": [
{
"id": -951493,
"lineNumber": 88908182,
"code": "qui aliqua sed dolore",
"barcode": "ullamco elit dolor ut",
"description": "Modi molestias at quod dolorem nesciunt. Fugiat molestiae exercitationem laudantium nulla laboriosam. Provident ad asperiores explicabo officia voluptate. Amet sit assumenda voluptatibus eum magni.",
"quantity": -88183751.47046757,
"quantityToDeliver": 18148121.86844042,
"comment": {
"intern": "quis pariatur nisi magna mollit",
"extern": "ad aute"
},
"configuration": {
"id": 41852588,
"items": [
{
"key": "in",
"value": "exercitation mollit"
}
]
},
"volume": -45048160.4723004,
"warehouses": [
{
"warehouse": "esse nisi aliquip mollit nulla",
"quantity": 94006544.13411087
}
]
}
],
"totalPrice": 33014038.80557485,
"paidAmount": 53867306.45734334
}
]
}
🟢204No Content
🟠403Forbidden
🟠422Parameter Error
Modified at 2024-08-19 14:00:23