# Duplicate Shipment

## /shipments/duplicate

<mark style="color:green;">`POST`</mark> `https://api.terminal.africa/v1/shipments/duplicate`

This endpoint allows you to duplicate an existing shipment.

#### Path Parameters

| Name                                           | Type   | Description                    |
| ---------------------------------------------- | ------ | ------------------------------ |
| shipment\_id<mark style="color:red;">\*</mark> | String | Unique reference for shipment. |

#### Headers

| Name                                            | Type   | Description                      |
| ----------------------------------------------- | ------ | -------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Set value to `Bearer SECRET_KEY` |

{% tabs %}
{% tab title="200 Shipment duplicated successfully." %}

```
{
    "status": true,
    "message": "Shipment duplicated successfully",
    "data": {
        "address_to": "AD-88232816946",
        "address_from": "AD-70326465853",
        "address_return": "AD-70326465853",
        "parcel": "PC-38266434741",
        "parcels": [],
        "pickup_date": null,
        "cancellation_request": false,
        "cancellation_reason": "",
        "shipment_cost_currency": "NGN",
        "shipment_purpose": "personal",
        "status": "draft",
        "user": "USER-1000000000",
        "_id": "642ea258271e1bf1925168be",
        "events": [],
        "shipment_id": "SH-07967749502",
        "created_at": "2023-04-06T10:43:36.079Z",
        "updated_at": "2023-04-06T10:43:36.079Z",
        "id": "642ea258271e1bf1925168be"
    }
}
```

{% endtab %}
{% endtabs %}
