reseller

PATCH /v1/reseller/languages

Choose the languages and the default your clients start in.

అన్ని reseller ఎండ్‌పాయింట్లు

ప్రమాణీకరణ

బీయర్ టోకెన్‌గా API కీని పంపండి. కీ తప్పనిసరిగా reseller.manage అనుమతిని కలిగి ఉండాలి; అది లేని కీని 404 కాకుండా 403తో తిరస్కరిస్తారు.

మీ సంస్థ ఐడీ ఎక్కడ ఉందో అక్కడ

ఈ ఎండ్‌పాయింట్ క్వరీ పారామీటర్‌గా org_idని తీసుకుంటుంది. దీనిని వదిలేస్తే కాల్ మీ మొత్తం టెనెన్సీ సబ్‌ట్రీని కవర్ చేస్తుంది; ఒకే సంస్థకు కాల్‌ని పరిమితం చేయడానికి దీన్ని పంపండి.

మీ సంస్థ ఐడి (organisation id) మీ డాష్‌బోర్డ్‌లోని API కీస్ స్క్రీన్‌పై, కీ పక్కనే ఉంటుంది. మీరు చేసే ప్రతి కాల్‌లోనూ ఇదే ఐడి ఉపయోగించబడుతుంది.

ప్రయత్నించండి

కోణీయ బ్రాకెట్‌లలో ఉన్న దేన్నైనా మీ స్వంత విలువలతో భర్తీ చేయండి, మరియు కీ ప్లేస్‌హోల్డర్‌ను మీ డాష్‌బోర్డ్ నుండి తీసుకున్న కీతో భర్తీ చేయండి.

curl -X PATCH https://api.zinndigital.com/v1/reseller/languages \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

సైన్ ఇన్ చేశారా? మీ డ్యాష్‌బోర్డ్‌లోని API కాన్సోల్ మీ అసలైన సంస్థ ID మరియు మీ స్వంత కీని నింపుతుంది, అలాగే మీరు అసలైన ప్రతిస్పందనను చూడటానికి లైవ్ API ద్వారా ఆభ్యర్థనను రన్ చేస్తుంది. ఈ ఎండ్‌పాయింట్‌ను API కన్సోల్‌లో తెరిచండి

వివరాలు

`locales` replaces the list your clients may choose from; send an empty array to go back to offering every language. `default_locale` is what a new client account starts in and must be one you offer — your clients can still change their own language afterwards. A code we do not ship is refused rather than dropped. Requires `reseller.manage`.

పారామీటర్లు

పేరురకంకావలసినదిఇది ఏమిటి
org_id (query)UuidకాదుWhich 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…

అభ్యర్థన బాడీ

పేరురకంకావలసినదిఇది ఏమిటి
localesstring[]కాదుReplaces the list your clients may choose from. An empty array returns you to offering every language.
default_localestringకాదుEmpty returns to the platform default.
switcherbooleanకాదుWhether the language control renders in your clients' panel.

స్పందన

పేరురకంకావలసినదిఇది ఏమిటి
languagesResellerLanguage[]అవును
offers_allbooleanఅవునుYou have made no choice, so your clients get every language.
offered_countintegerఅవును
total_countintegerఅవును
default_localestringఅవునుWhat a new client account starts in. Empty means the platform default.
switcherbooleanకాదుWhether 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…

ఈ ఎండ్‌పాయింట్ తిరిగి ఇవ్వగల లోపాలు

401 · 403 · 404 · 422 · 429