> ## Documentation Index
> Fetch the complete documentation index at: https://docs.d-api.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Editar perfil comercial

> Altera o perfil comercial (WhatsApp Business) do número conectado: descrição, e-mail, endereço, sites (até 2), localização e horário. Envie só o que muda; null apaga o campo. O horário vale para a semana inteira: dia que não vier fica fechado.



## OpenAPI

````yaml /api-reference/openapi.json put /api/v1/profile/business
openapi: 3.1.0
info:
  title: D-API - Infraestrutura WhatsApp Completa
  description: >-
    Solução escalável e robusta para gestores de automação, SaaS e usuários
    finais que precisam de uma integração WhatsApp confiável. Oferece múltiplas
    instâncias simultâneas, webhooks em tempo real, dashboard intuitivo e API
    REST documentada com 99.9% de uptime e latência inferior a 30ms.
  version: 1.2.1
  contact:
    name: Suporte D-API
    email: suporte@d-api.cloud
    url: https://d-api.cloud
servers:
  - url: https://api.d-api.cloud
    description: Produção
security:
  - ApiKeyAuth: []
tags:
  - name: Início
    description: Endpoints base
  - name: Sessões
    description: Endpoints para gerenciamento de sessões
  - name: Mensagens
    description: Endpoints para envio de mensagens
  - name: Cloud API
    description: >-
      WhatsApp API Oficial (Meta Cloud API): conexão manual, gestão de templates
      (listar/criar/excluir) e envio de templates.
  - name: Ligações URA
    description: >-
      Disparo de ligações de voz (URA): individual ou em massa, com áudio ou
      fluxo IVR.
  - name: SMS
    description: 'Envio de SMS: individual ou em massa.'
  - name: Comandos
    description: >-
      Consulta de comandos assíncronos (async: true) pelo commandId retornado no
      enfileiramento.
paths:
  /api/v1/profile/business:
    put:
      tags:
        - Perfil
      summary: Editar perfil comercial
      description: >-
        Altera o perfil comercial (WhatsApp Business) do número conectado:
        descrição, e-mail, endereço, sites (até 2), localização e horário. Envie
        só o que muda; null apaga o campo. O horário vale para a semana inteira:
        dia que não vier fica fechado.
      operationId: putApiV1ProfileBusiness
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sessionId:
                  minLength: 1
                  type: string
                async:
                  anyOf:
                    - type: boolean
                    - type: string
                description:
                  description: Descrição da empresa, até 512 caracteres. null apaga.
                  anyOf:
                    - maxLength: 1024
                      type: string
                    - type: 'null'
                email:
                  description: E-mail de contato. null apaga.
                  anyOf:
                    - maxLength: 320
                      type: string
                    - type: 'null'
                address:
                  description: Endereço. null apaga; o ponto no mapa só muda com location.
                  anyOf:
                    - maxLength: 512
                      type: string
                    - type: 'null'
                websites:
                  description: Até 2 URLs http(s). null apaga.
                  anyOf:
                    - maxItems: 2
                      type: array
                      items:
                        maxLength: 2048
                        type: string
                    - type: 'null'
                location:
                  description: Ponto no mapa. Pode ser trocado, mas não apagado.
                  type: object
                  properties:
                    latitude:
                      minimum: -90
                      maximum: 90
                      type: number
                    longitude:
                      minimum: -180
                      maximum: 180
                      type: number
                  required:
                    - latitude
                    - longitude
                businessHours:
                  description: Horário da semana inteira. null apaga.
                  anyOf:
                    - type: object
                      properties:
                        timezone:
                          minLength: 1
                          maxLength: 64
                          description: 'Fuso IANA, ex.: America/Sao_Paulo'
                          type: string
                        days:
                          maxItems: 14
                          description: >-
                            Dia que não vier fica fechado; turno partido = duas
                            entradas no mesmo dia.
                          type: array
                          items:
                            type: object
                            properties:
                              dayOfWeek:
                                anyOf:
                                  - const: mon
                                    type: string
                                  - const: tue
                                    type: string
                                  - const: wed
                                    type: string
                                  - const: thu
                                    type: string
                                  - const: fri
                                    type: string
                                  - const: sat
                                    type: string
                                  - const: sun
                                    type: string
                              mode:
                                anyOf:
                                  - const: specific_hours
                                    type: string
                                  - const: open_24h
                                    type: string
                                  - const: appointment_only
                                    type: string
                              openTime:
                                pattern: ^\d{2}:\d{2}$
                                description: HH:MM, só em specific_hours
                                type: string
                              closeTime:
                                pattern: ^\d{2}:\d{2}$
                                description: HH:MM, só em specific_hours
                                type: string
                            required:
                              - dayOfWeek
                              - mode
                      required:
                        - timezone
                        - days
                    - type: 'null'
              required:
                - sessionId
          multipart/form-data:
            schema:
              type: object
              properties:
                sessionId:
                  minLength: 1
                  type: string
                async:
                  anyOf:
                    - type: boolean
                    - type: string
                description:
                  description: Descrição da empresa, até 512 caracteres. null apaga.
                  anyOf:
                    - maxLength: 1024
                      type: string
                    - type: 'null'
                email:
                  description: E-mail de contato. null apaga.
                  anyOf:
                    - maxLength: 320
                      type: string
                    - type: 'null'
                address:
                  description: Endereço. null apaga; o ponto no mapa só muda com location.
                  anyOf:
                    - maxLength: 512
                      type: string
                    - type: 'null'
                websites:
                  description: Até 2 URLs http(s). null apaga.
                  anyOf:
                    - maxItems: 2
                      type: array
                      items:
                        maxLength: 2048
                        type: string
                    - type: 'null'
                location:
                  description: Ponto no mapa. Pode ser trocado, mas não apagado.
                  type: object
                  properties:
                    latitude:
                      minimum: -90
                      maximum: 90
                      type: number
                    longitude:
                      minimum: -180
                      maximum: 180
                      type: number
                  required:
                    - latitude
                    - longitude
                businessHours:
                  description: Horário da semana inteira. null apaga.
                  anyOf:
                    - type: object
                      properties:
                        timezone:
                          minLength: 1
                          maxLength: 64
                          description: 'Fuso IANA, ex.: America/Sao_Paulo'
                          type: string
                        days:
                          maxItems: 14
                          description: >-
                            Dia que não vier fica fechado; turno partido = duas
                            entradas no mesmo dia.
                          type: array
                          items:
                            type: object
                            properties:
                              dayOfWeek:
                                anyOf:
                                  - const: mon
                                    type: string
                                  - const: tue
                                    type: string
                                  - const: wed
                                    type: string
                                  - const: thu
                                    type: string
                                  - const: fri
                                    type: string
                                  - const: sat
                                    type: string
                                  - const: sun
                                    type: string
                              mode:
                                anyOf:
                                  - const: specific_hours
                                    type: string
                                  - const: open_24h
                                    type: string
                                  - const: appointment_only
                                    type: string
                              openTime:
                                pattern: ^\d{2}:\d{2}$
                                description: HH:MM, só em specific_hours
                                type: string
                              closeTime:
                                pattern: ^\d{2}:\d{2}$
                                description: HH:MM, só em specific_hours
                                type: string
                            required:
                              - dayOfWeek
                              - mode
                      required:
                        - timezone
                        - days
                    - type: 'null'
              required:
                - sessionId
          text/plain:
            schema:
              type: object
              properties:
                sessionId:
                  minLength: 1
                  type: string
                async:
                  anyOf:
                    - type: boolean
                    - type: string
                description:
                  description: Descrição da empresa, até 512 caracteres. null apaga.
                  anyOf:
                    - maxLength: 1024
                      type: string
                    - type: 'null'
                email:
                  description: E-mail de contato. null apaga.
                  anyOf:
                    - maxLength: 320
                      type: string
                    - type: 'null'
                address:
                  description: Endereço. null apaga; o ponto no mapa só muda com location.
                  anyOf:
                    - maxLength: 512
                      type: string
                    - type: 'null'
                websites:
                  description: Até 2 URLs http(s). null apaga.
                  anyOf:
                    - maxItems: 2
                      type: array
                      items:
                        maxLength: 2048
                        type: string
                    - type: 'null'
                location:
                  description: Ponto no mapa. Pode ser trocado, mas não apagado.
                  type: object
                  properties:
                    latitude:
                      minimum: -90
                      maximum: 90
                      type: number
                    longitude:
                      minimum: -180
                      maximum: 180
                      type: number
                  required:
                    - latitude
                    - longitude
                businessHours:
                  description: Horário da semana inteira. null apaga.
                  anyOf:
                    - type: object
                      properties:
                        timezone:
                          minLength: 1
                          maxLength: 64
                          description: 'Fuso IANA, ex.: America/Sao_Paulo'
                          type: string
                        days:
                          maxItems: 14
                          description: >-
                            Dia que não vier fica fechado; turno partido = duas
                            entradas no mesmo dia.
                          type: array
                          items:
                            type: object
                            properties:
                              dayOfWeek:
                                anyOf:
                                  - const: mon
                                    type: string
                                  - const: tue
                                    type: string
                                  - const: wed
                                    type: string
                                  - const: thu
                                    type: string
                                  - const: fri
                                    type: string
                                  - const: sat
                                    type: string
                                  - const: sun
                                    type: string
                              mode:
                                anyOf:
                                  - const: specific_hours
                                    type: string
                                  - const: open_24h
                                    type: string
                                  - const: appointment_only
                                    type: string
                              openTime:
                                pattern: ^\d{2}:\d{2}$
                                description: HH:MM, só em specific_hours
                                type: string
                              closeTime:
                                pattern: ^\d{2}:\d{2}$
                                description: HH:MM, só em specific_hours
                                type: string
                            required:
                              - dayOfWeek
                              - mode
                      required:
                        - timezone
                        - days
                    - type: 'null'
              required:
                - sessionId
      responses:
        '200':
          description: Resposta bem-sucedida
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'API Key para autenticação. Formato: <API_KEY>'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.