Is there a possibility that we could add a custom shipping price at checkout through an API call or script?
I want to modify the price based on some rules and I can’t figure out how to do it in Shopify. Any help will be highly appreciated.
2
You can do this by implementing your own CarrierService:
https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/carrierservice
You can use an app like this: https://apps.shopify.com/discount-on-cart-pro to display the shipping fee or shipping fee estimate in your cart summary. It’s also free shipping tier compatible, so you can promote that using the app as well.
Click here to cancel reply.
2
Answers
You can do this by implementing your own CarrierService:
https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/carrierservice
You can use an app like this: https://apps.shopify.com/discount-on-cart-pro to display the shipping fee or shipping fee estimate in your cart summary. It’s also free shipping tier compatible, so you can promote that using the app as well.