# Parcel changes for new ongoing design ## API endpoint update ## create parcel > POST /v1/me/ondemand/parcels ### Response ```json= { "parcel": { "id": 14633, "hashed_id": "z1ci99jj3nzv", "order_id": "4LHUP16", "parcel_timeout": 120, "charge": 119, "payable_charge": 95.2, "distance": 6538, "will_pay": "sender", "item_price": 2000, "item_name": "", "is_review_requested": false, "created_at": 1657697489, "category_v2": { "id": 2, "name": "প্যাকেজ", "description": "অপচনশীল পণ্য, খাবারের জিনিস পাঠানো যাবেনা", "icon": "/parcels/ic_package.png" }, "senders_detail": { "name": "Rafsan", "pickup_address_text": "Queen's, H 19, Rd 6, Banashree, Rampura" }, "receivers_detail": { "name": "Random", "receiver_address_text": "Road 3, Sector 1, Block F, Aftabnagor", "number": "01670892213" } } } ``` ## active parcel > POST /v3/me/ondemand/active ### Response ```json= { "parcel": { "id": 14633, "hashed_id": "z1ci99jj3nzv", "order_id": "4LHUP16", "pickup_address_text": "Queen's, H 19, Rd 6, Banashree, Rampura", "estimated_pickup_address_latitude": "23.7597026", "estimated_pickup_address_longitude": "90.4392195", "pickup_address_latitude": null, "pickup_address_longitude": null, "receiver_name": "Rafsan", "receiver_phone_number": "01521515657", "detailed_address": "this is a detailed address", "receiver_address_text": "Road 3, Sector 1, Block F, Aftabnagor", "estimated_receiver_address_latitude": "23.7641669", "estimated_receiver_address_longitude": "90.4404781", "receiver_address_latitude": null, "receiver_address_longitude": null, "rider_latitude": null, "rider_longitude": null, "parcel_status": "ACCEPTED", "currency_symbol": "৳", "charge": 119, "due": 23.8, "driver_cut": 95.2, "is_review_requested": false, "is_review_requested_driver": false, "is_promo_applied": 0, "parcel_type": 2, "parcel_comment": null, "created_at": 1657697489, "server_time": 1657697618, "parcel_timeout": 120, "waiting_time": 30, "rating_to_user": 0, "rating_to_rider": 0, "distance": 6538, "duration": 1620, "will_pay": "sender", "assigned_at_str": "2022-07-13 13:32:23", "accepted_at": "2022-07-13 13:32:33", "picked_at": null, "started_at": null, "completed_at": null, "item_name": "", "item_price": "2000.00", "is_paid": 0, "payment_type": 4, "payment_name": "Pay Later", "payment_processing": 0, "retry_count": 0, "ownership_type": "sender", "breakdown": { "duration": 1620, "distance": 6538, "charge": 119, "discount": 23.799999999999997, "charge_after_discount": 95.2, "user_to_charge": 95.2, "payable_charge": 95.2, "base_fare": 50, "distance_fare": 69 }, "sender": { "id": 8446, "name": "Rafsan", "number": "01670892213", "rating": "5.00", "profile_picture": null }, "rider": { "id": 8441, "name": "Biker Test From App", "number": "01670892213", "rating": "4.78", "average_rating": "4.78", "profile_picture": "/uploads/img/profile/driver-01670892213-2020-05-14T23:10:32Z", "type": "bike", "registration_number": "KHL METRO HA 96-6333", "vehicle_company": "CF Moto", "vehicle_model": "CF150 NK", "lifetime_trip_count": 137, "city": { "id": 1, "name": "Dhaka" } }, "category_v2": { "id": 2, "name": "Package", "description": "Non-perishable goods, no food items", "icon": "/parcels/ic_package.png" }, "category": { "id": 2, "name": "Package", "description": "Non-perishable goods, no food items", "icon": "/parcels/ic_package.png" }, "current_location": { "lat": 23.7598317, "lon": 90.4391596 }, "is_show_estimated_charge": false, "is_show_request_destination": true, "disclaimer": { "text": "Pathao under no circumstances will be liable for any loss, missing, defect or damage without proper packaging (No fragile product allowed).\n\nAfter proper investigation of the claim, Pathao will bear limited liability (Max 2000 BDT) if the parcel is lost/damaged/defected during delivery time. Any parcel exceeding the above value, Pathao will not bear any liability for it.\n\nPathao parcel only delivers product. Pathao will not be liable to any extent for any cash transaction/collection through the rider.\n\nIf the receiver denies to pay delivery charge then the sender would be fully liable for the delivery fee.\nTo ensure the security of your parcel and money, You should not hand over the parcel unless the rider start his ride. First, confirm on your apps that the ride is starting the rides, then hand over the parcel to the rider to reach the specified destination." }, "support_number": "09678100800" } } ```