getShippingRates( )
This method retrieves applicable shipping rates for a delivery from your app.
Wix calls this method when certain actions are performed on the cart and/or checkout. For example, when an item is added to the cart, or the shipping destination is changed.
Method Declaration
Copy
Method Parameters
payloadGetShippingRatesEnvelope
Returns
Return Type:GetShippingRatesResponse | Promise<GetShippingRatesResponse>
Errors
GenericShippingRatesWixErrorclass
InvalidAddressWixErrorclass
InvalidPostalCodeWixErrorclass
MissingPostalCodeWixErrorclass
Was this helpful?
Yes
No