Shopify Checkout - Update total price based on landing cost fetched from DHL when passed cart items

Hey, I’m developing a custom app where i want to fetch the landing cost when the customer is on checkout stage and adds the delivery address.

This landing cost is calculated by DHL Api which provides international shipping and courier services.

Based on the cart line items and their dimensions - like height, weight, size etc - their api expects this sort of input,
then they send landing cost.

Once we receive the landing cost we want to add up this to the total price of the cart, and this will be also visible at checkout page.

Okay I wanted to know if this is possible using the checkout UI extension.

Thanks

Yes it is possible.

Our scenario was, when customer enters shipping address, we calculate tax based on line items and additional line item of tax was added. This cane be done with Shopify checkout extension.