Back

Search

Search

Methods

Inventory

Orders

Orders /GetPackagingGroups

Response: List<PackageGroup>



Get available packaging groups

Parameters

No parameters required.

HTTP Endpoint

Server /Orders / GetPackagingGroups

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Orders/GetPackagingGroups 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


Response

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

[
  {
    "PackageCategoryID": "17980f8b-066c-4fcc-b948-3a6d5cdbd58d",
    "PackageCategory": "sample string 2",
    "rowguid": "fa7d0b3f-66d6-4aef-8722-e87a20ec5f5b",
    "PackageTypes": [
      {
        "PackageTypeId": "e52c26ca-3230-49aa-a86f-2f2e1a15bda2",
        "PackageGroupId": "14bba6a5-7c24-470b-8e52-d7d513a83452",
        "PackageTitle": "sample string 3",
        "FromGramms": 4.1,
        "ToGramms": 5.1,
        "PackagingWeight": 6.1,
        "PackagingCapacity": 7.1,
        "Rowguid": "d549778b-35ef-40a4-ac71-df82ad0e1b07",
        "Width": 9.1,
        "Height": 10.1,
        "Depth": 11.1
      },
      {
        "PackageTypeId": "e52c26ca-3230-49aa-a86f-2f2e1a15bda2",
        "PackageGroupId": "14bba6a5-7c24-470b-8e52-d7d513a83452",
        "PackageTitle": "sample string 3",
        "FromGramms": 4.1,
        "ToGramms": 5.1,
        "PackagingWeight": 6.1,
        "PackagingCapacity": 7.1,
        "Rowguid": "d549778b-35ef-40a4-ac71-df82ad0e1b07",
        "Width": 9.1,
        "Height": 10.1,
        "Depth": 11.1
      }
    ]
  },
  {
    "PackageCategoryID": "17980f8b-066c-4fcc-b948-3a6d5cdbd58d",
    "PackageCategory": "sample string 2",
    "rowguid": "fa7d0b3f-66d6-4aef-8722-e87a20ec5f5b",
    "PackageTypes": [
      {
        "PackageTypeId": "e52c26ca-3230-49aa-a86f-2f2e1a15bda2",
        "PackageGroupId": "14bba6a5-7c24-470b-8e52-d7d513a83452",
        "PackageTitle": "sample string 3",
        "FromGramms": 4.1,
        "ToGramms": 5.1,
        "PackagingWeight": 6.1,
        "PackagingCapacity": 7.1,
        "Rowguid": "d549778b-35ef-40a4-ac71-df82ad0e1b07",
        "Width": 9.1,
        "Height": 10.1,
        "Depth": 11.1
      },
      {
        "PackageTypeId": "e52c26ca-3230-49aa-a86f-2f2e1a15bda2",
        "PackageGroupId": "14bba6a5-7c24-470b-8e52-d7d513a83452",
        "PackageTitle": "sample string 3",
        "FromGramms": 4.1,
        "ToGramms": 5.1,
        "PackagingWeight": 6.1,
        "PackagingCapacity": 7.1,
        "Rowguid": "d549778b-35ef-40a4-ac71-df82ad0e1b07",
        "Width": 9.1,
        "Height": 10.1,
        "Depth": 11.1
      }
    ]
  }
]