Zend certified PHP/Magento developer

Dimensional shipping UPS Magento 2

I’m using UPS shipping in our Magento website. Currently, I’m able to retrieve shipping charges and no:of boxes required to ship the product using the weight of the products in the order.
However, I would like to introduce the concept of dimensional weight shipping by passing the product dimensions (length,width,height) to arrive shipping charges and no: boxes required to ship the product in the order.