Create a shipping rate
shipping
Create a shipping rate
Create a shipping rate for a store. The new rate is matched against
incoming checkout sessions on country, cart subtotal, and total weight,
and surfaced via GET /checkout-sessions/:id/shipping-rates.
Conditions interact additively — a customer must satisfy all set
thresholds. Leave a field undefined to skip the corresponding check
(e.g. omit countryCodes to allow any country).
Requires the org:admin role (granted automatically to UUID-format API
keys).
POST
Create a shipping rate
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Minimum string length:
1Required range:
x > 0Response
Successful response
