Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

OpenOrders /GetOpenOrdersDetails

Allows 150 calls per minute

Response: GetOpenOrdersDetailsResponse



Open order details by order ids. Not limited by the number of orders you can retrieve. This call is designed to return ONLY open orders,
it is much faster than GetOrderDetail call

Parameters

NameTypeDescription
requestGetOpenOrdersDetailsRequest

Permissions

GlobalPermissions.OrderBook.ViewOrderDetailsNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/OpenOrders/GetOpenOrdersDetails

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "OrderIds": [
    "8871f219-10e1-4076-9633-f4534d0f4a0f"
  ],
  "DetailLevel": [
    "FOLDER"
  ]
}

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "Orders": [
    {
      "OrderId": "c1d4693a-abc8-487e-855b-42a68b3a2755",
      "NumOrderId": 2,
      "Processed": true,
      "ProcessedDateTime": "2021-11-25T11:33:38.8485251+00:00",
      "FulfilmentLocationId": "3a6057ac-b5d6-403b-bb53-463e73f7f4d5",
      "GeneralInfo": {
        "Status": 1,
        "LabelPrinted": true,
        "LabelError": "sample string 3",
        "InvoicePrinted": true,
        "PickListPrinted": true,
        "IsRuleRun": true,
        "Notes": 7,
        "PartShipped": true,
        "Marker": 64,
        "IsParked": true,
        "Identifiers": [
          {
            "IdentifierId": 1,
            "IsCustom": true,
            "ImageId": "e57ee51e-3266-4a46-9658-1a6218597227",
            "ImageUrl": "sample string 4",
            "Tag": "sample string 5",
            "Name": "sample string 6"
          }
        ],
        "ReferenceNum": "sample string 10",
        "SecondaryReference": "sample string 11",
        "ExternalReferenceNum": "sample string 12",
        "ReceivedDate": "2021-11-25T11:33:38.8485251+00:00",
        "Source": "sample string 14",
        "SubSource": "sample string 15",
        "SiteCode": "sample string 16",
        "HoldOrCancel": true,
        "DespatchByDate": "2021-11-25T11:33:38.8485251+00:00",
        "ScheduledDelivery": {
          "From": "2021-11-25T11:33:38.8485251+00:00",
          "To": "2021-11-25T11:33:38.8485251+00:00"
        },
        "HasScheduledDelivery": true,
        "Location": "2b9bb0b6-a826-43cb-af3e-7e938f273321",
        "NumItems": 20,
        "PickwaveIds": [
          1
        ],
        "StockAllocationType": 0
      },
      "ShippingInfo": {
        "Vendor": "sample string 1",
        "PostalServiceId": "a992c334-a184-4c5e-96ec-41b1189d0f84",
        "PostalServiceName": "sample string 3",
        "TotalWeight": 4.0,
        "ItemWeight": 5.0,
        "PackageCategoryId": "b610cd4f-242e-4435-b708-050e0310d2de",
        "PackageCategory": "sample string 7",
        "PackageTypeId": "628fb33f-cffd-40ba-8ed4-17dd51ed61c3",
        "PackageType": "sample string 8",
        "PostageCost": 9.1,
        "PostageCostExTax": 10.1,
        "TrackingNumber": "sample string 11",
        "ManualAdjust": true
      },
      "CustomerInfo": {
        "ChannelBuyerName": "sample string 1",
        "Address": {
          "EmailAddress": "sample string 1",
          "Address1": "sample string 2",
          "Address2": "sample string 3",
          "Address3": "sample string 4",
          "Town": "sample string 5",
          "Region": "sample string 6",
          "PostCode": "sample string 7",
          "Country": "sample string 8",
          "Continent": "sample string 9",
          "FullName": "sample string 10",
          "Company": "sample string 11",
          "PhoneNumber": "sample string 12",
          "CountryId": "ce150dfc-291b-454c-8468-ee871e4ff431"
        },
        "BillingAddress": {
        }
      },
      "TotalsInfo": {
        "Subtotal": 2.1,
        "PostageCost": 3.1,
        "PostageCostExTax": 4.1,
        "Tax": 5.1,
        "TotalCharge": 6.1,
        "PaymentMethod": "sample string 7",
        "PaymentMethodId": "340fb036-8480-46cc-820f-357c7ead8dc2",
        "ProfitMargin": 9.1,
        "TotalDiscount": 10.1,
        "Currency": "sample string 11",
        "CountryTaxRate": 12.1,
        "ConversionRate": 13.1
      },
      "ExtendedProperties": [
        {
          "RowId": "6aff8fa5-c82f-426f-82ad-7f944cdfee93",
          "Name": "sample string 2",
          "Value": "sample string 3",
          "Type": "sample string 4"
        }
      ],
      "FolderName": [
        "sample string 1"
      ],
      "Items": [
        {
          "ItemId": "25be1328-1354-46a9-a861-79c9cd5389dd",
          "ItemNumber": "sample string 2",
          "SKU": "sample string 3",
          "ItemSource": "sample string 4",
          "Title": "sample string 5",
          "Quantity": 6,
          "CategoryName": "sample string 8",
          "CompositeAvailablity": 1,
          "StockLevelsSpecified": true,
          "OnOrder": 10,
          "OnPurchaseOrder": {
            "pkPurchaseItemId": "e72ccb6a-c4d4-455d-b5b8-724eed51d4c7",
            "Rowid": "62c6bc40-d519-4e87-bd82-5eb23aff7819",
            "pkPurchaseId": "8df30289-b98e-458d-9312-3415ef2ba724",
            "ExternalInvoiceNumber": "sample string 4",
            "fkSupplierId": "bb41ec92-9436-42b4-bf24-3fa309553865",
            "DateOfDelivery": "2021-11-25T11:33:38.8485251+00:00",
            "QuotedDeliveryDate": "2021-11-25T11:33:38.8485251+00:00",
            "SupplierName": "sample string 8",
            "fkLocationId": "43060d27-edaf-4fa8-a881-b8a66e70d723"
          },
          "InOrderBook": 1,
          "Level": 11,
          "MinimumLevel": 1,
          "AvailableStock": 12,
          "PricePerUnit": 13.1,
          "UnitCost": 14.1,
          "DespatchStockUnitCost": 15.1,
          "Discount": 16.1,
          "Tax": 21.1,
          "TaxRate": 17.1,
          "Cost": 18.1,
          "CostIncTax": 19.1,
          "CompositeSubItems": [
            {
            }
          ],
          "IsService": true,
          "SalesTax": 21.1,
          "TaxCostInclusive": true,
          "PartShipped": true,
          "Weight": 24.1,
          "BarcodeNumber": "sample string 25",
          "Market": 26,
          "ChannelSKU": "sample string 27",
          "ChannelTitle": "sample string 28",
          "DiscountValue": 10.806660973526899,
          "HasImage": true,
          "ImageId": "247dba9c-d18e-49ad-81cb-73230d45ae4d",
          "AdditionalInfo": [
            {
              "pkOptionId": "298041ad-4508-42be-b70f-e46895912d79",
              "Property": "sample string 2",
              "Value": "sample string 3"
            }
          ],
          "StockLevelIndicator": 29,
          "ShippingCost": 30.1,
          "PartShippedQty": 31,
          "ItemName": "sample string 32",
          "BatchNumberScanRequired": true,
          "SerialNumberScanRequired": true,
          "BinRack": "sample string 35",
          "BinRacks": [
            {
              "Quantity": 1,
              "BinRack": "sample string 2",
              "Location": "cb257bba-0be9-425c-b509-2e6ee6729943",
              "BatchId": 1,
              "OrderItemBatchId": 1
            }
          ],
          "InventoryTrackingType": 36,
          "isBatchedStockItem": false,
          "IsWarehouseManaged": true,
          "IsUnlinked": false,
          "StockItemIntId": 39,
          "Boxes": [
            {
              "BoxId": 1,
              "StockItemIntId": 2,
              "BoxName": "sample string 3",
              "Width": 4.0,
              "Height": 5.0,
              "Length": 6.0,
              "Weight": 7.0,
              "ValuePercentage": 8.0,
              "Barcode": "sample string 9",
              "PackagingTypeId": "9a0fe5f7-57e5-4655-be1e-25db314f6c70",
              "LogicalDelete": true
            }
          ],
          "RowId": "c7b4415c-4a5f-4b8f-8131-86c8729c487e",
          "OrderId": "89a38d5b-159c-4e81-bf9c-312e166170e0",
          "StockItemId": "91bb7f15-8481-4921-9571-305684f957cb"
        }
      ],
      "Notes": [
        {
          "OrderNoteId": "502409af-35fb-4fd4-8c08-519667797337",
          "OrderId": "3cfe59de-13aa-49a6-ab52-26587cfc288c",
          "NoteDate": "2021-11-25T11:33:38.8485251+00:00",
          "Internal": true,
          "Note": "sample string 5",
          "CreatedBy": "sample string 6",
          "NoteTypeId": 64
        }
      ],
      "PaidDateTime": "2021-11-25T11:33:38.8485251+00:00",
      "TaxId": "sample string 5"
    }
  ]
}