Shipping cost
Shipping cost is the value charged for shipping the products sold. If this amount is already set, it is possible to display it separately from the total purchase amount at the time of payment.
- Send a POST with the
cost
andmode
attributes of theshipments
parameter to the endpoint /checkout/preferences. - In
cost
, enter the freight amount. - In
mode
, enternot_specified
. - Execute the request.
json
{
"shipments":{
"cost": 1000,
"mode": "not_specified",
}
}