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=[
  "daaa03dc-2164-4fac-b1bc-91962d04377d",
  "6438f527-03c3-433b-920e-738db0b222f2"
]&fulfilmentLocationId=ad4a3353-8bc4-4ad1-8467-2ef5f1ec8d97&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": "9f6cf0dc-8b4f-476a-a14d-d58378eb04d6",
          "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-06-12T09:27:53.2134561+01:00",
      "Source": "sample string 14",
      "SubSource": "sample string 15",
      "SiteCode": "sample string 16",
      "HoldOrCancel": true,
      "DespatchByDate": "2019-06-12T09:27:53.2134561+01:00",
      "ScheduledDelivery": {
        "From": "2019-06-12T09:27:53.2134561+01:00",
        "To": "2019-06-12T09:27:53.2134561+01:00"
      },
      "HasScheduledDelivery": true,
      "Location": "0f381da2-3850-40b0-b511-afe1766d2017",
      "NumItems": 20,
      "StockAllocationType": 0
    },
    "ShippingInfo": {
      "Vendor": "sample string 1",
      "PostalServiceId": "93d5f4ca-628b-4e4f-9196-e0e5e5835b28",
      "PostalServiceName": "sample string 3",
      "TotalWeight": 4.1,
      "ItemWeight": 5.1,
      "PackageCategoryId": "a6f139db-14d5-4e8b-8fec-bd6ec4956820",
      "PackageCategory": "sample string 7",
      "PackageTypeId": "cb50dfc8-b0ee-4f61-9696-16028d41c09c",
      "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": "60c0f744-5690-4dda-9de8-78683d3a78ae"
      },
      "BillingAddress": {
      }
    },
    "TotalsInfo": {
      "Subtotal": 1.1,
      "PostageCost": 2.1,
      "Tax": 3.1,
      "TotalCharge": 4.1,
      "PaymentMethod": "sample string 5",
      "PaymentMethodId": "004470a6-b4b8-40ab-8b87-d207dfaff780",
      "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": "a306e3b3-20e3-4969-8983-75ca5bcbb606",
        "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": "344d019f-0c8e-4009-a508-e7258909ef64",
          "Rowid": "c5732385-6639-45be-8caf-6700a5e15f58",
          "pkPurchaseId": "11a96962-8ff4-445f-b6d6-712a133a7fdb",
          "ExternalInvoiceNumber": "sample string 4",
          "fkSupplierId": "b5d9f56b-2883-4a1a-aafb-94dca4b0e6c4",
          "DateOfDelivery": "2019-06-12T09:27:53.2134561+01:00",
          "QuotedDeliveryDate": "2019-06-12T09:27:53.2134561+01:00",
          "SupplierName": "sample string 8",
          "fkLocationId": "14c3ce0e-234e-43d7-abbf-fde916ba51c7"
        },
        "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": "afeec10b-d13e-4c28-8a49-adca1d93e292",
        "AdditionalInfo": [
          {
            "pkOptionId": "aba21441-7640-40ed-9ca2-1009e8d623d6",
            "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": "aec157d8-1983-4712-8d06-796672cfc1a3",
            "BatchId": 1,
            "OrderItemBatchId": 1
          },
          {
          }
        ],
        "InventoryTrackingType": 33,
        "isBatchedStockItem": false,
        "IsWarehouseManaged": true,
        "HasPurchaseOrders": true,
        "CanPurchaseOrderFulfil": true,
        "IsUnlinked": false,
        "RowId": "272599a4-6064-4a69-856e-096558042514",
        "OrderId": "52a03af6-c845-4bc4-9e7c-9283f78abbe7",
        "StockItemId": "4c2c8301-5731-4229-908d-3d014345643f"
      },
      {
      }
    ],
    "HasItems": true,
    "OrderId": "f0d246f1-b202-49c3-986a-abeafc3140e7"
  },
  {
  }
]