curl --location -g --request PUT 'https://.daftra.com/v2/api/entity/v2/api/entity/cost_center/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 37,
"name": "Cost center name",
"code": 36,
"is_primary": 1,
"cost_center_id": 0,
"cost_center_ids": "0",
"branch_id": 1
}'{}