post https://{accountName}.{environment}.com.br/api/logistics/pvt/configuration/freights//values/update
Creates or updates the freight values of your store's carriers. Learn more in Shipping rate template.
Request body example
curl --location --request POST 'https://{accountName}.{environment}.com.br/api/logistics/pvt/configuration/freights/carrierId/values/update' \
--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}}' \
--data-raw '[
{
"absoluteMoneyCost": "1.00",
"country": "BRA",
"maxVolume": 1000000000,
"operationType": 1,
"pricePercent": 0,
"pricePercentByWeight": 0,
"timeCost": "2.00:00:00",
"weightEnd": 1000,
"weightStart": 1,
"zipCodeEnd": "99999999",
"zipCodeStart": "0",
"polygon": ""
}
]'