Skip to main content
PUT
Update Shipping Rates
V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.

Overview

Set or update the vendor’s shipping rate configuration. Choose a calculation method and provide the relevant details. Vendor scope required.

Request Body

string
required
One of order, lineItem, orderRange, orderWeight, realtime.
number
Fixed amount — required when method is order or lineItem.
array
Array of { from, to, rate } — required when method is orderRange or orderWeight (grams for weight).
integer
Warehouse index to ship from — used when method is realtime.
string
fastest or cheapest — used when method is realtime.

Response

200

Examples

Fixed per order
Weight ranges (grams)
Realtime carrier rates

More Examples

Flat rate per order
Weight-based ranges
Real-time rates from warehouse