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=ff270dad-ec6d-49fe-9d11-985562bf1c7e&toLocationId=cde441f4-af29-4ae8-876f-0dbee6ef5004

Response

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

{
  "PkTransferId": "1778dcfa-8712-42b1-8d3c-fa95a84e2c6e",
  "FromLocationId": "16c9494f-d76e-45b4-b5b1-4020e288aaf4",
  "ToLocationId": "9c384661-90d9-4c59-844b-bee276ed642f",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2019-11-28T09:45:58.9914772+00:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "ba058f8b-51b0-4f04-acfa-2c5358b7ba83",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "1da0c65b-f938-44b6-9ae0-be870ff0ea46",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "0e7f1241-fe4a-4b14-9768-7a50cd8eac11",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
          "NoteRead": true,
          "PkBinId": "89d3b7b8-0a88-4054-a1bd-76063d8cfdc2"
        },
        {
          "PkTransferBinNoteId": "0e7f1241-fe4a-4b14-9768-7a50cd8eac11",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
          "NoteRead": true,
          "PkBinId": "89d3b7b8-0a88-4054-a1bd-76063d8cfdc2"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "40e6c4de-e09a-4416-9a3d-f5e5c21e4c17",
          "FkStockItemId": "264a8c04-dcec-4e5d-bf29-c0ec35c55184",
          "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": "11ede7b7-2048-4da9-97c5-744e80357c95",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "cdd67de6-be27-4942-8fa0-6415ff58cfd4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
              "NoteRead": true,
              "FkBinId": "0f563d6d-7019-4480-9f49-109402cf1238",
              "PkTransferItemId": "a20f137d-6c2b-488d-ae50-0a2ac30601c3"
            },
            {
              "PkTransferItemNoteId": "cdd67de6-be27-4942-8fa0-6415ff58cfd4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
              "NoteRead": true,
              "FkBinId": "0f563d6d-7019-4480-9f49-109402cf1238",
              "PkTransferItemId": "a20f137d-6c2b-488d-ae50-0a2ac30601c3"
            }
          ]
        },
        {
          "PkTransferItemId": "40e6c4de-e09a-4416-9a3d-f5e5c21e4c17",
          "FkStockItemId": "264a8c04-dcec-4e5d-bf29-c0ec35c55184",
          "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": "11ede7b7-2048-4da9-97c5-744e80357c95",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "cdd67de6-be27-4942-8fa0-6415ff58cfd4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
              "NoteRead": true,
              "FkBinId": "0f563d6d-7019-4480-9f49-109402cf1238",
              "PkTransferItemId": "a20f137d-6c2b-488d-ae50-0a2ac30601c3"
            },
            {
              "PkTransferItemNoteId": "cdd67de6-be27-4942-8fa0-6415ff58cfd4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
              "NoteRead": true,
              "FkBinId": "0f563d6d-7019-4480-9f49-109402cf1238",
              "PkTransferItemId": "a20f137d-6c2b-488d-ae50-0a2ac30601c3"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "1da0c65b-f938-44b6-9ae0-be870ff0ea46",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "0e7f1241-fe4a-4b14-9768-7a50cd8eac11",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
          "NoteRead": true,
          "PkBinId": "89d3b7b8-0a88-4054-a1bd-76063d8cfdc2"
        },
        {
          "PkTransferBinNoteId": "0e7f1241-fe4a-4b14-9768-7a50cd8eac11",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
          "NoteRead": true,
          "PkBinId": "89d3b7b8-0a88-4054-a1bd-76063d8cfdc2"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "40e6c4de-e09a-4416-9a3d-f5e5c21e4c17",
          "FkStockItemId": "264a8c04-dcec-4e5d-bf29-c0ec35c55184",
          "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": "11ede7b7-2048-4da9-97c5-744e80357c95",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "cdd67de6-be27-4942-8fa0-6415ff58cfd4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
              "NoteRead": true,
              "FkBinId": "0f563d6d-7019-4480-9f49-109402cf1238",
              "PkTransferItemId": "a20f137d-6c2b-488d-ae50-0a2ac30601c3"
            },
            {
              "PkTransferItemNoteId": "cdd67de6-be27-4942-8fa0-6415ff58cfd4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
              "NoteRead": true,
              "FkBinId": "0f563d6d-7019-4480-9f49-109402cf1238",
              "PkTransferItemId": "a20f137d-6c2b-488d-ae50-0a2ac30601c3"
            }
          ]
        },
        {
          "PkTransferItemId": "40e6c4de-e09a-4416-9a3d-f5e5c21e4c17",
          "FkStockItemId": "264a8c04-dcec-4e5d-bf29-c0ec35c55184",
          "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": "11ede7b7-2048-4da9-97c5-744e80357c95",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "cdd67de6-be27-4942-8fa0-6415ff58cfd4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
              "NoteRead": true,
              "FkBinId": "0f563d6d-7019-4480-9f49-109402cf1238",
              "PkTransferItemId": "a20f137d-6c2b-488d-ae50-0a2ac30601c3"
            },
            {
              "PkTransferItemNoteId": "cdd67de6-be27-4942-8fa0-6415ff58cfd4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
              "NoteRead": true,
              "FkBinId": "0f563d6d-7019-4480-9f49-109402cf1238",
              "PkTransferItemId": "a20f137d-6c2b-488d-ae50-0a2ac30601c3"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "1146c919-4964-4ffe-8446-c3445ff52ec2",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "1146c919-4964-4ffe-8446-c3445ff52ec2",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-11-28T09:45:58.9914772+00:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "2f0e62f4-3a1a-4125-82de-ec4b4b5ff53d",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-11-28T09:45:58.9914772+00:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "2f0e62f4-3a1a-4125-82de-ec4b4b5ff53d",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-11-28T09:45:58.9914772+00:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "579663b5-8188-4249-92d3-a058705a2769",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "579663b5-8188-4249-92d3-a058705a2769",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}