Back

Search

Search

Methods

Inventory

Orders

WarehouseTransfer /CreateNewBin

Response: WarehouseTransferBin



Use this call to create a new bin.

Parameters

NameTypeDescription
pkTransferIdGuidThe transfer to create the bin for.
barcodeStringThe barcode of the bin.

HTTP Endpoint

Server /WarehouseTransfer / CreateNewBin

Permissions

GlobalPermissions.Inventory.WarehouseTransferNode

Example Code

Example Request

The following request format is required for this method.

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

pkTransferId=6667f2f9-9e24-48d7-a09e-740a4e0eae59&barcode=sample string 1

Response

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

{
  "PkBinId": "426fb119-3ed5-493f-97f6-30f451b86513",
  "BinName": "sample string 2",
  "BinReference": "sample string 3",
  "BinBarcode": "sample string 4",
  "BinNotes": [
    {
      "PkTransferBinNoteId": "a99981d9-c68d-4807-9623-a82bfe203d39",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-10-03T11:12:34.4334627+01:00",
      "NoteRead": true,
      "PkBinId": "7b23ce10-cfaa-481e-abf5-e701af21cae5"
    },
    {
      "PkTransferBinNoteId": "a99981d9-c68d-4807-9623-a82bfe203d39",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-10-03T11:12:34.4334627+01:00",
      "NoteRead": true,
      "PkBinId": "7b23ce10-cfaa-481e-abf5-e701af21cae5"
    }
  ],
  "BinItems": [
    {
      "PkTransferItemId": "a369041f-644a-4496-acb9-31beef18a5ab",
      "FkStockItemId": "2ef2ef3b-f90f-45f5-993d-fdcf559ac8ff",
      "SKU": "sample string 3",
      "Barcode": "sample string 4",
      "ItemTitle": "sample string 5",
      "RequestedQuantity": 6,
      "SentQuantity": 7,
      "ReceivedQuantity": 1,
      "InFromLocationQuantity": 8,
      "DueFromLocationQuantity": 9,
      "InToLocationQuantity": 10,
      "ItemNoteCount": 11,
      "BinRackNumber": "sample string 12",
      "PkBinId": "47b02d00-cbcd-499b-b596-c18d47241fe6",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "515949fc-8cce-4ded-aa69-4e9ea11e649d",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.4334627+01:00",
          "NoteRead": true,
          "FkBinId": "b01ec92c-be29-43ed-893f-300e7d2a5369",
          "PkTransferItemId": "2a48e3e9-6282-483a-b177-372982bbc4eb"
        },
        {
          "PkTransferItemNoteId": "515949fc-8cce-4ded-aa69-4e9ea11e649d",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.4334627+01:00",
          "NoteRead": true,
          "FkBinId": "b01ec92c-be29-43ed-893f-300e7d2a5369",
          "PkTransferItemId": "2a48e3e9-6282-483a-b177-372982bbc4eb"
        }
      ]
    },
    {
      "PkTransferItemId": "a369041f-644a-4496-acb9-31beef18a5ab",
      "FkStockItemId": "2ef2ef3b-f90f-45f5-993d-fdcf559ac8ff",
      "SKU": "sample string 3",
      "Barcode": "sample string 4",
      "ItemTitle": "sample string 5",
      "RequestedQuantity": 6,
      "SentQuantity": 7,
      "ReceivedQuantity": 1,
      "InFromLocationQuantity": 8,
      "DueFromLocationQuantity": 9,
      "InToLocationQuantity": 10,
      "ItemNoteCount": 11,
      "BinRackNumber": "sample string 12",
      "PkBinId": "47b02d00-cbcd-499b-b596-c18d47241fe6",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "515949fc-8cce-4ded-aa69-4e9ea11e649d",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.4334627+01:00",
          "NoteRead": true,
          "FkBinId": "b01ec92c-be29-43ed-893f-300e7d2a5369",
          "PkTransferItemId": "2a48e3e9-6282-483a-b177-372982bbc4eb"
        },
        {
          "PkTransferItemNoteId": "515949fc-8cce-4ded-aa69-4e9ea11e649d",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.4334627+01:00",
          "NoteRead": true,
          "FkBinId": "b01ec92c-be29-43ed-893f-300e7d2a5369",
          "PkTransferItemId": "2a48e3e9-6282-483a-b177-372982bbc4eb"
        }
      ]
    }
  ]
}