This documentation is a Work in Progress. There maybe content unfinished. Feedback is welcome.
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.
curl --request POST \
--url {protocol}://{host}/wp-json/cocart/v1/calculate/fees \
--header 'Content-Type: application/json' \
--data '{
"set_session": false,
"return": false
}'
"<string>"
Cart fees calculated successfully.
The response is of type string
.
Was this page helpful?