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=bc6db337-f757-475b-978a-0df414dc4a12&barcode=sample string 1

Response

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

{
  "PkBinId": "6fbb89ab-6903-40f2-a47c-16d38918eca2",
  "BinName": "sample string 2",
  "BinReference": "sample string 3",
  "BinBarcode": "sample string 4",
  "BinNotes": [
    {
      "PkTransferBinNoteId": "2a15d66a-45ed-49e3-a2dc-ee6dae3ef635",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-11-28T09:45:59.1299523+00:00",
      "NoteRead": true,
      "PkBinId": "b7fb1d40-6d30-4e31-a68d-4e7bee1c661c"
    },
    {
      "PkTransferBinNoteId": "2a15d66a-45ed-49e3-a2dc-ee6dae3ef635",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-11-28T09:45:59.1299523+00:00",
      "NoteRead": true,
      "PkBinId": "b7fb1d40-6d30-4e31-a68d-4e7bee1c661c"
    }
  ],
  "BinItems": [
    {
      "PkTransferItemId": "26e626c9-8f41-46f9-97ff-c0b1335e0815",
      "FkStockItemId": "4aff7b2b-aeeb-4e05-9d42-a0c9e4e28a36",
      "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": "b931ee2f-b46d-4178-888b-d5379e11075f",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "5c910c89-66b4-45df-bf84-cccd60db76a5",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:59.1299523+00:00",
          "NoteRead": true,
          "FkBinId": "c580a935-1f43-4464-931d-209b63ff2dfc",
          "PkTransferItemId": "b2ffd807-47e9-41ab-9325-f9e920ad5b46"
        },
        {
          "PkTransferItemNoteId": "5c910c89-66b4-45df-bf84-cccd60db76a5",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:59.1299523+00:00",
          "NoteRead": true,
          "FkBinId": "c580a935-1f43-4464-931d-209b63ff2dfc",
          "PkTransferItemId": "b2ffd807-47e9-41ab-9325-f9e920ad5b46"
        }
      ]
    },
    {
      "PkTransferItemId": "26e626c9-8f41-46f9-97ff-c0b1335e0815",
      "FkStockItemId": "4aff7b2b-aeeb-4e05-9d42-a0c9e4e28a36",
      "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": "b931ee2f-b46d-4178-888b-d5379e11075f",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "5c910c89-66b4-45df-bf84-cccd60db76a5",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:59.1299523+00:00",
          "NoteRead": true,
          "FkBinId": "c580a935-1f43-4464-931d-209b63ff2dfc",
          "PkTransferItemId": "b2ffd807-47e9-41ab-9325-f9e920ad5b46"
        },
        {
          "PkTransferItemNoteId": "5c910c89-66b4-45df-bf84-cccd60db76a5",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:59.1299523+00:00",
          "NoteRead": true,
          "FkBinId": "c580a935-1f43-4464-931d-209b63ff2dfc",
          "PkTransferItemId": "b2ffd807-47e9-41ab-9325-f9e920ad5b46"
        }
      ]
    }
  ]
}