POST
/
calculate
/
fees
Calculate 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>"
This endpoint is available in CoCart Plus.

Body

application/json

Response

200
application/json

Cart fees calculated successfully.

The response is of type string.