{
"code": "string",
"name": "string",
"id": "string"
}curl --location --request PUT 'https://master-apis.vercel.app/api/product-category/update-product-category' \
--header 'token: ' \
--header 'Content-Type: application/json' \
--data '{
"code": "string",
"name": "string",
"id": "string"
}'{
"message": "success",
"data": {
"acknowledged": true,
"modifiedCount": 1,
"upsertedId": null,
"upsertedCount": 0,
"matchedCount": 1
}
}