Skip to main content
GET
/
totals
/
shipping
/
tax
Get shipping tax
curl --request GET \
  --url {protocol}://{host}/wp-json/cocart/v1/totals/shipping/tax
"<string>"
This endpoint is available in CoCart Plus.

Query Parameters

calculate
boolean
default:false

Calculate shipping before returning tax.

Response

200 - application/json

Shipping tax retrieved successfully.

The response is of type string.

I