Ana içeriğe atla
PATCH
/
v1
/
accounts
/
update
Hesap Güncelle
curl --request PATCH \
  --url https://api.iklim.co/v1/accounts/update \
  --header 'Content-Type: application/json' \
  --data '{
  "accountId": "296ff917-9b4b-4dc1-987d-2c17bdac7133",
  "type": "ORGANIZATION/INDIVIDUAL",
  "mobilePhoneNumber": "905321112233",
  "location": "Cyberpark, Cyberplaza, A Blok, Kat 2, 06800, Bilkent, Ankara, Türkiye",
  "company": "TARLAIO İKLİM VE TARIM TEKNOLOJİLERİ A.Ş.",
  "industry": "Yazılım Geliştirme, SaaS",
  "profilePictureUrl": "https://*******.png"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "INDIVIDUAL",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"mobilePhoneNumber": "<string>",
"location": "<string>",
"company": "<string>",
"industry": "<string>",
"profilePictureUrl": "<string>",
"subscriptionPlan": "NONE",
"emailVerified": true,
"mobilePhoneNumberVerified": true
}

Body

application/json
accountId
string<uuid>
required

Güncellenecek Hesap Kimlik Belirteci

Example:

"296ff917-9b4b-4dc1-987d-2c17bdac7133"

type
enum<string>

Güncellenecek Hesap Türü

Mevcut seçenekler:
INDIVIDUAL,
ORGANIZATION
Example:

"ORGANIZATION/INDIVIDUAL"

mobilePhoneNumber
string

Güncellenecek Hesabın Mobil Telefon Numarası

Example:

"905321112233"

location
string

Güncellenecek Hesabın Adresi

Example:

"Cyberpark, Cyberplaza, A Blok, Kat 2, 06800, Bilkent, Ankara, Türkiye"

company
string

Güncellenecek Hesabın Şirket Adı

Example:

"TARLAIO İKLİM VE TARIM TEKNOLOJİLERİ A.Ş."

industry
string

Güncellenecek Hesabın Endüstri/Sektör Bilgisi

Example:

"Yazılım Geliştirme, SaaS"

profilePictureUrl
string

Güncellenecek Hesabın Profil Resmi Bağlantısı

Example:

"https://*******.png"

Response

Hesap başarıyla güncellendi

id
string<uuid>

Hesap Kimlik Belirteci

userId
string<uuid>

Kullanıcı Kimlik Belirteci

type
enum<string>

Hesap Türü

Mevcut seçenekler:
INDIVIDUAL,
ORGANIZATION
createdAt
string<date-time>

Hesap Oluşturulma Tarihi

updatedAt
string<date-time>

Hesap Güncellenme Tarihi

mobilePhoneNumber
string

Hesabın Mobil Telefon Numarası

location
string

Hesabın Adresi

company
string

Hesabın Şirket Adı

industry
string

Hesabın Endüstri/Sektör Bilgisi

profilePictureUrl
string

Hesabın Profil Resmi Bağlantısı

subscriptionPlan
enum<string>

Hesabın Abonelik Planı

Mevcut seçenekler:
NONE,
TRIAL,
BASIC_MONTHLY,
BASIC_YEARLY,
PREMIUM_MONTHLY,
PREMIUM_YEARLY,
CUSTOM
emailVerified
boolean

E-posta Doğrulandı Mı?

mobilePhoneNumberVerified
boolean

Mobil Telefon Numarası Doğrulandı Mı?