How to get shipping rate value before handling charges

New Member
1 0 0

I need to know how to get original cost of shipping, before any handling charges:
Here's the scenario:

I have custom carrier service which returns shipping rates to shopify store:

Now, example for a product carrier service returned shipping charges of $15, and there is handling charges (markup) added by Store owner of $5
So, in checkout page total Shipping Cost will be displayed as $20

Once the order is placed, I received order via webhook and in that shipping value of also $20.

Can you please tell me how to get the original price which was sent to the shopify i.e. $15 in this case.

Also is there any way to get carrier service information using carrier_identifier, I don't know how to use this to get information.