Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Documentation is still being updated. Some content maybe unfinished.
cURL
curl --request POST \ --url {protocol}://{host}/wp-json/cocart/v1/fees \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "amount": "<string>", "taxable": false, "tax_class": "<string>" } '
"<string>"
Adds a fee to the cart.
A valid request URL is required to generate request examples
Name of the fee.
Amount for the fee.
Determines if the fee is taxable.
The tax class the fee applies to.
Fee added successfully.
The response is of type string.
string
Was this page helpful?