This article presents a sample flow you can support. You aren't limited to this exact flow, but it can be a helpful jumping off point as you plan your Shipping Rates integration.
A customer logs on to the merchant’s Wix site and starts adds a product to the cart or checkout.
Wix sends a Get Shipping Rates service plugin request to your app. The payload will include some or all of the fields described in the Body Params and example sections of the Get Shipping Rates reference.
Your Shipping Rates integration triggers the required flow on its platform and processes the request.
Wix expects an object containing the shipping rates, and either a 4xx HTTP status code (and some errors) or a 200 HTTP status code.
Example of a successful response from your app:
Example of an error:
The Wix site displays the shipping rate/s on the cart or checkout page (depending on where the customer is selecting the shipping option). The customer can confirm the shipping rate before proceeding to payment.