GET
/
checkout
/
cart
/
{cart_id}
/
shipping
/
available
curl --request GET \
  --url https://sandbox-api.violet.io/v1/checkout/cart/{cart_id}/shipping/available
[
  {
    "bag_id": 123,
    "shipping_methods": [
      {
        "type": "CALCULATED",
        "Carrier": "OTHER",
        "label": "<string>",
        "price": 123,
        "custom": true,
        "min_subtotal": 123,
        "max_subtotal": 123,
        "min_weight": 123,
        "max_weight": 123,
        "external_id": "<string>",
        "id": 123,
        "shipping_method_id": "<string>",
        "bag_id": 123,
        "merchant_id": 123,
        "tracking_number": "<string>"
      }
    ]
  }
]

Retrieve all available shipping methods for a cart given its cart_id.

Since each merchant has different shipping methods, the response for this call provides shipping methods for each merchant that is a part of this cart.

Headers

X-Violet-Token
string
X-Violet-App-Secret
string
X-Violet-App-Id
integer

Path Parameters

cart_id
integer
required

Response

default - application/json
bag_id
integer
shipping_methods
object[]