Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /AssignOrderItemBatches

Allows 150 calls per minute

Response: Void


Parameters

NameTypeDescription
requestAssignOrderItemBatches

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Orders/AssignOrderItemBatches

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "Batches": [
    {
      "OrderItemBatchId": 1,
      "OrderItemRowId": "f9b2901c-5fd2-4358-a5c7-8ca135439298",
      "BatchInventoryId": 3,
      "Quantity": 4,
      "Batch": {
        "BatchId": 1,
        "SKU": "sample string 2",
        "InventoryTrackingType": 3,
        "StockItemId": "7f04393d-df5e-4529-9646-ed9e1cc3eb3f",
        "BatchNumber": "sample string 5",
        "ExpiresOn": "2022-09-05T15:10:01.7467942+03:00",
        "SellBy": "2022-09-05T15:10:01.7467942+03:00",
        "Inventory": [
          {
            "BatchInventoryId": 1,
            "BatchId": 2,
            "StockLocationId": "ec119c66-a2e7-4f01-868e-4eeb318d93ba",
            "BinRack": "sample string 4",
            "PrioritySequence": 5,
            "Quantity": 6,
            "StockValue": 7.0,
            "StartQuantity": 8,
            "PickedQuantity": 9,
            "BatchStatus": "Available",
            "IsDeleted": true,
            "WarehouseBinrackStandardType": 1,
            "WarehouseBinrackTypeName": "sample string 12",
            "InTransfer": 1,
            "BinRackId": 1,
            "WarehouseBinrackTypeId": 1
          }
        ],
        "IsDeleted": true
      },
      "DespatchUnitValue": 0.0,
      "AssignmentType": 0
    }
  ],
  "OrderId": "3132d839-5388-4a54-af8a-f134e1ef48ab"
}

Response

This is an example of the response JSON. Results will vary depending on your data.