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=eca70909-7024-4f3a-a3ee-6d2fa349e862&barcode=sample string 1

Response

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

{
  "PkBinId": "32004ae0-af33-4bd8-ada1-56536cb35ead",
  "BinName": "sample string 2",
  "BinReference": "sample string 3",
  "BinBarcode": "sample string 4",
  "BinNotes": [
    {
      "PkTransferBinNoteId": "54e94c15-a4f8-489d-a03c-b0cdce678689",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-08-21T13:34:04.6393354+01:00",
      "NoteRead": true,
      "PkBinId": "a896da90-6112-4306-b7c1-1e0fd1948d9b"
    },
    {
      "PkTransferBinNoteId": "54e94c15-a4f8-489d-a03c-b0cdce678689",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-08-21T13:34:04.6393354+01:00",
      "NoteRead": true,
      "PkBinId": "a896da90-6112-4306-b7c1-1e0fd1948d9b"
    }
  ],
  "BinItems": [
    {
      "PkTransferItemId": "14484dd4-ccf8-44f2-9ebe-8b55f6b738c8",
      "FkStockItemId": "a530dc3c-3e94-4584-88f5-980c53cdc453",
      "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": "a0027e54-8cc4-4c36-8ddc-ae5ccb350c35",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "578cd1a9-9b6c-4c9e-80c6-1ab932516abc",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.6393354+01:00",
          "NoteRead": true,
          "FkBinId": "394e5268-ee90-4406-851f-2c2f476318f9",
          "PkTransferItemId": "5ae13dc3-5fd6-4fdf-b054-326167b0a259"
        },
        {
          "PkTransferItemNoteId": "578cd1a9-9b6c-4c9e-80c6-1ab932516abc",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.6393354+01:00",
          "NoteRead": true,
          "FkBinId": "394e5268-ee90-4406-851f-2c2f476318f9",
          "PkTransferItemId": "5ae13dc3-5fd6-4fdf-b054-326167b0a259"
        }
      ]
    },
    {
      "PkTransferItemId": "14484dd4-ccf8-44f2-9ebe-8b55f6b738c8",
      "FkStockItemId": "a530dc3c-3e94-4584-88f5-980c53cdc453",
      "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": "a0027e54-8cc4-4c36-8ddc-ae5ccb350c35",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "578cd1a9-9b6c-4c9e-80c6-1ab932516abc",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.6393354+01:00",
          "NoteRead": true,
          "FkBinId": "394e5268-ee90-4406-851f-2c2f476318f9",
          "PkTransferItemId": "5ae13dc3-5fd6-4fdf-b054-326167b0a259"
        },
        {
          "PkTransferItemNoteId": "578cd1a9-9b6c-4c9e-80c6-1ab932516abc",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.6393354+01:00",
          "NoteRead": true,
          "FkBinId": "394e5268-ee90-4406-851f-2c2f476318f9",
          "PkTransferItemId": "5ae13dc3-5fd6-4fdf-b054-326167b0a259"
        }
      ]
    }
  ]
}