Back

Search

Search

Methods

Inventory

Orders

Orders /GetOrders

Response: List<OpenOrder>



Get list of open orders

Parameters

NameTypeDescription
ordersIdsList<Guid>Orders ids
fulfilmentLocationIdNullable<Guid>Current fulfilment center
loadItemsBooleanLoad or not the orders items information
loadAdditionalInfoBooleanLoad or not the orders additional info

HTTP Endpoint

Server /Orders / GetOrders

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Orders/GetOrders HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

ordersIds=[
  "00d9653c-71e9-4b40-8cd0-1fafd8ff01bb",
  "64ccdf05-b65e-44ea-94cc-f34d92124cac"
]&fulfilmentLocationId=77f8648b-09b7-4015-a38e-911bbd040211&loadItems=true&loadAdditionalInfo=true

Response

This is an example response. Results may vary depending on your 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": "9da02b4b-cfbb-4cd5-897c-5a22e7b3e596",
          "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": "2019-07-23T15:31:57.1460791+01:00",
      "Source": "sample string 14",
      "SubSource": "sample string 15",
      "SiteCode": "sample string 16",
      "HoldOrCancel": true,
      "DespatchByDate": "2019-07-23T15:31:57.1460791+01:00",
      "ScheduledDelivery": {
        "From": "2019-07-23T15:31:57.1460791+01:00",
        "To": "2019-07-23T15:31:57.1460791+01:00"
      },
      "HasScheduledDelivery": true,
      "Location": "556b993d-ff78-48f7-8f3c-b03962d8b6bc",
      "NumItems": 20,
      "StockAllocationType": 0
    },
    "ShippingInfo": {
      "Vendor": "sample string 1",
      "PostalServiceId": "e73ad0ce-a044-4063-908e-d65721e4801c",
      "PostalServiceName": "sample string 3",
      "TotalWeight": 4.1,
      "ItemWeight": 5.1,
      "PackageCategoryId": "1cda149f-913a-46db-a122-486eaf7f4f9c",
      "PackageCategory": "sample string 7",
      "PackageTypeId": "7f20cd28-f90f-4932-a990-195c22403029",
      "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": "ba6c95bd-30e5-404a-9b32-aa132b0aa397"
      },
      "BillingAddress": {
      }
    },
    "TotalsInfo": {
      "Subtotal": 1.1,
      "PostageCost": 2.1,
      "Tax": 3.1,
      "TotalCharge": 4.1,
      "PaymentMethod": "sample string 5",
      "PaymentMethodId": "7af9726c-a8b6-4da6-885b-394eadd6f50c",
      "ProfitMargin": 7.1,
      "TotalDiscount": 8.1,
      "Currency": "sample string 9",
      "CountryTaxRate": 10.1,
      "ConversionRate": 11.1
    },
    "FolderName": [
      "sample string 1",
      "sample string 2"
    ],
    "IsPostFilteredOut": true,
    "CanFulfil": true,
    "Items": [
      {
        "ItemId": "35447193-0e64-4d5b-aa9f-3259e29a7416",
        "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": "23eb1c6c-957d-4436-b3a2-94830eccfd70",
          "Rowid": "bc72d731-d0c0-410a-8e1d-722f0a80c116",
          "pkPurchaseId": "9514010e-8a31-4528-be47-0fb50f62cda2",
          "ExternalInvoiceNumber": "sample string 4",
          "fkSupplierId": "84748846-01a7-43f4-ae80-1bc35ab8190a",
          "DateOfDelivery": "2019-07-23T15:31:57.1460791+01:00",
          "QuotedDeliveryDate": "2019-07-23T15:31:57.1460791+01:00",
          "SupplierName": "sample string 8",
          "fkLocationId": "3fccd27a-e5c7-4776-bd9e-f842abe7dbea"
        },
        "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": "3f188ecb-bab0-4494-a599-de89834aa76a",
        "AdditionalInfo": [
          {
            "pkOptionId": "4080e5b4-6c92-41b5-8f4f-fd52befe5c4a",
            "Property": "sample string 2",
            "Value": "sample string 3"
          },
          {
          }
        ],
        "StockLevelIndicator": 29,
        "BatchNumberScanRequired": true,
        "SerialNumberScanRequired": true,
        "BinRack": "sample string 32",
        "BinRacks": [
          {
            "Quantity": 1,
            "BinRack": "sample string 2",
            "Location": "9b1ef75d-ca68-44c1-926e-fec31cdaecac",
            "BatchId": 1,
            "OrderItemBatchId": 1
          },
          {
          }
        ],
        "InventoryTrackingType": 33,
        "isBatchedStockItem": false,
        "IsWarehouseManaged": true,
        "HasPurchaseOrders": true,
        "CanPurchaseOrderFulfil": true,
        "IsUnlinked": false,
        "RowId": "ad4028b7-4772-4573-ad7d-a9037cb9ebbf",
        "OrderId": "7831f560-e5e6-4412-81fe-15eb8b5b2213",
        "StockItemId": "fe429ce3-7340-463c-9776-99526d734eea"
      },
      {
      }
    ],
    "HasItems": true,
    "OrderId": "122de228-52f9-4331-a25e-7580c6e5dea3"
  },
  {
  }
]