Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How can we assign Shipping rate from an external shipping API to tea commerce shipping method? With or without using customShippingCalculator?
You'd want to use a custom ShippingRateCalculator for this. You can find some info on the docs site here https://docs.teacommerce.net/3.3.0/api/extending-tea-commerce/#shipping-calculator
Ultimately, you'd setup a shipping method, but probably set it's value to 0, then using a custom shipping rate calculator, when the order total is calculated, check to see if they are using your shipping method and if they are, request an actual value from your API and return that from the CalculatePrice method.
Hope this helps
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted