---
title: "Update a business"
method: PATCH
path: "/api/v1/businesses/current"
tags: ["businesses"]
---

# Update a business

`PATCH /api/v1/businesses/current`

## Request

- Base URL: `https://api.izap.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.izap.ai/api/v1/businesses/current`
- Auth: HTTP bearer

Partially updates the business profile. Only the fields present in the request body are changed. The business is taken from the `business-id` header rather than the URL; the path-scoped form of this operation is deprecated.

## Headers

- `business-id` string, nullable, required: UUID of the business the request is scoped to. Required on this route; the deprecated /businesses/{business_id}/... form takes it from the path instead.

## Request body

- BusinessUpdateRequest: Partial update for a business's profile. Optional fields only; unset ones are left alone. Kept intentionally narrow (name + timezone) so GOG-3129 (business hours) can extend this same endpoint with an `hours` field later instead of introducing a second PATCH route.
  - `business_name` string, nullable
  - `timezone` string, nullable
  - `industry` string, nullable

## Response `200`

Successful Response

- BusinessOut
  - `id` string, uuid, required
  - `business_name` string, required
  - `industry` string, nullable
  - `timezone` string, nullable
  - `hours` HoursOut[], required
    - `start_hour` string, required
    - `end_hour` string, required
    - `operating_days` unknown[], required
      - unknown
  - `menus` MenusOut[], required
    - `id` string, uuid, nullable
    - `menu_json` unknown, required
  - `chatbot` ChatbotOut
    - `id` string, uuid, required
    - `name` string, nullable
    - `ai_model_name` string, nullable
    - `custom_instructions` unknown[], nullable
      - unknown
    - `is_active` boolean
    - `avatar` string, nullable
    - `objective` string, nullable
    - `platform` 'whatsapp', nullable
    - `whatsapp_numbers` ChatbotWhatsAppNumberOut[]
      - `phone_number` string, required
      - `display_phone_number` string, nullable
      - `verified_name` string, nullable
      - `status` string, nullable
      - `quality_rating` string, nullable
      - `phone_number_id` string, nullable
    - `phone_number` string, nullable
    - `messaging_backend` 'external' | 'izap'
    - `locale` string, nullable
    - `effective_locale` string, required
    - `locale_source` 'configured' | 'inferred' | 'default'
    - `detect_client_language` boolean
    - `ai_pause_minutes` integer, nullable
    - `ai_pause_minutes_default` integer
    - `hold_ai_after_manual_reply` boolean
  - `chatbots` ChatbotOut[]
    - `id` string, uuid, required
    - `name` string, nullable
    - `ai_model_name` string, nullable
    - `custom_instructions` unknown[], nullable
      - unknown
    - `is_active` boolean
    - `avatar` string, nullable
    - `objective` string, nullable
    - `platform` 'whatsapp', nullable
    - `whatsapp_numbers` ChatbotWhatsAppNumberOut[]
      - `phone_number` string, required
      - `display_phone_number` string, nullable
      - `verified_name` string, nullable
      - `status` string, nullable
      - `quality_rating` string, nullable
      - `phone_number_id` string, nullable
    - `phone_number` string, nullable
    - `messaging_backend` 'external' | 'izap'
    - `locale` string, nullable
    - `effective_locale` string, required
    - `locale_source` 'configured' | 'inferred' | 'default'
    - `detect_client_language` boolean
    - `ai_pause_minutes` integer, nullable
    - `ai_pause_minutes_default` integer
    - `hold_ai_after_manual_reply` boolean

## Other responses

- `401`: Missing or invalid credentials.
- `403`: The credential is valid but not authorized for this action.
- `404`: The resource, or the business named in the request, does not exist.
- `422`: Validation Error
- `default`: Unexpected error.

---

[API](https://skmtc.dev/izap/apis/izap-api.md) · [All operations](https://skmtc.dev/izap/apis/izap-api/llms.txt) · [OpenAPI document](https://skmtc.dev/izap/apis/izap-api/revisions/e6358c8bf5e9?raw)
