Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /GetOpenOrders

Allows 250 calls per minute

Response: GenericPagedResult<OpenOrder>



Get a paged list of open orders

Parameters

NameTypeDescription
entriesPerPageInt32Entries per page
pageNumberInt32Page number
filtersFieldsFilterFilters to apply
sortingList<FieldSorting>Sorting to apply
fulfilmentCenterNullable<Guid>Location to get the orders for
additionalFilterStringAdditional filter

Permissions

GlobalPermissions.OrderBook.OpenOrdersNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/GetOpenOrders

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.

entriesPerPage=1&pageNumber=1&sorting=[
  {
    "FieldCode": 0,
    "Direction": 0,
    "Order": 1
  }
]&fulfilmentCenter=e517e567-850a-42a9-bf38-0deea7de29a7&additionalFilter=sample string 1

Response

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

{
  "PageNumber": 1,
  "EntriesPerPage": 2,
  "TotalEntries": 3,
  "TotalPages": 2,
  "Data": [
    {
      "NumOrderId": 1,
      "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": "bd6397ad-1a0a-48d7-acac-e6d82863d385",
            "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-07-29T09:24:52.2124491+01:00",
        "Source": "sample string 14",
        "SubSource": "sample string 15",
        "SiteCode": "sample string 16",
        "HoldOrCancel": true,
        "DespatchByDate": "2021-07-29T09:24:52.2124491+01:00",
        "ScheduledDelivery": {
          "From": "2021-07-29T09:24:52.2124491+01:00",
          "To": "2021-07-29T09:24:52.2124491+01:00"
        },
        "HasScheduledDelivery": true,
        "Location": "e40bf9c4-7ee6-44e6-8b99-0edc0e99a6bd",
        "NumItems": 20,
        "PickwaveIds": [
          1
        ],
        "StockAllocationType": 0
      },
      "ShippingInfo": {
        "Vendor": "sample string 1",
        "PostalServiceId": "aba02522-e423-43d3-af0d-9d814a0c37c6",
        "PostalServiceName": "sample string 3",
        "TotalWeight": 4.0,
        "ItemWeight": 5.0,
        "PackageCategoryId": "daa8040e-01ec-475c-b9e9-89b712a58dee",
        "PackageCategory": "sample string 7",
        "PackageTypeId": "04ff6f9f-e150-482e-bf1e-43e948ec455e",
        "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": "0b1a89cc-57ef-4283-9f11-2e49cfcb079a"
        },
        "BillingAddress": {
        }
      },
      "TotalsInfo": {
        "Subtotal": 2.1,
        "PostageCost": 3.1,
        "Tax": 4.1,
        "TotalCharge": 5.1,
        "PaymentMethod": "sample string 6",
        "PaymentMethodId": "00860a47-65fc-4abd-ad4c-98a530d0f924",
        "ProfitMargin": 8.1,
        "TotalDiscount": 9.1,
        "Currency": "sample string 10",
        "CountryTaxRate": 11.1,
        "ConversionRate": 12.1
      },
      "TaxInfo": {
        "TaxNumber": "sample string 1"
      },
      "FolderName": [
        "sample string 1"
      ],
      "IsPostFilteredOut": true,
      "CanFulfil": true,
      "Fulfillment": {
        "FulfillmentState": 0,
        "PurchaseOrderState": 1
      },
      "Items": [
        {
          "ItemId": "594aeb9f-9d89-4882-8b6f-cd9f749cd098",
          "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": "2278a437-904b-4d0d-8c35-4dea071114f9",
            "Rowid": "7fb22c20-b59b-4934-b9e8-f2c364be7438",
            "pkPurchaseId": "f8295eff-416e-4226-8891-bf5547e6628d",
            "ExternalInvoiceNumber": "sample string 4",
            "fkSupplierId": "f7349704-1820-4026-a0a3-e4818302358a",
            "DateOfDelivery": "2021-07-29T09:24:52.2134505+01:00",
            "QuotedDeliveryDate": "2021-07-29T09:24:52.2134505+01:00",
            "SupplierName": "sample string 8",
            "fkLocationId": "2af65a2c-69c0-4dde-89dc-c589c2eb62d0"
          },
          "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": "c96880f9-7946-45d2-baad-15ba623d2d01",
          "AdditionalInfo": [
            {
              "pkOptionId": "f51971db-8364-4ad3-a722-1436141eaf43",
              "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": "4b93633d-e97d-4223-8c07-e931783dc6b6",
              "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": "ee2c1365-e0d9-4143-aea6-782a05507788",
              "LogicalDelete": true
            }
          ],
          "RowId": "e45f6596-49ba-4c3c-9e3b-877029cb8079",
          "OrderId": "f7cc7c64-463a-46b8-9156-c210ee22c6c8",
          "StockItemId": "2c268cbe-d3ab-40fa-80b5-6c3c8a3fde4f"
        }
      ],
      "HasItems": true,
      "TotalItemsSum": 0,
      "OrderId": "bfe9a3d3-d052-4b78-abd1-e2c57b8b3bc3"
    }
  ]
}