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.WarehouseTransfer.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=5cd7a2e7-3dc3-49cf-8ae0-720c81fd2095&barcode=sample string 1

Response

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

{
  "PkBinId": "d352141d-2833-4568-9076-117e0b831878",
  "BinName": "sample string 2",
  "BinReference": "sample string 3",
  "BinBarcode": "sample string 4",
  "BinNotes": [
    {
      "PkTransferBinNoteId": "829ada48-3f00-4694-99a8-809b72dadb0b",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-02-19T16:57:07.3084425+00:00",
      "NoteRead": true,
      "PkBinId": "03a2558a-b502-4170-9123-5765456408ce"
    },
    {
      "PkTransferBinNoteId": "829ada48-3f00-4694-99a8-809b72dadb0b",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-02-19T16:57:07.3084425+00:00",
      "NoteRead": true,
      "PkBinId": "03a2558a-b502-4170-9123-5765456408ce"
    }
  ],
  "BinItems": [
    {
      "PkTransferItemId": "7418655a-d2f0-43b7-a663-8df100b88e90",
      "FkStockItemId": "29016797-5ec4-43f1-be3f-534b335b0d08",
      "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": "2c49f9be-7d53-43fa-a85f-02d09cfc3d2a",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "0f11d214-b0e2-4a3f-8091-0800a8a6a159",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.3084425+00:00",
          "NoteRead": true,
          "FkBinId": "f00d817d-9751-4064-bd7e-6f62a84a519b",
          "PkTransferItemId": "5e0c46b6-12f8-47a7-8555-61736e24f744"
        },
        {
          "PkTransferItemNoteId": "0f11d214-b0e2-4a3f-8091-0800a8a6a159",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.3084425+00:00",
          "NoteRead": true,
          "FkBinId": "f00d817d-9751-4064-bd7e-6f62a84a519b",
          "PkTransferItemId": "5e0c46b6-12f8-47a7-8555-61736e24f744"
        }
      ]
    },
    {
      "PkTransferItemId": "7418655a-d2f0-43b7-a663-8df100b88e90",
      "FkStockItemId": "29016797-5ec4-43f1-be3f-534b335b0d08",
      "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": "2c49f9be-7d53-43fa-a85f-02d09cfc3d2a",
      "ItemNotes": [
        {
          "PkTransferItemNoteId": "0f11d214-b0e2-4a3f-8091-0800a8a6a159",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.3084425+00:00",
          "NoteRead": true,
          "FkBinId": "f00d817d-9751-4064-bd7e-6f62a84a519b",
          "PkTransferItemId": "5e0c46b6-12f8-47a7-8555-61736e24f744"
        },
        {
          "PkTransferItemNoteId": "0f11d214-b0e2-4a3f-8091-0800a8a6a159",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.3084425+00:00",
          "NoteRead": true,
          "FkBinId": "f00d817d-9751-4064-bd7e-6f62a84a519b",
          "PkTransferItemId": "5e0c46b6-12f8-47a7-8555-61736e24f744"
        }
      ]
    }
  ]
}