Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /SetAvailableFolders

Allows 150 calls per minute

Response: List<OrderFolder>



Set the list of available folders that orders can be assigned to

Parameters

NameTypeDescription
foldersList<OrderFolder>folders list

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Orders/SetAvailableFolders

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.

folders=[
  {
    "pkFolderId": "2a991674-61f1-42d2-9ff4-ce042b72ff69",
    "FolderName": "sample string 2"
  }
]

Response

This is an example of the response JSON. Results will vary depending on your data.

[
  {
    "pkFolderId": "4d993821-7571-4e48-9a20-7429cbb771be",
    "FolderName": "sample string 2"
  }
]