---
title: "ProcessOrder_RequiredBatchScans"
method: POST
path: "/api/Orders/ProcessOrder_RequiredBatchScans"
tags: ["Orders"]
---

# ProcessOrder_RequiredBatchScans

`POST /api/Orders/ProcessOrder_RequiredBatchScans`

Update the order with the batch numbers scanned during process order (i.e. those items with dbo.StockItem.BatchNumberScanRequired set)
batches must be provided for all items in the order which require batch number scanning (including composite children)
Overwrites any existing batch assignment for the required items
<b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute

## Request body

- OrdersProcessOrderRequiredBatchScansRequest
  - `BatchAssignment` BatchAssignmentForOrderItems
    - `orderId` string, uuid — Identifies the order to be updated
    - `batchToItemMapping` BatchAssignment[] — Maps order items to batches
      - `orderItemRowId` string, uuid — Identifies the order item row to assign to the batch
      - `batchInventoryId` integer — Identifies the batch for the order
      - `quantity` integer — The number of items to be assigned to the selected batch

## Response `204`

No Content

---

[API](https://skmtc.net/linnworks/apis/authenticate-api.md) · [All operations](https://skmtc.net/linnworks/apis/authenticate-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linnworks/authenticate-api/versions/0123569a22fb/schema)
