Documentation is still being updated. Some content maybe unfinished.
cURL
curl --request POST \ --url {protocol}://{host}/wp-json/cocart/v1/calculate/fees \ --header 'Content-Type: application/json' \ --data ' { "set_session": false, "return": false } '
"<string>"
Calculates the cart fees.
Sets the cart fees in session once calculated.
Returns the cart fees once calculated.
Cart fees calculated successfully.
Was this page helpful?