Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Getting Shipping rates through GraphQL/REST API for Carrier Services

Getting Shipping rates through GraphQL/REST API for Carrier Services

travis-ENL
Tourist
4 0 1

Hello,

 

I'm implementing an off-Shopify sales channel, and want to get a list of Shipping Rates for a shopping cart. It's possible to do this for stores that have ShippingZones configured, but I'm a little stumped at how I would do this for a store that has Carrier Services enabled, either through GraphQL or the REST API. 

 

The `carrier_services` endpoint only seems to return Carrier Services your app has created. If the store has connected their FedEx account - how can I get rates from this service?

 

Any suggestions? 

 

Thank you.

Replies 2 (2)

heisenbaby
Tourist
7 0 2

I also would like to get the shipping prices from the carrier but haven't found anything to could do this, were you ever able to resolve this?

vadimpk
Shopify Partner
8 1 3

If you're using CartAPI, you can use this: https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/defer#fetching-carrie.... This option was added to CartAPI in 2024-07 version.