Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

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=0e182166-21d7-48cf-9441-00677ee5d947&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": "a9877f28-2384-4a45-a839-f55dabd7ecc2",
            "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": "2022-03-09T13:04:14.2336066+00:00",
        "Source": "sample string 14",
        "SubSource": "sample string 15",
        "SiteCode": "sample string 16",
        "HoldOrCancel": true,
        "DespatchByDate": "2022-03-09T13:04:14.2336066+00:00",
        "ScheduledDelivery": {
          "From": "2022-03-09T13:04:14.2336066+00:00",
          "To": "2022-03-09T13:04:14.2336066+00:00"
        },
        "HasScheduledDelivery": true,
        "Location": "160ff9a7-b4d9-44bd-96fc-b062ba350878",
        "NumItems": 20,
        "PickwaveIds": [
          1
        ],
        "StockAllocationType": 0
      },
      "ShippingInfo": {
        "Vendor": "sample string 1",
        "PostalServiceId": "122395b3-47fd-46c2-81c5-7a22f355d95d",
        "PostalServiceName": "sample string 3",
        "TotalWeight": 4.0,
        "ItemWeight": 5.0,
        "PackageCategoryId": "afec1d7a-0b66-4125-b872-fd838f05e955",
        "PackageCategory": "sample string 7",
        "PackageTypeId": "0f28ed61-1f26-47fc-8cde-4c33a7a2d782",
        "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": "f1707376-0101-438a-80a3-fce2097fdab6"
        },
        "BillingAddress": {
        }
      },
      "TotalsInfo": {
        "Subtotal": 2.1,
        "PostageCost": 3.1,
        "PostageCostExTax": 4.1,
        "Tax": 5.1,
        "TotalCharge": 6.1,
        "PaymentMethod": "sample string 7",
        "PaymentMethodId": "910942d6-57ea-4417-948a-582b15811707",
        "ProfitMargin": 9.1,
        "TotalDiscount": 10.1,
        "Currency": "sample string 11",
        "CountryTaxRate": 12.1,
        "ConversionRate": 13.1
      },
      "TaxInfo": {
        "TaxNumber": "sample string 1"
      },
      "FolderName": [
        "sample string 1"
      ],
      "IsPostFilteredOut": true,
      "CanFulfil": true,
      "Fulfillment": {
        "FulfillmentState": 0,
        "PurchaseOrderState": 1
      },
      "Items": [
        {
          "ItemId": "27a126df-c7c2-440b-a70b-930434264343",
          "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": "10b22239-9cd7-4027-b44c-dde7c7e8c6d2",
            "Rowid": "bcdacbd4-4bfe-4c70-acdf-58886ce71819",
            "pkPurchaseId": "5d0f1c96-d538-434f-a487-16406ed626ec",
            "ExternalInvoiceNumber": "sample string 4",
            "fkSupplierId": "5152a0f0-ea1a-4522-bdb6-941a9023d3ea",
            "DateOfDelivery": "2022-03-09T13:04:14.2336066+00:00",
            "QuotedDeliveryDate": "2022-03-09T13:04:14.2336066+00:00",
            "SupplierName": "sample string 8",
            "fkLocationId": "6c7c2037-7382-4011-8032-1e0f683c8559"
          },
          "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": "5827bd10-8944-49e3-9787-bed9736f4862",
          "AdditionalInfo": [
            {
              "pkOptionId": "f3390be7-ef50-44af-9a8c-455114ed0ee6",
              "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": "986b9ad6-518d-4668-990e-cbc20d28f4ba",
              "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": "cf13edad-f6cf-491c-a0a9-7b050a6981b5",
              "LogicalDelete": true
            }
          ],
          "RowId": "f3874605-55b2-4e21-9ac3-1ebcd778eb59",
          "OrderId": "56115715-7ec8-45a9-9bf0-f53c6513fe3e",
          "StockItemId": "c4b05244-651f-44d9-8af1-813c0eb5b422"
        }
      ],
      "HasItems": true,
      "TotalItemsSum": 0,
      "OrderId": "43d1bdd1-bdec-4b72-bb91-ef7ac63f515e"
    }
  ]
}