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.WarehouseTransfer.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=cfdb9ce2-3e3c-47f2-b497-26b657833f1d&toLocationId=9330c35c-6575-4ee7-9089-9a6b0b9fd7b1

Response

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

{
  "PkTransferId": "060da740-04ac-4e1c-a24e-6351a5362cb9",
  "FromLocationId": "8da90c9f-6e26-471e-902d-910c6984a059",
  "ToLocationId": "c22c9b39-08e5-4f39-a359-66a47f72e7e7",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2018-02-19T16:57:07.1980919+00:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "45020b97-1f87-4ba8-8e0b-0ab734e9d502",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "80dd2b0e-2a0a-438d-af83-7fad1849c2a2",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "d851ec31-5b44-49b6-b487-d2cf51c8103a",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
          "NoteRead": true,
          "PkBinId": "d14001cb-54a0-4053-a6c6-e183c1925a1b"
        },
        {
          "PkTransferBinNoteId": "d851ec31-5b44-49b6-b487-d2cf51c8103a",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
          "NoteRead": true,
          "PkBinId": "d14001cb-54a0-4053-a6c6-e183c1925a1b"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "8b501c1d-e80c-4b87-9714-789af3bda79e",
          "FkStockItemId": "0441a9ec-bc76-4944-9248-265fdcc5d4eb",
          "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": "614e6f0e-0054-49ca-9fd7-fb51930a7bb2",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "8bb02ee7-92cd-457f-a923-c6160aaa13b1",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
              "NoteRead": true,
              "FkBinId": "5df92662-dcb1-4cc8-baa7-24773785460f",
              "PkTransferItemId": "4c80a150-c396-4c2f-9a1f-fcca1865cd27"
            },
            {
              "PkTransferItemNoteId": "8bb02ee7-92cd-457f-a923-c6160aaa13b1",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
              "NoteRead": true,
              "FkBinId": "5df92662-dcb1-4cc8-baa7-24773785460f",
              "PkTransferItemId": "4c80a150-c396-4c2f-9a1f-fcca1865cd27"
            }
          ]
        },
        {
          "PkTransferItemId": "8b501c1d-e80c-4b87-9714-789af3bda79e",
          "FkStockItemId": "0441a9ec-bc76-4944-9248-265fdcc5d4eb",
          "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": "614e6f0e-0054-49ca-9fd7-fb51930a7bb2",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "8bb02ee7-92cd-457f-a923-c6160aaa13b1",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
              "NoteRead": true,
              "FkBinId": "5df92662-dcb1-4cc8-baa7-24773785460f",
              "PkTransferItemId": "4c80a150-c396-4c2f-9a1f-fcca1865cd27"
            },
            {
              "PkTransferItemNoteId": "8bb02ee7-92cd-457f-a923-c6160aaa13b1",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
              "NoteRead": true,
              "FkBinId": "5df92662-dcb1-4cc8-baa7-24773785460f",
              "PkTransferItemId": "4c80a150-c396-4c2f-9a1f-fcca1865cd27"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "80dd2b0e-2a0a-438d-af83-7fad1849c2a2",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "d851ec31-5b44-49b6-b487-d2cf51c8103a",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
          "NoteRead": true,
          "PkBinId": "d14001cb-54a0-4053-a6c6-e183c1925a1b"
        },
        {
          "PkTransferBinNoteId": "d851ec31-5b44-49b6-b487-d2cf51c8103a",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
          "NoteRead": true,
          "PkBinId": "d14001cb-54a0-4053-a6c6-e183c1925a1b"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "8b501c1d-e80c-4b87-9714-789af3bda79e",
          "FkStockItemId": "0441a9ec-bc76-4944-9248-265fdcc5d4eb",
          "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": "614e6f0e-0054-49ca-9fd7-fb51930a7bb2",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "8bb02ee7-92cd-457f-a923-c6160aaa13b1",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
              "NoteRead": true,
              "FkBinId": "5df92662-dcb1-4cc8-baa7-24773785460f",
              "PkTransferItemId": "4c80a150-c396-4c2f-9a1f-fcca1865cd27"
            },
            {
              "PkTransferItemNoteId": "8bb02ee7-92cd-457f-a923-c6160aaa13b1",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
              "NoteRead": true,
              "FkBinId": "5df92662-dcb1-4cc8-baa7-24773785460f",
              "PkTransferItemId": "4c80a150-c396-4c2f-9a1f-fcca1865cd27"
            }
          ]
        },
        {
          "PkTransferItemId": "8b501c1d-e80c-4b87-9714-789af3bda79e",
          "FkStockItemId": "0441a9ec-bc76-4944-9248-265fdcc5d4eb",
          "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": "614e6f0e-0054-49ca-9fd7-fb51930a7bb2",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "8bb02ee7-92cd-457f-a923-c6160aaa13b1",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
              "NoteRead": true,
              "FkBinId": "5df92662-dcb1-4cc8-baa7-24773785460f",
              "PkTransferItemId": "4c80a150-c396-4c2f-9a1f-fcca1865cd27"
            },
            {
              "PkTransferItemNoteId": "8bb02ee7-92cd-457f-a923-c6160aaa13b1",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
              "NoteRead": true,
              "FkBinId": "5df92662-dcb1-4cc8-baa7-24773785460f",
              "PkTransferItemId": "4c80a150-c396-4c2f-9a1f-fcca1865cd27"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "54724b79-804e-4801-b2ff-e57a9e669e62",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "54724b79-804e-4801-b2ff-e57a9e669e62",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2018-02-19T16:57:07.1980919+00:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "51fe0512-4b20-4d1a-8090-60b891a22d35",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2018-02-19T16:57:07.1980919+00:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "51fe0512-4b20-4d1a-8090-60b891a22d35",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2018-02-19T16:57:07.1980919+00:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "a7161377-e836-48c5-872a-7bd4cefdbf1f",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "a7161377-e836-48c5-872a-7bd4cefdbf1f",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}