Carriers & Shipping
Get all the available carriers and shipping values.
Accepts
GET
All requests to the API must be authenticated with an API key on the HTTP Authorization header.
GET
Get all the available carriers and shipping values
GET/shippingcarriers
Request example
~ curl -i -X GET \
-H 'X-API-KEY:xsFPVLn7aOllXixPDaGBgCZpyTmyX7G6CniNtKD' \
-H 'Content-Type:application/json' \
https://api.weasy.io/v1/shippingcarriers
Body response example [ HTTP CODE: 200 ]
[
{
"id":"1",
"trackingUrl":"http://www.ctt.pt/feapl_2/app/open/cttexpresso/objectSearch/objectSearch.jspx?objects=",
"logo":"https://cdn1.weasy.io/users/weasy/other/ctt.png",
"status":"1",
"countries":"pt",
"master":"0",
"i18n":{
"pt":{
"title":"CTT",
"delivery_time":"Expedi\u00e7\u00f5es Nacionais e Internacionais\n2 a 3 dias \u00fateis"
}
},
"intervals":[
{
"type":"peso",
"value1":"0",
"value2":"1",
"price":"5",
"i18n":{
"pt":{
"description":"Peso de 0 kg a 1 Kg"
}
}
},
{
"type":"peso",
"value1":"1",
"value2":"2",
"price":"7",
"i18n":{
"pt":{
"description":"peso de 1,01kg a 2 kg"
}
}
},
{
"type":"valor",
"value1":"150",
"value2":"999999",
"price":"0",
"i18n":{
"pt":{
"description":"portes gr\u00e1tis acima (150 euros)"
}
}
}
]
},
...
]