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=[
  "394137c3-2814-4920-bfe3-dd9e65539e9c",
  "b98d88ee-9074-420c-a6de-952243b7cd51"
]&fulfilmentLocationId=d5301894-e920-48fe-b7cc-8b3d8afcd22d&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": "22b6233f-622d-43ea-b0fe-ef7eccab1c60",
          "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-10-09T15:11:45.5842345+01:00",
      "Source": "sample string 14",
      "SubSource": "sample string 15",
      "SiteCode": "sample string 16",
      "HoldOrCancel": true,
      "DespatchByDate": "2019-10-09T15:11:45.5842345+01:00",
      "ScheduledDelivery": {
        "From": "2019-10-09T15:11:45.5842345+01:00",
        "To": "2019-10-09T15:11:45.5842345+01:00"
      },
      "HasScheduledDelivery": true,
      "Location": "5ce649f5-9adc-4150-bd4a-226b281ed514",
      "NumItems": 20,
      "StockAllocationType": 0
    },
    "ShippingInfo": {
      "Vendor": "sample string 1",
      "PostalServiceId": "835faa59-4b51-4cdc-90d4-9e7aefdad462",
      "PostalServiceName": "sample string 3",
      "TotalWeight": 4.1,
      "ItemWeight": 5.1,
      "PackageCategoryId": "87492259-7d55-4e8f-b653-3ec592b8eed9",
      "PackageCategory": "sample string 7",
      "PackageTypeId": "1a8b437a-7296-450a-af28-f73e223cc60a",
      "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": "02d0450a-d742-43d0-81cd-263aaf696322"
      },
      "BillingAddress": {
      }
    },
    "TotalsInfo": {
      "Subtotal": 1.1,
      "PostageCost": 2.1,
      "Tax": 3.1,
      "TotalCharge": 4.1,
      "PaymentMethod": "sample string 5",
      "PaymentMethodId": "2816763c-1223-4918-a5c7-1066bc9ed421",
      "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": "680aa194-92d9-44d4-bd04-a78a495fae8d",
        "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": "c52aab27-2356-44aa-a910-1d3f8afbda07",
          "Rowid": "3895d6ed-a687-4faa-bfa9-6e086b710a6c",
          "pkPurchaseId": "456da113-ddb0-4275-9cc5-65daf3f4b963",
          "ExternalInvoiceNumber": "sample string 4",
          "fkSupplierId": "ea297fd3-7dc6-47a4-b55c-619dac2fa726",
          "DateOfDelivery": "2019-10-09T15:11:45.5842345+01:00",
          "QuotedDeliveryDate": "2019-10-09T15:11:45.5842345+01:00",
          "SupplierName": "sample string 8",
          "fkLocationId": "dbb46ae9-0635-469f-b8c5-f4ece315b97d"
        },
        "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": "e6396ec3-7ebc-4509-bc6b-740192664aec",
        "AdditionalInfo": [
          {
            "pkOptionId": "31e0d7c7-4f46-4b6e-a177-ff21a56e0964",
            "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": "9e1631c5-236a-4a6c-944b-f8bf2c44980d",
            "BatchId": 1,
            "OrderItemBatchId": 1
          },
          {
          }
        ],
        "InventoryTrackingType": 33,
        "isBatchedStockItem": false,
        "IsWarehouseManaged": true,
        "HasPurchaseOrders": true,
        "CanPurchaseOrderFulfil": true,
        "IsUnlinked": false,
        "RowId": "601a66d1-ef1b-45ed-9f2b-26a265a5cf1a",
        "OrderId": "6915a02b-0446-4810-af24-136b2b7f877b",
        "StockItemId": "215b307b-7261-42c9-964e-96d84e546580"
      },
      {
      }
    ],
    "HasItems": true,
    "OrderId": "9550b77b-d191-40cb-b1bd-a4e3207e326f"
  },
  {
  }
]