curl --location --request POST 'https://app.gotreek.com/api/shipments/reverse-Shipment' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_id": 0,
"courier": "string",
"shipment_packages": [
{
"length": 1,
"width": 1,
"height": 1,
"weight": 1
},
{
"length": 1,
"width": 1,
"height": 1,
"weight": 1
}
],
"use_global_config": true
}'{
"success": true,
"message": "Reverse shipment created successfully.",
"data": {
"shipment_id": 23167,
"tracking_link": "https://www.aramex.com/sa/ar/track/results?ShipmentNumber=50597390686",
"shipment_label_url": null,
"shipment_cost": 1900,
"shipment_cost_without_cod": 1900,
"order_status": "returned",
"courier": "aramex",
"external_id": "50597390686"
}
}