> ## 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 guarantees

> Update the list of guarantees associated with a transit declaration.

Update the declaration guarantees for a transit declaration.

### Path Parameters

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

### Request Body

An array of guarantee objects.

<ParamField body="guaranteeType" type="string" required>
  The type code of the guarantee.
</ParamField>

<ParamField body="guaranteeReferenceNumber" type="string" required>
  The reference number of the guarantee.
</ParamField>

<ParamField body="guaranteeAmount" type="number" required>
  The amount of the guarantee.
</ParamField>

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

<ParamField body="accessCode" type="string">
  The access code associated with the guarantee.
</ParamField>

### Examples

```json Request Payload theme={null}
[
  {
    "guaranteeType": "0",
    "guaranteeReferenceNumber": "25NL000000000000001",
    "guaranteeAmount": 55000,
    "currencyCode": "EUR",
    "accessCode": "1234"
  }
]
```

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "declarationId": 104,
    "status": "processing"
  }
  ```
</ResponseExample>
