Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /GetOrder

Allows 150 calls per minute

Response: OpenOrder



Get a specific open order

Parameters

NameTypeDescription
orderIdGuidOrder id
fulfilmentLocationIdNullable<Guid>Current fulfilment center
loadItemsBooleanLoad or not the order items information
loadAdditionalInfoBooleanLoad or not the order additional info

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/GetOrder

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

orderId=0bc54f9f-d255-43d0-9214-14d2e776574f&fulfilmentLocationId=07234d1d-e69b-4d48-8064-79df835a579b&loadItems=true&loadAdditionalInfo=true

Response

This is an example of the response JSON. Results will 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": "3aca892c-63c5-4a29-9dc5-43b251de5c88",
        "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": "2021-07-29T09:24:52.3074504+01:00",
    "Source": "sample string 14",
    "SubSource": "sample string 15",
    "SiteCode": "sample string 16",
    "HoldOrCancel": true,
    "DespatchByDate": "2021-07-29T09:24:52.3074504+01:00",
    "ScheduledDelivery": {
      "From": "2021-07-29T09:24:52.3074504+01:00",
      "To": "2021-07-29T09:24:52.3074504+01:00"
    },
    "HasScheduledDelivery": true,
    "Location": "b491bb76-d3e2-4ace-92d0-972134f42893",
    "NumItems": 20,
    "PickwaveIds": [
      1
    ],
    "StockAllocationType": 0
  },
  "ShippingInfo": {
    "Vendor": "sample string 1",
    "PostalServiceId": "5724a483-70b4-4e59-87ed-9df8fa2c4091",
    "PostalServiceName": "sample string 3",
    "TotalWeight": 4.0,
    "ItemWeight": 5.0,
    "PackageCategoryId": "e2c4bc07-5c7c-49cf-aa33-a5d2f3436155",
    "PackageCategory": "sample string 7",
    "PackageTypeId": "90a9c16c-6135-4541-b253-79a800b68cf0",
    "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": "d85c4070-e9df-4e05-a486-e844b9e3a808"
    },
    "BillingAddress": {
    }
  },
  "TotalsInfo": {
    "Subtotal": 2.1,
    "PostageCost": 3.1,
    "Tax": 4.1,
    "TotalCharge": 5.1,
    "PaymentMethod": "sample string 6",
    "PaymentMethodId": "a04bdcc3-c1f6-49f9-9626-3f5dcb25d589",
    "ProfitMargin": 8.1,
    "TotalDiscount": 9.1,
    "Currency": "sample string 10",
    "CountryTaxRate": 11.1,
    "ConversionRate": 12.1
  },
  "TaxInfo": {
    "TaxNumber": "sample string 1"
  },
  "FolderName": [
    "sample string 1"
  ],
  "IsPostFilteredOut": true,
  "CanFulfil": true,
  "Fulfillment": {
    "FulfillmentState": 0,
    "PurchaseOrderState": 1
  },
  "Items": [
    {
      "ItemId": "3de63bf0-4d39-4a48-8004-41c85ae1c081",
      "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": "0824e67f-3322-465c-a68a-79de9b6b2553",
        "Rowid": "5e8dc9fd-6dda-4409-aa21-1f0c9f8ef956",
        "pkPurchaseId": "3a7cecc8-80bb-464e-a457-8034aaa31f2f",
        "ExternalInvoiceNumber": "sample string 4",
        "fkSupplierId": "2dd1ec75-f8e3-4a8b-9a6c-b84cf2799282",
        "DateOfDelivery": "2021-07-29T09:24:52.3074504+01:00",
        "QuotedDeliveryDate": "2021-07-29T09:24:52.3074504+01:00",
        "SupplierName": "sample string 8",
        "fkLocationId": "97dabac4-d4c9-48d0-bf54-cc1f128dee3f"
      },
      "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": "7d21c5b0-1c95-4499-8021-497e2b39e2f9",
      "AdditionalInfo": [
        {
          "pkOptionId": "331363fe-4623-4e13-8368-4863ecf29582",
          "Property": "sample string 2",
          "Value": "sample string 3"
        }
      ],
      "StockLevelIndicator": 29,
      "ShippingCost": 30.1,
      "PartShippedQty": 31,
      "ItemName": "sample string 32",
      "BatchNumberScanRequired": true,
      "SerialNumberScanRequired": true,
      "BinRack": "sample string 35",
      "BinRacks": [
        {
          "Quantity": 1,
          "BinRack": "sample string 2",
          "Location": "600d9e1b-4dea-4dea-9d7f-57a2401a0e64",
          "BatchId": 1,
          "OrderItemBatchId": 1
        }
      ],
      "InventoryTrackingType": 36,
      "isBatchedStockItem": false,
      "IsWarehouseManaged": true,
      "IsUnlinked": false,
      "StockItemIntId": 39,
      "Boxes": [
        {
          "BoxId": 1,
          "StockItemIntId": 2,
          "BoxName": "sample string 3",
          "Width": 4.0,
          "Height": 5.0,
          "Length": 6.0,
          "Weight": 7.0,
          "ValuePercentage": 8.0,
          "Barcode": "sample string 9",
          "PackagingTypeId": "30cb9068-6c09-44f3-b6f4-22ad10876f14",
          "LogicalDelete": true
        }
      ],
      "RowId": "96b92054-e152-4d3d-b6f8-8738040c6818",
      "OrderId": "7aecdb53-2e00-4167-a9d6-89034723f55d",
      "StockItemId": "998f594e-b982-4c46-b189-c8719ce218aa"
    }
  ],
  "HasItems": true,
  "TotalItemsSum": 0,
  "OrderId": "eb152588-4f3b-472b-acde-70856b2a3567"
}