> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateInboundShipmentItemsInput

> The units of a purchase order that an inbound shipment should carry.

<ResponseField name="inboundShipmentId" type="ID!" required>
  The inbound shipment whose items to set.
</ResponseField>

<ResponseField name="items" type={<a href="/docs/api-reference/v3/reference/procurement/inbound-shipment-item-input">[InboundShipmentItemInput!]!</a>} required>
  Replaces the order's current allocations on this shipment. A product left out, or given a quantity of 0, is returned to the order as unallocated. Send an empty list to return all of them.

  <Expandable title="fields" lazyRender>
    <ResponseField name="productId" type="ID!" required>
      The product being allocated.
    </ResponseField>

    <ResponseField name="quantity" type="Int!" required>
      How many units this shipment carries. 0 returns the product to the order.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="purchaseOrderId" type="ID!" required>
  The purchase order those items are allocated from. A shipment can carry units for more than one order, and only this order's allocations are changed.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.