Update tax class
Update an existing tax class.
Authorization
applicationPassword AuthorizationBasic <token>
WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).
In: header
Path Parameters
id*integer
Tax class ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://your-site.com/wp-json/fluent-cart/v2/tax/classes/0" \ -H "Content-Type: application/json" \ -d '{}'{
"message": "string",
"tax_class": {
"id": 0,
"title": "string",
"slug": "string",
"description": "string",
"is_default": true,
"settings": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}