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=[
  "c6735952-4d1a-4b1f-a7ff-bcad15d3262d",
  "ad69dc48-d6ee-471c-9ad6-8197c400db22"
]&fulfilmentLocationId=68da2bde-de0e-4544-acf4-9c53b3282404&loadItems=true&loadAdditionalInfo=true

Response

This is an example response. Results may vary depending on your data.

[
  {
    "OrderId": "cd655d7b-b043-46a8-8b81-9520c239d78f",
    "NumOrderId": 2,
    "GeneralInfo": {
      "Status": 1,
      "LabelPrinted": true,
      "LabelError": "sample string 3",
      "InvoicePrinted": true,
      "PickListPrinted": true,
      "IsRuleRun": true,
      "Notes": 7,
      "PartShipped": true,
      "Marker": 64,
      "ReferenceNum": "sample string 9",
      "SecondaryReference": "sample string 10",
      "ExternalReferenceNum": "sample string 11",
      "ReceivedDate": "2018-02-19T16:57:08.6592772+00:00",
      "Source": "sample string 13",
      "SubSource": "sample string 14",
      "SiteCode": "sample string 15",
      "HoldOrCancel": true,
      "DespatchByDate": "2018-02-19T16:57:08.6592772+00:00",
      "Location": "cb79387b-eeb0-431b-b4ec-8cb9f3e66daa",
      "NumItems": 19
    },
    "ShippingInfo": {
      "Vendor": "sample string 1",
      "PostalServiceId": "bafe905c-9488-4b58-887d-4a3bec62c38a",
      "PostalServiceName": "sample string 3",
      "TotalWeight": 4.1,
      "ItemWeight": 5.1,
      "PackageCategoryId": "9a03cbdb-04d5-459d-ac01-804789a289ee",
      "PackageCategory": "sample string 7",
      "PackageTypeId": "bf1a769e-96d6-4242-aff1-87adadbce82c",
      "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",
        "FullName": "sample string 9",
        "Company": "sample string 10",
        "PhoneNumber": "sample string 11",
        "CountryId": "536479ba-ff5e-4d63-9bd0-fbc134dc6603"
      },
      "BillingAddress": {
      }
    },
    "TotalsInfo": {
      "Subtotal": 1.1,
      "PostageCost": 2.1,
      "Tax": 3.1,
      "TotalCharge": 4.1,
      "PaymentMethod": "sample string 5",
      "PaymentMethodId": "3b4491bd-9c39-465a-b166-71fb573594dd",
      "ProfitMargin": 7.1,
      "TotalDiscount": 8.1,
      "Currency": "sample string 9",
      "CountryTaxRate": 10.1,
      "ConversionRate": 11.1
    },
    "FolderName": [
      "sample string 1",
      "sample string 2"
    ],
    "Items": [
      {
        "OrderId": "3553c5d2-d735-4874-9ed2-fcde5d75a325",
        "ItemId": "65251c91-1733-4bf3-8b64-b62f31b8eb2c",
        "StockItemId": "26d837da-b813-4e24-983a-0cb5e7d5bc49",
        "ItemNumber": "sample string 4",
        "SKU": "sample string 5",
        "ItemSource": "sample string 6",
        "Title": "sample string 7",
        "Quantity": 8,
        "CategoryName": "sample string 9",
        "CompositeAvailablity": 1,
        "RowId": "9e5b902d-7b94-4577-b3d1-7b85d0e38dcb",
        "StockLevelsSpecified": true,
        "OnOrder": 12,
        "InOrderBook": 1,
        "Level": 13,
        "MinimumLevel": 1,
        "AvailableStock": 14,
        "PricePerUnit": 15.1,
        "UnitCost": 16.1,
        "Discount": 17.1,
        "Tax": 22.1,
        "TaxRate": 18.1,
        "Cost": 19.1,
        "CostIncTax": 20.1,
        "CompositeSubItems": [
          {
          },
          {
          }
        ],
        "IsService": true,
        "SalesTax": 22.1,
        "TaxCostInclusive": true,
        "PartShipped": true,
        "Weight": 25.1,
        "BarcodeNumber": "sample string 26",
        "Market": 27,
        "ChannelSKU": "sample string 28",
        "ChannelTitle": "sample string 29",
        "DiscountValue": 17.490939881456391,
        "HasImage": true,
        "ImageId": "3cac8347-4d30-459a-9040-ac2e74e2a27b",
        "AdditionalInfo": [
          {
            "pkOptionId": "21cc394f-3bb4-4bdb-9044-9eef8f0c96cc",
            "Property": "sample string 2",
            "Value": "sample string 3"
          },
          {
          }
        ],
        "StockLevelIndicator": 30,
        "BatchNumberScanRequired": true,
        "SerialNumberScanRequired": true,
        "BinRack": "sample string 33",
        "BinRacks": [
          {
            "Quantity": 1,
            "BinRack": "sample string 2",
            "Location": "dfc70673-3216-4b10-a207-b9eb584616b2"
          },
          {
          }
        ],
        "InventoryTrackingType": 34,
        "isBatchedStockItem": false
      },
      {
      }
    ]
  },
  {
  }
]