Shipping Methods
curl https://sandbox-api.violet.io/v1/checkout/cart/{cart_id}/shipping/available \
-H "X-Violet-App-Id: your-app-id-here" \
-H "X-Violet-App-Secret: your-app-secret-here" \
-H "X-Violet-Token: your-token-here" \
-H "Content-type: application/json"[
{
"bag_id": 20440,
"shipping_methods": [
{
"carrier": "OTHER",
"label": "International Shipping",
"price": 2000,
"shipping_method_id": "shopify-International%20Shipping-20.00",
"bag_id": 20440
}
]
},
{
"bag_id": 20441,
"shipping_methods": [
{
"carrier": "USPS",
"label": "US Domestic",
"price": 999,
"shipping_method_id": "shopify-usps%20Shipping-9.99",
"bag_id": 20441
}
]
}
]Last updated
Was this helpful?