Category object. No field is strictly required by the server. Setting attachments replaces the category image. On success the submitted category is echoed back.code: 202, but the HTTP status is 200.curl --location --globoff --request PUT 'https://.daftra.com/api2/product_categories/57.json' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{"Category": {"name": "Accessories & Cables", "category_type": 1}}'{
"result": "success",
"code": 202,
"Category": {
"id": 57,
"name": "Accessories & Cables",
"category_type": 1
},
"message": "Category Updated Successfully"
}