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

# Update declaration item

> Partial update with the same propagation options as PUT.

Perform a partial update on a declaration item, targeting specific values or linked customs documents.

### Path Parameters

<ParamField path="id" type="number" required>
  The unique declaration item ID.
</ParamField>

### Query Parameters

<ParamField query="updateAllDeliveryItems" type="string" required>
  Whether to update all linked delivery items.

  * Options: `true`, `false`
</ParamField>

<ParamField query="distributeAggregatedValues" type="string" required>
  Whether to distribute aggregated values across delivery items.

  * Options: `true`, `false`
</ParamField>

<ParamField query="allowMergeWithExistingItem" type="string" required>
  Whether to allow merging with another existing declaration item if the codes match.

  * Options: `true`, `false`
</ParamField>

### Body

<ParamField body="description" type="string">
  Detailed description of the goods.
</ParamField>

<ParamField body="commodityCode" type="string">
  The Harmonized System HS code for the goods.
</ParamField>

<ParamField body="quantity" type="number">
  The number of units.
</ParamField>

<ParamField body="netWeight" type="number">
  Net mass of the item in kilograms.
</ParamField>

<ParamField body="netPrice" type="number">
  The value or net price of the items.
</ParamField>

<ParamField body="currency" type="string">
  The currency code (e.g., `EUR`, `USD`).
</ParamField>

<ParamField body="originCountry" type="string">
  The two-letter ISO country code of origin (e.g., `CN`, `US`).
</ParamField>

<ParamField body="additionalProcedureCodes" type="string[]">
  Additional customs procedure codes.
</ParamField>

<ParamField body="SupportingDocuments" type="object[]">
  Supporting documentation details.
</ParamField>

<ParamField body="AdditionalReferences" type="object[]">
  Additional references for the item.
</ParamField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "id": 7,
    "declarationId": 42,
    "description": "Men's cotton trousers",
    "commodityCode": "6203429000",
    "quantity": 510,
    "grossMass": 250,
    "netWeight": 220,
    "netPrice": 1901.2,
    "currency": "EUR",
    "originCountry": "CN"
  }
  ```
</ResponseExample>
