Documentation is still being updated. Some content maybe unfinished.
A valid request URL is required to generate request examples{
"message": "<string>",
"coupon": "<string>",
"response": true
}Applies a coupon to the cart.
curl --request POST \
--url {protocol}://{host}/wp-json/cocart/v1/coupon \
--header 'Content-Type: application/json' \
--data '
{
"coupon": "<string>"
}
'{
"message": "<string>",
"coupon": "<string>",
"response": true
}Was this page helpful?