Introduction
The Shipping Rates SPI provides functionality for connecting your site to shipping rates providers not currently supported by Wix. You can also implement custom or external shipping rate options that don't come natively with Wix in your eCommerce purchase flows. These rates are displayed on your store's cart and checkout pages. For example, you're not limited to how Wix apps, such as Wix Stores and Wix Bookings, define the number of shipping providers to choose from.
Wix eCommerce calls the SPI endpoint getShippingRates()
to retrieve the relevant shipping rates.
Learn more:
To add a custom extension
- Add the extension to your site.
- Update the
getConfig()
function in the -config.js file that is added to your site during step 1. - Update the
getShippingRates()
function in the .js file that is added to your site during step 1.
Was this helpful?