# İşletme profili

WhatsApp'ta kişilerin gördüğü işletme bilgileri.

## Profili oku

```json
{
  "method": "GET",
  "url": "https://whatsappapi.netgsm.com.tr/v1/netgsm/whatsapp/profile/setting",
  "auth": "Basic  kullanıcı:şifre"
}
```

Yanıt `200`:

```json
{
  "status": true,
  "data": [
    {
      "about": "Siparişleriniz için bize yazın",
      "description": "",
      "email": "destek@ornek.com",
      "address": "",
      "vertical": "OTHER",
      "websites": [],
      "profile_picture_url": "",
      "messaging_product": "whatsapp"
    }
  ]
}
```

## Profili güncelle

`POST https://whatsappapi.netgsm.com.tr/v1/netgsm/whatsapp/profile/setting`. Yalnız gönderilen alanlar değişir: `about`, `description`, `email`, `address`, `websites` (dizi), `industry` (WhatsApp sektör kodu, ör. `RETAIL`; okurken `vertical` alanında döner).

```json
{
  "method": "POST",
  "url": "https://whatsappapi.netgsm.com.tr/v1/netgsm/whatsapp/profile/setting",
  "auth": "Basic  kullanıcı:şifre",
  "headers": {
    "Content-Type": "application/json"
  },
  "body": {
    "about": "Siparişleriniz için bize yazın",
    "email": "destek@ornek.com"
  }
}
```

Yanıt `200`:

```json
{ "status": true, "data": { "success": true } }
```

## Profil fotoğrafı

`POST https://whatsappapi.netgsm.com.tr/v1/netgsm/whatsapp/profile/image`, multipart: `type=file` ve `file` (JPG ya da PNG).

```json
{
  "method": "POST",
  "url": "https://whatsappapi.netgsm.com.tr/v1/netgsm/whatsapp/profile/image",
  "auth": "Basic  kullanıcı:şifre",
  "headers": {
    "Content-Type": "multipart/form-data"
  },
  "body": {
    "type": "file",
    "file": "(dosya) logo.png"
  }
}
```

Yanıt `200`:

```json
{ "status": true, "data": { "success": true } }
```
