Create shipping method
Add a shipping method to a checkout experience.
- A
fixedmethod is a price you set, served by Redo with no carrier involved. It needsrates. - A
dynamicmethod quotes live carrier rates through Redo. It needscarrierServicesor aserviceLevel, and every carrier must be one the store has an account or setting for.
Script-priced (custom) methods cannot be created through the API.
Shipping discount rules are configured by Redo and cannot be set here.
Requires the checkout_write scope.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Store ID
"64e5a8a1af49a89df37e4ee7"
Checkout experience ID.
"66b2f1c9e4b0a1d2c3f4a5b6"
Body
How the price is produced. 'fixed' is a merchant-set price served by Redo with no carrier involved and requires rates. 'dynamic' quotes live carrier rates through Redo and requires either carrierServices or serviceLevel. Custom (script-priced) methods cannot be created or edited here.
fixed, dynamic Shopper-facing name of the shipping method as it appears at checkout, e.g. 'Standard'. May contain customer-name template variables — '{customer_name}', '{customer_name:first}', '{customer_name:last}' — which are substituted per shopper. Send them back verbatim when you are not deliberately changing them, or you will silently strip the merchant's personalization.
"Standard"
Shopper-facing description shown next to the method at checkout. Like name, it may contain customer-name template variables.
"5-8 business days"
Shopper-facing name used in place of name when name contains customer-name template variables and the shopper's name is not available at quote time. Ignored when name has no variables.
Shopper-facing description used in place of description under the same condition as fallbackName.
Identifier the storefront platform uses for this shipping option at checkout.
Redo coverage bundled into this shipping method.
Tags applied to the order when this method is bought.
Add landed costs (duties and import fees) to this method's price, overriding the experience-level setting.
Fixed methods only, and required for them. One entry per price. A single entry with no conditions is a flat price; multiple entries express weight or cart-value ranges and free-shipping thresholds.
Dynamic methods only. The carrier services to quote live rates from. Required unless serviceLevel is set.
Dynamic methods only. Which of the eligible live rates to show the shopper. Values are lowercase: 'cheapest', 'fastest'.
cheapest, fastest, custom Dynamic methods only. Quote the cheapest carrier service delivering within this service level's window instead of pinning carrier services.
Standard, Plus, Express Dynamic methods only. Carriers excluded from this method's candidate set.
FedEx, UPS, UPSSurePost, USPS, USPSReturns, UspsShip, FedExSmartPost, AmazonShipping, DHLExpress, DhlEcs, Veho, APC, FirstMile, AustraliaPost, CanadaPost, GSO, AsendiaUsa, RoyalMailV3, SpeeDee, PassportGlobal, ePostGlobal, LandmarkGlobal, ETA Express, OnTracV3, GlobalE, UPSMailInnovations, Purolator, UniUni, StallionExpress, EcomExpress, ChitChats, PostNL, Intelcom, FleetOptics, ICS, WhizDelivery, Tik Tok, CanparExpress, GOFO, P2P Dynamic methods only. Markup applied to every live carrier rate on this method.
Dynamic methods only. How to round the marked-up price before showing it.
NEAREST_WHOLE, NEAREST_WHOLE_MINUS_ONE, NEAREST_WHOLE_MINUS_FIVE, NEAREST_HALF, NEAREST_QUARTER, NEAREST_TENTH, NEAREST_TWENTIETH Dynamic methods only. Hard clamp applied after markup and rounding.
Dynamic methods only. Days Redo assumes an order takes to ship when it estimates delivery dates for this method, overriding the experience's fulfillmentDelayDaysOverride. Omit it to use the experience's value. A whole number of days, zero or more.
x >= 03
Bounds the final price this method may be sold at, after every other pricing rule has run. Omit to leave the method's existing constraint untouched; send one to replace it outright. There is no way to clear a constraint through this API.
Response
Created
The checkout experience the method belongs to.
"66b2f1c9e4b0a1d2c3f4a5b6"
The shipping method that was written. Read it back with GET /stores/{storeId}/checkout-experiences/{checkoutExperienceId}.
"66b2f1c9e4b0a1d2c3f4a5c7"