LogicTrade API
  1. Delivery
LogicTrade API
  • Authentication
  • Pagination
  • Rate limits
  • Error codes
  • Changelog
  • Configuration Service
  • Endpoints
    • Authentication
      • Introspection
    • Customer
      • List all customers
      • Retrieve a customer by id
      • Create a customer
      • Update a customer
      • Remove the customer
    • Supplier
      • List all suppliers
      • Retrieve a supplier by id
      • Create a supplier
      • Update a supplier
      • Remove the supplier
    • Product
      • Product
        • List all products
        • Retrieve a product by id
        • Create a product
        • Remove the products
        • Update a product
        • Search products
      • Groups
        • List all product groups
      • Discount
        • List all discounts for products
        • Get all discounts for product by id
        • List all discounts for customers
        • Get all discounts for a customer by id
      • Stock
        • Get stock for products
        • Search stock for products
      • Prices
        • Get product prices
      • Descriptions
        • Get the descriptions for a product
      • References
        • Get the product references
      • Compositions
        • Get product compositions
    • Quote
      • List all quotes
      • Retrieve a quote by id
      • Create a quote
      • Update a quote
    • Sales order
      • List all orders
      • Retrieve an orders by id
      • Create an order
      • Update an order
    • Invoice
      • List all invoices
      • Retrieve a invoice by id
      • Create a invoice
      • Update a invoice
    • Delivery
      • Get list of orders that can be delivered
        GET
      • Update the order with delivery information
        PUT
    • Purchase order
      • List all purchase orders
      • Retrieve a purchase orders by id
      • Create a purchase order
      • Update a purchase order
  1. Delivery

Get list of orders that can be delivered

GET
/rest/v1/deliveries
Provides a list of all orders that can be delivered.

Request

Authorization
Add parameter in header
api-key
Example:
api-key: ********************
Query Params
pageSize
integer 
optional
This specifies the number of objects to returned, ranging between 10 and 100.
Example:
100
pageNumber
integer 
optional
The parameter pageNumber indicates which page of the result should be requested.
Example:
1
inStock
string 
optional
Search for all orders based on the provided InStock parameter. Values: yes, no, partially
Example:
yes
deliveryType
string 
optional
Search for all orders based on the provided delivery type.
modifiedAfter
string <date-time>
optional
Search for all results that have been modified after the specified timestamp.
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
The total number of records.
pageNumber
integer 
optional
The current page number.
pageSize
integer 
optional
The number of records returned per page.
totalPages
integer 
optional
The total number of pages.
results
array [object {11}] 
required
id
integer 
required
The unique identifier of the order.
number
string 
optional
The unique number with which the order can be found.
status
string 
optional
The status of the order.
confirmedDeliveryDate
string <date-time>
optional
The confirmed delivery date of the delivery.
expectedDate
string <date-time>
optional
The desired delivery date of the delivery.
inStock
string 
optional
This indicates whether the order is in stock or partially in stock. yes, no and partially
comment
object 
optional
Comments related to the order.
delivery
object 
optional
Delivery information relevant to the order.
lines
array [object {12}] 
optional
The order lines.
totalPrice
number <double>
optional
The total amount of the order (calculated field).
paidAmount
number <double>
optional
The amount already paid on the order (calculated field).
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
Previous
Update a invoice
Next
Update the order with delivery information