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=[
  "5c30909b-2f9a-48c2-a14e-1491b12ad9b6",
  "8fa47d82-619f-4224-b927-df63e935b58a"
]&fulfilmentLocationId=017a7dd0-7a19-49aa-a7b1-5ee723e302c3&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": "ab15ef19-339c-42a5-9116-1487ecf15184",
          "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-11-28T09:46:01.9213498+00:00",
      "Source": "sample string 14",
      "SubSource": "sample string 15",
      "SiteCode": "sample string 16",
      "HoldOrCancel": true,
      "DespatchByDate": "2019-11-28T09:46:01.9213498+00:00",
      "ScheduledDelivery": {
        "From": "2019-11-28T09:46:01.9213498+00:00",
        "To": "2019-11-28T09:46:01.9213498+00:00"
      },
      "HasScheduledDelivery": true,
      "Location": "8f98b03b-50b5-443d-a670-932ce617766a",
      "NumItems": 20,
      "StockAllocationType": 0
    },
    "ShippingInfo": {
      "Vendor": "sample string 1",
      "PostalServiceId": "599d1cd6-87cf-40e3-b63b-86abcf4a6785",
      "PostalServiceName": "sample string 3",
      "TotalWeight": 4.1,
      "ItemWeight": 5.1,
      "PackageCategoryId": "e9a6a57a-20bb-42c7-b2b4-b6894e2df7e9",
      "PackageCategory": "sample string 7",
      "PackageTypeId": "3b8e819f-78e2-448b-bf43-2f2f919b3f55",
      "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": "de8d6c6a-c8af-47b1-bd50-b4879e837191"
      },
      "BillingAddress": {
      }
    },
    "TotalsInfo": {
      "Subtotal": 1.1,
      "PostageCost": 2.1,
      "Tax": 3.1,
      "TotalCharge": 4.1,
      "PaymentMethod": "sample string 5",
      "PaymentMethodId": "0e4cbcce-8552-4a48-b00d-78688c9af761",
      "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": "88dc50be-00c1-4e61-b8ce-886084662cc0",
        "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": "901ad2d3-6917-4553-9438-57852adc8931",
          "Rowid": "e081eae3-8917-461e-91cf-1b82c0a2dbea",
          "pkPurchaseId": "e32e2d39-1d86-45f8-bc75-3dca03727ac8",
          "ExternalInvoiceNumber": "sample string 4",
          "fkSupplierId": "7363fb43-d358-4a7d-8e98-15e9b36a6980",
          "DateOfDelivery": "2019-11-28T09:46:01.9213498+00:00",
          "QuotedDeliveryDate": "2019-11-28T09:46:01.9213498+00:00",
          "SupplierName": "sample string 8",
          "fkLocationId": "7a1eab51-b2c7-406a-9602-dcb73922d08c"
        },
        "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": "af25f48f-3182-429f-aabe-6faabad195a4",
        "AdditionalInfo": [
          {
            "pkOptionId": "a863bf4a-7c81-4cf8-ab59-4b4a3e7a720e",
            "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": "c7a1ae27-41e4-4101-b0ea-2c63c76f7268",
            "BatchId": 1,
            "OrderItemBatchId": 1
          },
          {
          }
        ],
        "InventoryTrackingType": 33,
        "isBatchedStockItem": false,
        "IsWarehouseManaged": true,
        "HasPurchaseOrders": true,
        "CanPurchaseOrderFulfil": true,
        "IsUnlinked": false,
        "RowId": "da2af522-feea-4a7b-9288-ecbeef516444",
        "OrderId": "a63f0f18-8c4a-4fc9-9100-448f1084ffe8",
        "StockItemId": "726602c8-b9a8-41e2-aa50-3e459d900a67"
      },
      {
      }
    ],
    "HasItems": true,
    "OrderId": "25b48aec-3c0c-4470-bef1-07eb37d4ab4d"
  },
  {
  }
]