get https://{accountName}.{environment}.com.br/api/logistics/pvt/configuration/freights///values
Lists freight values apointed to your store's carriers, searching by carrier ID and postal code (cep
).
Request body example
curl --location --request GET 'https://{accountName}.{environment}.com.br/api/logistics/pvt/configuration/freights/carrierId/cep/values' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'Accept: application/json' \
--header 'X-VTEX-API-AppKey: {{X-VTEX-API-AppKey}}' \
--header 'X-VTEX-API-AppToken: {{X-VTEX-API-AppToken}}'
Response body example
[
{
"zipCodeStart": "0",
"zipCodeEnd": "99999999",
"weightStart": 1,
"weightEnd": 1000,
"absoluteMoneyCost": 1,
"pricePercent": 0,
"pricePercentByWeight": 0,
"maxVolume": 1000000000,
"timeCost": "2.00:00:00",
"country": "BRA",
"operationType": 0,
"restrictedFreights": [],
"polygon": "",
"minimumValueInsurance": 0
},
{
"zipCodeStart": "0",
"zipCodeEnd": "99999999",
"weightStart": 1001.001,
"weightEnd": 10000,
"absoluteMoneyCost": 15,
"pricePercent": 0,
"pricePercentByWeight": 0,
"maxVolume": 1000000000,
"timeCost": "2.00:00:00",
"country": "BRA",
"operationType": 0,
"restrictedFreights": [],
"polygon": "",
"minimumValueInsurance": 0
},
{
"zipCodeStart": "0",
"zipCodeEnd": "99999999",
"weightStart": 10001.001,
"weightEnd": 100000,
"absoluteMoneyCost": 20,
"pricePercent": 0,
"pricePercentByWeight": 0,
"maxVolume": 1000000000,
"timeCost": "2.00:00:00",
"country": "BRA",
"operationType": 0,
"restrictedFreights": [],
"polygon": "",
"minimumValueInsurance": 0
}
]