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=337e5fb4-3940-48dd-95e2-1015fb212ff3&barcode=sample string 1

Response

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

{
  "PkBinId": "856b6733-f1b4-4dab-9f90-86267baaa855",
  "BinName": "sample string 2",
  "BinReference": "sample string 3",
  "BinBarcode": "sample string 4",
  "BinNotes": [
    {
      "PkTransferBinNoteId": "56b2bf9d-8fa6-47fa-bfef-f8042a692912",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-06-12T09:27:50.7797599+01:00",
      "NoteRead": true,
      "PkBinId": "1da209eb-f2b2-400d-abf2-a2484466a10d"
    },
    {
      "PkTransferBinNoteId": "56b2bf9d-8fa6-47fa-bfef-f8042a692912",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-06-12T09:27:50.7797599+01:00",
      "NoteRead": true,
      "PkBinId": "1da209eb-f2b2-400d-abf2-a2484466a10d"
    }
  ],
  "BinItems": [
    {
      "PkTransferItemId": "0e95437e-ccaf-44da-9a40-9f79d7e2450c",
      "FkStockItemId": "e56a9f4b-4555-4bb9-a619-43d614f8a9e0",
      "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": "62ad93c2-7550-4986-8bb4-342d635cd4d4",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "653a76cd-1904-4ee2-8981-3263f0fb346e",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-06-12T09:27:50.7797599+01:00",
          "NoteRead": true,
          "FkBinId": "d1a58de5-6584-4230-a006-5146631a7432",
          "PkTransferItemId": "6c8f418c-0035-4da5-bccb-3f8669282654"
        },
        {
          "PkTransferItemNoteId": "653a76cd-1904-4ee2-8981-3263f0fb346e",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-06-12T09:27:50.7797599+01:00",
          "NoteRead": true,
          "FkBinId": "d1a58de5-6584-4230-a006-5146631a7432",
          "PkTransferItemId": "6c8f418c-0035-4da5-bccb-3f8669282654"
        }
      ]
    },
    {
      "PkTransferItemId": "0e95437e-ccaf-44da-9a40-9f79d7e2450c",
      "FkStockItemId": "e56a9f4b-4555-4bb9-a619-43d614f8a9e0",
      "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": "62ad93c2-7550-4986-8bb4-342d635cd4d4",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "653a76cd-1904-4ee2-8981-3263f0fb346e",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-06-12T09:27:50.7797599+01:00",
          "NoteRead": true,
          "FkBinId": "d1a58de5-6584-4230-a006-5146631a7432",
          "PkTransferItemId": "6c8f418c-0035-4da5-bccb-3f8669282654"
        },
        {
          "PkTransferItemNoteId": "653a76cd-1904-4ee2-8981-3263f0fb346e",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-06-12T09:27:50.7797599+01:00",
          "NoteRead": true,
          "FkBinId": "d1a58de5-6584-4230-a006-5146631a7432",
          "PkTransferItemId": "6c8f418c-0035-4da5-bccb-3f8669282654"
        }
      ]
    }
  ]
}