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

# Enable a service

> Enable Clearance or RTO on an existing shipment instead of creating a second one.

Enable Clearance or RTO on an existing shipment. If the service is already enabled, the shipment is returned unchanged.

### Path Parameters

<ParamField path="id" type="string" required>
  Shipment Public ID (`shp_…`).
</ParamField>

### Headers

<ParamField header="Idempotency-Key" type="string" required>
  Unique key that makes retrying this request safe for 24 hours. A UUID is recommended.
</ParamField>

### Body

<ParamField body="service" type="string" required>
  Service to enable. Allowed values: `CLEARANCE`, `RTO`.
</ParamField>

<ParamField body="rtoProcessType" type="string">
  RTO process type when enabling RTO. Allowed values: `IMPORT_HANDLING`, `EXPORT_HANDLING`, `DIRECT_PICKUP`, `DIRECT_DELIVERY`, `FORWARDER_TRANSFER`.
</ParamField>

```json JSON Payload theme={null}
{
  "service": "RTO",
  "rtoProcessType": "IMPORT_HANDLING"
}
```

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "shipmentId": "shp_3f9a1c0e5b7d4e2f8a6c1b9d0e3f7a25",
    "referenceNumber": "180-43189021",
    "clientReference": "PO-2026-001",
    "status": "new",
    "message": "Service enabled"
  }
  ```
</ResponseExample>
