Duplicate Shipment

Duplicate an existing shipment to create a new draft shipment.

/shipments/duplicate

POST https://api.terminal.africa/v1/shipments/duplicate

This endpoint allows you to duplicate an existing shipment.

Path Parameters

NameTypeDescription

shipment_id*

String

Unique reference for shipment.

Headers

NameTypeDescription

Authorization*

String

Set value to Bearer SECRET_KEY

{
    "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"
    }
}

Last updated