List Fallback Shipping Methods
Lists the merchant's fallback shipping methods. Methods missing a handle are assigned one (derived from the label) on read.
Lists the merchant's fallback shipping methods. Methods missing a handle are assigned one (derived from the label) on read.
Path parameters
merchant_idinteger · int32Required
Header parameters
X-Violet-TokenstringRequired
X-Violet-App-SecretstringRequired
X-Violet-App-Idinteger · int32Required
Responses
200
The merchant's fallback shipping methods.
application/json
labelstringOptional
The name of the shipping method.
descriptionstringOptional
Description of the shipping method.
priceinteger · int32Optional
The price of the shipping method in cents.
currencystring · enumOptionalPossible values:
The currency of the shipping method.
handlestringOptional
The handle or external ID to use when utilizing this method.
calculation_typestring · enum · nullableOptionalPossible values:
Whether the price is calculated per the entire order or per item.
get/merchants/{merchant_id}/shipping-methods
GET /v1/merchants/{merchant_id}/shipping-methods HTTP/1.1
Host: sandbox-api.violet.io
X-Violet-Token: text
X-Violet-App-Secret: text
X-Violet-App-Id: 1
Accept: */*
200
The merchant's fallback shipping methods.
[
{
"label": "Standard",
"description": "5-7 business days",
"price": 500,
"currency": "USD",
"handle": "standard",
"calculation_type": "PER_ORDER",
"conditions": {
"applicable_countries": [
"US",
"CA"
],
"min_order_amount": 1000
}
}
]Last updated
Was this helpful?