For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Fallback Shipping Method

Returns a single fallback shipping method by handle. Returns 404 if absent.

Get a Fallback Shipping Method

get

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 · enumOptional

The currency of the shipping method.

Possible values:
handlestringOptional

The handle or external ID to use when utilizing this method.

calculation_typestring · enum · nullableOptional

Whether the price is calculated per the entire order or per item.

Possible values:
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?