Copy PageUpdate cost centerputhttps://api.wafeq.com/v1/cost-centers/{id}/Endpoint for updating an existing cost center.Path ParamsidstringrequiredBody Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA cost center used to track income and expenses by department or activity.is_activebooleanrequiredIndicates whether the cost center is currently active or inactive.truefalsename_arstringrequiredlength ≤ 200The name of the cost center in Arabic, limited to 200 characters.name_enstringrequiredlength ≤ 200The name of the cost center in English, limited to 200 characters.HeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestX-Wafeq-OrganizationstringThe id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.content-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse200Updated about 2 months agoPartial update cost centerList credit notes