curl --location 'https://apisv5.logestechs.com/api/secure/integration/packages/cost' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"originRegionId": 0,
"destinationRegionId": 0,
"destinationVillageId": 0,
"parcelTypeId": 0,
"isDeliverToReceivingPoint": true,
"customerId": 0,
"serviceTypeId": 0,
"vehicleTypeId": 0,
"packageId": 0,
"weight": 0,
"totalDistance": 0,
"shipmentType": "REGULAR",
"length": 0,
"depth": 0,
"width": 0,
"cod": 0,
"isInsured": true,
"paymentType": "CASH",
"paymentTypeId": 0,
"promoId": 0,
"quantity": 0,
"subPackages": [
{
"createdDate": "2019-08-24T14:15:22.123Z",
"id": 0,
"companyId": 0,
"weight": 0,
"width": 0,
"length": 0,
"height": 0,
"invoiceNumber": "string",
"invoiceNumberBarcodeImage": "string",
"barcode": "string",
"barcodeImage": "string",
"packageId": 0,
"cost": 0
}
],
"deliverToReceivingPoint": true
}'