reseller

GET /v1/reseller/languages

The languages your clients' panel offers.

Tüm reseller uç noktaları

Kimlik Doğrulama

Bearer token olarak bir API anahtarı gönderin. Anahtar reseller.view iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.

Kurum kimliğinizin yazılacağı yer

Bu uç nokta, org_id parametresini bir sorgu parametresi olarak alır. Bu parametreyi dışarıda bırakırsanız çağrı tüm kiracı alt ağacınızı kapsar; çağrıyı tek bir kuruluşa daraltmak için gönderin.

Kuruluş kimliğiniz (id), kontrol panelinizdeki API anahtarları ekranında, anahtarın hemen yanında yer alır. Yaptığınız her çağrıda aynı kimlik kullanılır.

Dene

Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.

curl -X GET https://api.zinndigital.com/v1/reseller/languages \
  -H "Authorization: Bearer zdk_live_…"

Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın

Ayrıntılar

Every language the panel ships in, with `offered` saying whether your clients see it. All of them are included in your programme at no extra cost; narrowing the list is a presentation choice for a reseller selling into one market. `offers_all: true` means you have made no choice and your clients get the full set. Requires `reseller.view`.

Parametreler

AdTürZorunluNe olduğu
org_id (query)UuidHayırWhich of your organizations this applies to. Required only when you belong to more than one here — otherwise it is inferred, and an id outside your direct memberships is a 404 r…

Yanıt

AdTürZorunluNe olduğu
languagesResellerLanguage[]Evet
offers_allbooleanEvetYou have made no choice, so your clients get every language.
offered_countintegerEvet
total_countintegerEvet
default_localestringEvetWhat a new client account starts in. Empty means the platform default.
switcherbooleanHayırWhether the language control renders in your clients' panel at all. `false` shows every client the panel in `default_locale`; it never removes their right to change their own ac…

Bu uç noktanın dönderebileceği hatalar

401 · 403 · 404 · 429