# Can we used \`sAdmin::sGetPremiumShippingcosts\` function in Backend

**URL:** https://forum.shopware.com/t/can-we-used-sadmin-sgetpremiumshippingcosts-function-in-backend/92042
**Category:** Shopware 5
**Created:** [21. Dezember 2021 um 05:45 UTC](https://forum.shopware.com/t/can-we-used-sadmin-sgetpremiumshippingcosts-function-in-backend/92042 "2021-12-21T05:45:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![payal.k](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@payal.k](https://forum.shopware.com/u/payal.k)
#### Post date: [21. Dezember 2021 um 05:45 UTC](https://forum.shopware.com/t/can-we-used-sadmin-sgetpremiumshippingcosts-function-in-backend/92042/1 "2021-12-21T05:45:17Z")

</div>

Hallo Community,

I need to re-calculated shipping cost base on dispatchID.

When I used sAdmin::sGetPremiumShippingcosts in backend hook then give error shop service not called in backend.

How did I re-calculated shipping cost?

Greetings  
[payal.k]
