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=6497c2ca-c5c2-4038-a5ea-b4d33ef050da&toLocationId=3b750211-5155-4f44-8a07-8d4617b815a8

Response

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

{
  "PkTransferId": "86d32c71-a328-49e2-8f36-966799073eec",
  "FromLocationId": "f662eb52-298c-4af1-99dd-4fda4f1df1fc",
  "ToLocationId": "56d74833-266d-4522-98e4-a27a4c66df3a",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2018-10-03T11:12:34.301369+01:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "dee0a40c-9c2c-4a8d-b18e-ea160cc6b7b7",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "227060f0-bce1-404c-a003-e3e62753ae57",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "401dc83e-096a-427e-a26d-7d2737d8b6ba",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
          "NoteRead": true,
          "PkBinId": "dc66d48d-9abd-4661-b12a-c6439bde6764"
        },
        {
          "PkTransferBinNoteId": "401dc83e-096a-427e-a26d-7d2737d8b6ba",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
          "NoteRead": true,
          "PkBinId": "dc66d48d-9abd-4661-b12a-c6439bde6764"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "4e2b4bb7-b6e3-4f24-8656-0630c79ce8ab",
          "FkStockItemId": "1e1bd0ab-81ac-41e1-ad0d-664ae5ca0a2e",
          "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": "b62cba72-4673-4f71-ba9b-4489010bc3a9",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "9c532b6a-f75d-4a63-93f6-9ec8f9410a06",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
              "NoteRead": true,
              "FkBinId": "b109328b-4838-430b-b61b-4628c8134fa9",
              "PkTransferItemId": "1d2cf55a-90ad-4caf-a5fb-76069e68778f"
            },
            {
              "PkTransferItemNoteId": "9c532b6a-f75d-4a63-93f6-9ec8f9410a06",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
              "NoteRead": true,
              "FkBinId": "b109328b-4838-430b-b61b-4628c8134fa9",
              "PkTransferItemId": "1d2cf55a-90ad-4caf-a5fb-76069e68778f"
            }
          ]
        },
        {
          "PkTransferItemId": "4e2b4bb7-b6e3-4f24-8656-0630c79ce8ab",
          "FkStockItemId": "1e1bd0ab-81ac-41e1-ad0d-664ae5ca0a2e",
          "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": "b62cba72-4673-4f71-ba9b-4489010bc3a9",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "9c532b6a-f75d-4a63-93f6-9ec8f9410a06",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
              "NoteRead": true,
              "FkBinId": "b109328b-4838-430b-b61b-4628c8134fa9",
              "PkTransferItemId": "1d2cf55a-90ad-4caf-a5fb-76069e68778f"
            },
            {
              "PkTransferItemNoteId": "9c532b6a-f75d-4a63-93f6-9ec8f9410a06",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
              "NoteRead": true,
              "FkBinId": "b109328b-4838-430b-b61b-4628c8134fa9",
              "PkTransferItemId": "1d2cf55a-90ad-4caf-a5fb-76069e68778f"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "227060f0-bce1-404c-a003-e3e62753ae57",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "401dc83e-096a-427e-a26d-7d2737d8b6ba",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
          "NoteRead": true,
          "PkBinId": "dc66d48d-9abd-4661-b12a-c6439bde6764"
        },
        {
          "PkTransferBinNoteId": "401dc83e-096a-427e-a26d-7d2737d8b6ba",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
          "NoteRead": true,
          "PkBinId": "dc66d48d-9abd-4661-b12a-c6439bde6764"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "4e2b4bb7-b6e3-4f24-8656-0630c79ce8ab",
          "FkStockItemId": "1e1bd0ab-81ac-41e1-ad0d-664ae5ca0a2e",
          "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": "b62cba72-4673-4f71-ba9b-4489010bc3a9",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "9c532b6a-f75d-4a63-93f6-9ec8f9410a06",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
              "NoteRead": true,
              "FkBinId": "b109328b-4838-430b-b61b-4628c8134fa9",
              "PkTransferItemId": "1d2cf55a-90ad-4caf-a5fb-76069e68778f"
            },
            {
              "PkTransferItemNoteId": "9c532b6a-f75d-4a63-93f6-9ec8f9410a06",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
              "NoteRead": true,
              "FkBinId": "b109328b-4838-430b-b61b-4628c8134fa9",
              "PkTransferItemId": "1d2cf55a-90ad-4caf-a5fb-76069e68778f"
            }
          ]
        },
        {
          "PkTransferItemId": "4e2b4bb7-b6e3-4f24-8656-0630c79ce8ab",
          "FkStockItemId": "1e1bd0ab-81ac-41e1-ad0d-664ae5ca0a2e",
          "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": "b62cba72-4673-4f71-ba9b-4489010bc3a9",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "9c532b6a-f75d-4a63-93f6-9ec8f9410a06",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
              "NoteRead": true,
              "FkBinId": "b109328b-4838-430b-b61b-4628c8134fa9",
              "PkTransferItemId": "1d2cf55a-90ad-4caf-a5fb-76069e68778f"
            },
            {
              "PkTransferItemNoteId": "9c532b6a-f75d-4a63-93f6-9ec8f9410a06",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
              "NoteRead": true,
              "FkBinId": "b109328b-4838-430b-b61b-4628c8134fa9",
              "PkTransferItemId": "1d2cf55a-90ad-4caf-a5fb-76069e68778f"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "b3e2cc68-2eda-4274-86db-0ccc7f2db615",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "b3e2cc68-2eda-4274-86db-0ccc7f2db615",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-10-03T11:12:34.301369+01:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "fcf494be-78eb-45eb-a339-6b757300b3b3",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2018-10-03T11:12:34.301369+01:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "fcf494be-78eb-45eb-a339-6b757300b3b3",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2018-10-03T11:12:34.301369+01:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "07ef7251-9d77-47ec-af7b-48d29d8d10bc",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "07ef7251-9d77-47ec-af7b-48d29d8d10bc",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}