Update branchCopy Pageput https://api.wafeq.com/v1/branches/{id}/Endpoint for updating an existing branch.Path ParamsidstringrequiredBody Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializationsaddressobjectrequiredFull address of the branch in both primary and secondary languages.address objectbuilding_numberstringrequiredBuilding number or identifier of the branch location.cityobjectrequiredCity where the branch is located in both primary and secondary languages.city objectdistrictobjectrequiredDistrict or area where the branch is located in both primary and secondary languages.district objectis_activebooleanDefaults to trueIndicates whether the branch is currently active (True) or inactive (False).truefalsenameobjectrequiredThe name of the branch in both primary and secondary languages.name objectphonestringrequiredContact phone number for the branch.postal_codestringrequiredPostal code or ZIP code of the branch location.HeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestcontent-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse 200Updated 22 days ago