Get Fallback Shipping Method
Returns a single fallback shipping method by handle. Returns 404 if absent.
Returns a single fallback shipping method by handle. Returns 404 if absent.
Path parameters
merchant_idinteger · int32Required
handlestringRequired
The shipping method handle
Header parameters
X-Violet-TokenstringRequired
X-Violet-App-SecretstringRequired
X-Violet-App-Idinteger · int32Required
Responses
200
The fallback shipping method.
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/{handle}
GET /v1/merchants/{merchant_id}/shipping-methods/{handle} 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 fallback shipping method.
{
"label": "Standard",
"description": "5-7 business days",
"price": 500,
"currency": "USD",
"handle": "standard",
"calculation_type": "PER_ORDER"
}Last updated
Was this helpful?