Calculate Cart Taxes
POST
/store/carts/{id}/taxesCalculate the taxes for a cart. This is useful if the automatic_taxes
field of the cart's region is set to false
. If the cart's region uses a tax provider other than Medusa's system provider, this may lead to sending requests to third-party services.
Request
Path Params
id
string
required
The Cart ID.
Request samples
Responses
OK(200)
Client Error or Multiple Errors(400)
Not Found Error(404)
Invalid State Error(409)
Invalid Request Error(422)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Modified at 10 months ago