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=021b34eb-3007-4e58-8c0e-9c08dc337e6b&toLocationId=e76e5de0-c501-43f4-9f4c-360b2cbdf6c0

Response

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

{
  "PkTransferId": "01ba8942-ebaf-4fb5-8837-8bcda9fea212",
  "FromLocationId": "a545b831-696e-483d-b640-b4d0bfcd9bd5",
  "ToLocationId": "0abbdb4b-18a2-4ee2-9539-bee8fdc0246d",
  "FromLocation": "sample string 4",
  "ToLocation": "sample string 5",
  "Status": 6,
  "nStatus": 6,
  "ReferenceNumber": "sample string 7",
  "OrderDate": "2019-08-21T13:34:04.5042154+01:00",
  "NumberOfItems": 9,
  "NumberOfNotes": 10,
  "fkOriginalTransferId": "b79e3858-aa99-4c6c-bab5-a4380a681b65",
  "OriginalTransferReference": "sample string 12",
  "IsDiscrepancyTransfer": true,
  "BLogicalDelete": true,
  "Bins": [
    {
      "PkBinId": "a8a88cd1-6b69-4c43-952a-e064ed3da5cc",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "788aa4f8-e91b-4f7f-8aaa-5bdb666dc64e",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
          "NoteRead": true,
          "PkBinId": "2ebdbdbf-a008-42a6-a1ce-05bc996bc57f"
        },
        {
          "PkTransferBinNoteId": "788aa4f8-e91b-4f7f-8aaa-5bdb666dc64e",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
          "NoteRead": true,
          "PkBinId": "2ebdbdbf-a008-42a6-a1ce-05bc996bc57f"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "c24c2853-b000-47af-adcc-a142a20cb296",
          "FkStockItemId": "5706754f-eb78-4e30-a3ef-b146abf34e38",
          "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": "23267c93-4854-439c-ba32-d195d8b10f08",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "8bc4cb65-c42b-4e15-a008-db6a6d6007d4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
              "NoteRead": true,
              "FkBinId": "d20650e7-00fc-45de-a2f4-5b8bf7d0b65e",
              "PkTransferItemId": "33edb5f8-5a7d-49bc-85bf-458ecc3e810a"
            },
            {
              "PkTransferItemNoteId": "8bc4cb65-c42b-4e15-a008-db6a6d6007d4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
              "NoteRead": true,
              "FkBinId": "d20650e7-00fc-45de-a2f4-5b8bf7d0b65e",
              "PkTransferItemId": "33edb5f8-5a7d-49bc-85bf-458ecc3e810a"
            }
          ]
        },
        {
          "PkTransferItemId": "c24c2853-b000-47af-adcc-a142a20cb296",
          "FkStockItemId": "5706754f-eb78-4e30-a3ef-b146abf34e38",
          "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": "23267c93-4854-439c-ba32-d195d8b10f08",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "8bc4cb65-c42b-4e15-a008-db6a6d6007d4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
              "NoteRead": true,
              "FkBinId": "d20650e7-00fc-45de-a2f4-5b8bf7d0b65e",
              "PkTransferItemId": "33edb5f8-5a7d-49bc-85bf-458ecc3e810a"
            },
            {
              "PkTransferItemNoteId": "8bc4cb65-c42b-4e15-a008-db6a6d6007d4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
              "NoteRead": true,
              "FkBinId": "d20650e7-00fc-45de-a2f4-5b8bf7d0b65e",
              "PkTransferItemId": "33edb5f8-5a7d-49bc-85bf-458ecc3e810a"
            }
          ]
        }
      ]
    },
    {
      "PkBinId": "a8a88cd1-6b69-4c43-952a-e064ed3da5cc",
      "BinName": "sample string 2",
      "BinReference": "sample string 3",
      "BinBarcode": "sample string 4",
      "BinNotes": [
        {
          "PkTransferBinNoteId": "788aa4f8-e91b-4f7f-8aaa-5bdb666dc64e",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
          "NoteRead": true,
          "PkBinId": "2ebdbdbf-a008-42a6-a1ce-05bc996bc57f"
        },
        {
          "PkTransferBinNoteId": "788aa4f8-e91b-4f7f-8aaa-5bdb666dc64e",
          "NoteUser": "sample string 2",
          "Note": "sample string 3",
          "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
          "NoteRead": true,
          "PkBinId": "2ebdbdbf-a008-42a6-a1ce-05bc996bc57f"
        }
      ],
      "BinItems": [
        {
          "PkTransferItemId": "c24c2853-b000-47af-adcc-a142a20cb296",
          "FkStockItemId": "5706754f-eb78-4e30-a3ef-b146abf34e38",
          "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": "23267c93-4854-439c-ba32-d195d8b10f08",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "8bc4cb65-c42b-4e15-a008-db6a6d6007d4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
              "NoteRead": true,
              "FkBinId": "d20650e7-00fc-45de-a2f4-5b8bf7d0b65e",
              "PkTransferItemId": "33edb5f8-5a7d-49bc-85bf-458ecc3e810a"
            },
            {
              "PkTransferItemNoteId": "8bc4cb65-c42b-4e15-a008-db6a6d6007d4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
              "NoteRead": true,
              "FkBinId": "d20650e7-00fc-45de-a2f4-5b8bf7d0b65e",
              "PkTransferItemId": "33edb5f8-5a7d-49bc-85bf-458ecc3e810a"
            }
          ]
        },
        {
          "PkTransferItemId": "c24c2853-b000-47af-adcc-a142a20cb296",
          "FkStockItemId": "5706754f-eb78-4e30-a3ef-b146abf34e38",
          "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": "23267c93-4854-439c-ba32-d195d8b10f08",
          "ItemNotes": [
            {
              "PkTransferItemNoteId": "8bc4cb65-c42b-4e15-a008-db6a6d6007d4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
              "NoteRead": true,
              "FkBinId": "d20650e7-00fc-45de-a2f4-5b8bf7d0b65e",
              "PkTransferItemId": "33edb5f8-5a7d-49bc-85bf-458ecc3e810a"
            },
            {
              "PkTransferItemNoteId": "8bc4cb65-c42b-4e15-a008-db6a6d6007d4",
              "NoteUser": "sample string 2",
              "Note": "sample string 3",
              "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
              "NoteRead": true,
              "FkBinId": "d20650e7-00fc-45de-a2f4-5b8bf7d0b65e",
              "PkTransferItemId": "33edb5f8-5a7d-49bc-85bf-458ecc3e810a"
            }
          ]
        }
      ]
    }
  ],
  "Notes": [
    {
      "PkTransferNoteId": "c394f208-842b-44a0-a652-82d3295e4c8a",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
      "NoteRead": true
    },
    {
      "PkTransferNoteId": "c394f208-842b-44a0-a652-82d3295e4c8a",
      "NoteUser": "sample string 2",
      "Note": "sample string 3",
      "NoteDateTime": "2019-08-21T13:34:04.5042154+01:00",
      "NoteRead": true
    }
  ],
  "AuditTrail": [
    {
      "PkTransferAuditId": "34de9d54-8f89-428f-aa8a-1b5d1c70da9f",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-08-21T13:34:04.5042154+01:00",
      "AuditNote": "sample string 4"
    },
    {
      "PkTransferAuditId": "34de9d54-8f89-428f-aa8a-1b5d1c70da9f",
      "AuditType": 2,
      "nAuditType": 2,
      "AuditDate": "2019-08-21T13:34:04.5042154+01:00",
      "AuditNote": "sample string 4"
    }
  ],
  "TransferProperties": [
    {
      "PkTransferPropertyId": "90bd1ea3-8b5b-4a63-892c-0f1cdbe7b01f",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    },
    {
      "PkTransferPropertyId": "90bd1ea3-8b5b-4a63-892c-0f1cdbe7b01f",
      "TransferPropertyName": "sample string 2",
      "TransferPropertyValue": "sample string 3"
    }
  ],
  "UpdateStatus": {
    "Notes": true,
    "Items": true,
    "Properties": true,
    "Information": true,
    "Status": true
  }
}