Back

Search

Search

Methods

Inventory

Orders

WarehouseTransfer /CreateTransferRequestWithReturn

Response: WarehouseTransfer



Use this call to create a new transfer request with default reference number

Parameters

NameTypeDescription
fromLocationIdGuidpkLocationId for from Location
toLocationIdGuidpkLocationId for to Location

HTTP Endpoint

Server /WarehouseTransfer / CreateTransferRequestWithReturn

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/CreateTransferRequestWithReturn 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

fromLocationId=5d3a6125-4c45-4818-bc29-fbc680bdfb83&toLocationId=b511b80e-397f-4255-b672-98e430112a73

Response

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

{
  "PkTransferId": "fd8df6f1-3b7b-4f4f-950b-beac3d9a6876",
  "FromLocationId": "b54fd6bf-f33e-4407-a1c5-f3924f55e724",
  "ToLocationId": "67ed50fc-d96d-4a3a-8218-cef74213c14c",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2019-10-09T15:11:41.1921781+01:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "3626d961-bbb3-4276-a4a4-41271199c253",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "60832db1-da13-4e93-a3ac-1443799f3abc",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "69c5f7fc-617f-4c3d-9912-cf53f3a33248",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
          "NoteRead": true,
          "PkBinId": "3dd14df6-ac20-4036-b01d-b4505ea2d3a2"
        },
        {
          "PkTransferBinNoteId": "69c5f7fc-617f-4c3d-9912-cf53f3a33248",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
          "NoteRead": true,
          "PkBinId": "3dd14df6-ac20-4036-b01d-b4505ea2d3a2"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "4b10314c-0c86-48d3-9173-ea7b2496457e",
          "FkStockItemId": "704cf528-5e68-4f74-8015-691eb4ebbdde",
          "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": "7f2fac08-2dd4-4128-8ae3-aea4f9d88be5",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "577886a1-5e1f-4a0f-a209-290ca847c39b",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
              "NoteRead": true,
              "FkBinId": "d14cf6ef-2b03-4f66-b8a7-23b11133258b",
              "PkTransferItemId": "b7ed5da1-859a-48f3-9883-af1e2d627f1d"
            },
            {
              "PkTransferItemNoteId": "577886a1-5e1f-4a0f-a209-290ca847c39b",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
              "NoteRead": true,
              "FkBinId": "d14cf6ef-2b03-4f66-b8a7-23b11133258b",
              "PkTransferItemId": "b7ed5da1-859a-48f3-9883-af1e2d627f1d"
            }
          ]
        },
        {
          "PkTransferItemId": "4b10314c-0c86-48d3-9173-ea7b2496457e",
          "FkStockItemId": "704cf528-5e68-4f74-8015-691eb4ebbdde",
          "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": "7f2fac08-2dd4-4128-8ae3-aea4f9d88be5",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "577886a1-5e1f-4a0f-a209-290ca847c39b",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
              "NoteRead": true,
              "FkBinId": "d14cf6ef-2b03-4f66-b8a7-23b11133258b",
              "PkTransferItemId": "b7ed5da1-859a-48f3-9883-af1e2d627f1d"
            },
            {
              "PkTransferItemNoteId": "577886a1-5e1f-4a0f-a209-290ca847c39b",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
              "NoteRead": true,
              "FkBinId": "d14cf6ef-2b03-4f66-b8a7-23b11133258b",
              "PkTransferItemId": "b7ed5da1-859a-48f3-9883-af1e2d627f1d"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "60832db1-da13-4e93-a3ac-1443799f3abc",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "69c5f7fc-617f-4c3d-9912-cf53f3a33248",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
          "NoteRead": true,
          "PkBinId": "3dd14df6-ac20-4036-b01d-b4505ea2d3a2"
        },
        {
          "PkTransferBinNoteId": "69c5f7fc-617f-4c3d-9912-cf53f3a33248",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
          "NoteRead": true,
          "PkBinId": "3dd14df6-ac20-4036-b01d-b4505ea2d3a2"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "4b10314c-0c86-48d3-9173-ea7b2496457e",
          "FkStockItemId": "704cf528-5e68-4f74-8015-691eb4ebbdde",
          "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": "7f2fac08-2dd4-4128-8ae3-aea4f9d88be5",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "577886a1-5e1f-4a0f-a209-290ca847c39b",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
              "NoteRead": true,
              "FkBinId": "d14cf6ef-2b03-4f66-b8a7-23b11133258b",
              "PkTransferItemId": "b7ed5da1-859a-48f3-9883-af1e2d627f1d"
            },
            {
              "PkTransferItemNoteId": "577886a1-5e1f-4a0f-a209-290ca847c39b",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
              "NoteRead": true,
              "FkBinId": "d14cf6ef-2b03-4f66-b8a7-23b11133258b",
              "PkTransferItemId": "b7ed5da1-859a-48f3-9883-af1e2d627f1d"
            }
          ]
        },
        {
          "PkTransferItemId": "4b10314c-0c86-48d3-9173-ea7b2496457e",
          "FkStockItemId": "704cf528-5e68-4f74-8015-691eb4ebbdde",
          "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": "7f2fac08-2dd4-4128-8ae3-aea4f9d88be5",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "577886a1-5e1f-4a0f-a209-290ca847c39b",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
              "NoteRead": true,
              "FkBinId": "d14cf6ef-2b03-4f66-b8a7-23b11133258b",
              "PkTransferItemId": "b7ed5da1-859a-48f3-9883-af1e2d627f1d"
            },
            {
              "PkTransferItemNoteId": "577886a1-5e1f-4a0f-a209-290ca847c39b",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
              "NoteRead": true,
              "FkBinId": "d14cf6ef-2b03-4f66-b8a7-23b11133258b",
              "PkTransferItemId": "b7ed5da1-859a-48f3-9883-af1e2d627f1d"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "069f1301-4354-4c4c-b953-5090ec96b860",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "069f1301-4354-4c4c-b953-5090ec96b860",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-10-09T15:11:41.1921781+01:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "6e04da4c-50db-43dd-9e42-eb80b3958810",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-10-09T15:11:41.1921781+01:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "6e04da4c-50db-43dd-9e42-eb80b3958810",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-10-09T15:11:41.1921781+01:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "1845d7fc-8fce-44f3-b80e-3ea493a3a2e2",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "1845d7fc-8fce-44f3-b80e-3ea493a3a2e2",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}