POST /shipping-rates.json
Body Required
-
This rate will be shown in the allow list or rates that can be selected by vendors in the dropship portal.
Default value is
false
. -
Cache internal rates
Default value is
false
. -
Code
-
customCarriers string | null
Custom carriers
Values are
all
,selected
, ornone
. -
days integer(int32) | null
Days
-
Default weight
Default value is
0
. -
Dhl express service levels
Default value is
[]
(empty). -
Distance unit
Values are
in
orcm
. Default value isin
. -
Domestic band type
Values are
weight
orprice
. Default value isprice
. -
Enable discounted dhl express rates
Default value is
true
. -
Enable discounted parcelforce rates
Default value is
true
. -
Enable discounted usps rates
Default value is
true
. -
freeShippingOverride boolean | null
Free shipping override
-
Free shipping override scope
Values are
value
ortags
. Default value isvalue
. -
freeShippingThreshold number | null
Free shipping threshold
-
handlingFee number | null
Handling fee
-
integrationFilteringEndpoint string | null
Integration filtering endpoint
-
label string | null
Label
-
maxPrice integer(int32) | null
Max price
-
Max price unit
Values are
fixed
orpercentage
. Default value isfixed
. -
maximumOrderValue number | null
Maximum order value
-
Name
-
Parcel depth
Default value is
0
. -
Parcel height
Default value is
0
. -
Parcel width
Default value is
0
. -
Parcelforce service levels
Default value is
[]
(empty). -
Price
Default value is
0
. -
Price increase
Default value is
0
. -
Price type
Values are
carrier
,fixed
,fixed_per_item
,weight
,banded
,banded_price
,product_type
, orzones
. Default value isfixed
. -
provider string | null
Provider
-
providerCode string | null
Provider code
-
providerId string | null
Provider
-
Push fallback rate
Values are
always
,noRates
, ornever
. Default value isnever
. -
Rate preference
Values are
cheapest
,best_value
, orfastest
. Default value ischeapest
. -
Rest of world band type
Values are
weight
orprice
. Default value isprice
. -
serviceFilteringEndpoint string | null
Service filtering endpoint
-
serviceLevel string | null
Service level
-
serviceLevelTerms string | null
Service level terms
-
serviceLevelToken string | null
Service level token
-
signatureRequired boolean | null
Signature required
-
Source
Default value is
Jetti
. -
Status
Values are
active
orarchived
. Default value isactive
. -
Use fallback rate
Values are
always
ornever
. Default value isalways
. -
useIntegrationFilteringEndpoint boolean | null
Use integration filtering endpoint
-
useServiceFilteringEndpoint boolean | null
Use service filtering endpoint
-
Usps service levels
Default value is
[]
(empty). -
Weight multiplication
Values are
per_shipment
orper_item
. Default value isper_item
.
curl \
-X POST http://api.example.com/v1/shipping-rates.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"allowList":false,"cacheInternalRates":false,"code":"string","customCarriers":"all","days":42,"defaultWeight":0,"dhlExpressServiceLevels":[],"distanceUnit":"in","domesticBandType":"price","enableDiscountedDhlExpressRates":true,"enableDiscountedParcelforceRates":true,"enableDiscountedUspsRates":true,"freeShippingOverride":true,"freeShippingOverrideScope":"value","freeShippingTags":[],"freeShippingThreshold":42.0,"handlingFee":42.0,"integrationFilteringEndpoint":"string","label":"string","maxPrice":42,"maxPriceUnit":"fixed","maximumOrderValue":42.0,"name":"string","parcelDepth":0,"parcelHeight":0,"parcelWidth":0,"parcelforceServiceLevels":[],"price":0,"priceIncrease":0,"priceType":"fixed","provider":"string","providerCode":"string","providerId":"string","pushFallbackRate":"never","ratePreference":"cheapest","restOfWorldBandType":"price","serviceFilteringEndpoint":"string","serviceLevel":"string","serviceLevelTerms":"string","serviceLevelToken":"string","signatureRequired":true,"source":"Jetti","status":"active","useFallbackRate":"always","useIntegrationFilteringEndpoint":true,"useServiceFilteringEndpoint":true,"uspsServiceLevels":[],"weightMultiplication":"per_item"}'
{
"allowList": false,
"cacheInternalRates": false,
"code": "string",
"customCarriers": "all",
"days": 42,
"defaultWeight": 0,
"dhlExpressServiceLevels": [],
"distanceUnit": "in",
"domesticBandType": "price",
"enableDiscountedDhlExpressRates": true,
"enableDiscountedParcelforceRates": true,
"enableDiscountedUspsRates": true,
"freeShippingOverride": true,
"freeShippingOverrideScope": "value",
"freeShippingTags": [],
"freeShippingThreshold": 42.0,
"handlingFee": 42.0,
"integrationFilteringEndpoint": "string",
"label": "string",
"maxPrice": 42,
"maxPriceUnit": "fixed",
"maximumOrderValue": 42.0,
"name": "string",
"parcelDepth": 0,
"parcelHeight": 0,
"parcelWidth": 0,
"parcelforceServiceLevels": [],
"price": 0,
"priceIncrease": 0,
"priceType": "fixed",
"provider": "string",
"providerCode": "string",
"providerId": "string",
"pushFallbackRate": "never",
"ratePreference": "cheapest",
"restOfWorldBandType": "price",
"serviceFilteringEndpoint": "string",
"serviceLevel": "string",
"serviceLevelTerms": "string",
"serviceLevelToken": "string",
"signatureRequired": true,
"source": "Jetti",
"status": "active",
"useFallbackRate": "always",
"useIntegrationFilteringEndpoint": true,
"useServiceFilteringEndpoint": true,
"uspsServiceLevels": [],
"weightMultiplication": "per_item"
}
{
"allowList": false,
"cacheInternalRates": false,
"code": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"customCarriers": "all",
"days": 42,
"defaultWeight": 0,
"dhlExpressServiceLevels": [],
"distanceUnit": "in",
"domesticBandType": "price",
"enableDiscountedDhlExpressRates": true,
"enableDiscountedParcelforceRates": true,
"enableDiscountedUspsRates": true,
"freeShippingOverride": true,
"freeShippingOverrideScope": "value",
"freeShippingTags": [],
"freeShippingThreshold": 42.0,
"handlingFee": 42.0,
"id": 42,
"integrationFilteringEndpoint": "string",
"label": "string",
"maxPrice": 42,
"maxPriceUnit": "fixed",
"maximumOrderValue": 42.0,
"name": "string",
"parcelDepth": 0,
"parcelHeight": 0,
"parcelWidth": 0,
"parcelforceServiceLevels": [],
"price": 0,
"priceIncrease": 0,
"priceType": "fixed",
"provider": "string",
"providerCode": "string",
"providerId": "string",
"pushFallbackRate": "never",
"ratePreference": "cheapest",
"restOfWorldBandType": "price",
"serviceFilteringEndpoint": "string",
"serviceLevel": "string",
"serviceLevelTerms": "string",
"serviceLevelToken": "string",
"signatureRequired": true,
"source": "Jetti",
"status": "active",
"updatedAt": "2024-05-04T09:42:00+00:00",
"useFallbackRate": "always",
"useIntegrationFilteringEndpoint": true,
"useServiceFilteringEndpoint": true,
"uspsServiceLevels": [],
"weightMultiplication": "per_item"
}