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=c521c8b2-f675-4f12-984e-7630b126543c&barcode=sample string 1

Response

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

{
  "PkBinId": "5a16cef7-eccf-482c-b03a-35d1981b1c19",
  "BinName": "sample string 2",
  "BinReference": "sample string 3",
  "BinBarcode": "sample string 4",
  "BinNotes": [
    {
      "PkTransferBinNoteId": "eee88241-0864-4351-8ee0-cf8481d11426",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-10-09T15:11:41.331995+01:00",
      "NoteRead": true,
      "PkBinId": "98e21769-9dff-474c-a992-3b230dc9e526"
    },
    {
      "PkTransferBinNoteId": "eee88241-0864-4351-8ee0-cf8481d11426",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-10-09T15:11:41.331995+01:00",
      "NoteRead": true,
      "PkBinId": "98e21769-9dff-474c-a992-3b230dc9e526"
    }
  ],
  "BinItems": [
    {
      "PkTransferItemId": "e2039141-11a0-40a7-8f79-c3cdfba5aa7f",
      "FkStockItemId": "639075ab-d554-457b-9b20-da2c14791118",
      "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": "65ec6b81-7f21-499a-88c0-739de84a6c5d",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "177ba563-0742-4b65-a5a6-e703465dba28",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.331995+01:00",
          "NoteRead": true,
          "FkBinId": "9e709463-16fc-4f65-a51b-5bddd978f183",
          "PkTransferItemId": "c5e3b889-8070-4135-a179-663d8b84e8a5"
        },
        {
          "PkTransferItemNoteId": "177ba563-0742-4b65-a5a6-e703465dba28",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.331995+01:00",
          "NoteRead": true,
          "FkBinId": "9e709463-16fc-4f65-a51b-5bddd978f183",
          "PkTransferItemId": "c5e3b889-8070-4135-a179-663d8b84e8a5"
        }
      ]
    },
    {
      "PkTransferItemId": "e2039141-11a0-40a7-8f79-c3cdfba5aa7f",
      "FkStockItemId": "639075ab-d554-457b-9b20-da2c14791118",
      "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": "65ec6b81-7f21-499a-88c0-739de84a6c5d",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "177ba563-0742-4b65-a5a6-e703465dba28",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.331995+01:00",
          "NoteRead": true,
          "FkBinId": "9e709463-16fc-4f65-a51b-5bddd978f183",
          "PkTransferItemId": "c5e3b889-8070-4135-a179-663d8b84e8a5"
        },
        {
          "PkTransferItemNoteId": "177ba563-0742-4b65-a5a6-e703465dba28",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.331995+01:00",
          "NoteRead": true,
          "FkBinId": "9e709463-16fc-4f65-a51b-5bddd978f183",
          "PkTransferItemId": "c5e3b889-8070-4135-a179-663d8b84e8a5"
        }
      ]
    }
  ]
}