Live Shipping Rate Lookup¶
Rate lookup lets Odoo display the exact ShipStation-billed shipping cost the moment a customer or salesperson selects a delivery method.
When Rates Are Fetched¶
The connector implements ShipStation as a standard Odoo delivery provider. Rates are fetched at the standard Odoo entry points:
On a sales order at , click Add a shipping method (or open the existing delivery line and click Update Shipping Cost / Get Rate). Pick a delivery method whose Provider is ShipStation.
At eCommerce checkout, when the customer reaches the Delivery Method step.
In both cases the connector calls ShipStation in real time and returns the live carrier price.
Required Inputs¶
The request is built from the active sales order. Before sending, the connector validates:
The order has at least one line.
Every line product has a Weight greater than zero.
The Warehouse address (street, city, state, country, ZIP) is complete.
The Shipping Partner address is complete.
The delivery method has a ShipStation Store configured.
If any check fails, the user receives an inline warning explaining exactly which field is missing — no request is sent so the user never sees a generic carrier error.
Returned Price¶
The connector returns the total shipping price (shipment cost + any other carrier-side cost). ShipStation may return multiple rate options when more than one service matches the carrier and package combination — in that case the first matching service in the response is used.
The returned value is stored on the sales-order delivery line so the customer or salesperson sees the live carrier price before confirming the order.
Error Messages¶
Common errors raised by the validation helper:
“Please define ShipStation Store in delivery method” — pick a store on the delivery method form.
“Please define Weight in products” (with the SKU list) — set a weight on every order-line product.
“Please define following details in (warehouse / customer) address: City / State / Zip / Country” — complete the address.
“Order has no items, can’t get rates” — the order has no eligible product lines.