reseller

PATCH /v1/reseller/languages

Choose the languages and the default your clients start in.

બધા reseller એન્ડપૉઇન્ટ્સ

બધા ડેવલપર દસ્તાવેજો

પ્રમાણીકરણ

એપીઆઈ કી (API key) ને બેરર ટોકન તરીકે મોકલો. કી પાસે reseller.manage પરવાનગી હોવી આવશ્યક છે; તેના વગરની કીને 404 ને બદલે 403 સાથે અસ્વીકાર કરવામાં આવશે.

જ્યાં તમારી સંસ્થા આઈડી જાય છે

આ એન્ડપૉઇન્ટ ક્વેરી પેરામીટર તરીકે org_id લે છે. તેને છોડી દો અને આ કૉલ તમારા આખા ટેનન્સી સબટ્રીને આવરી લેશે; તેને એક સંસ્થા સુધી કૉલ મર્યાદિત કરવા માટે મોકલો.

તમારી સંસ્થાની આઈડી તમારા ડેશબોર્ડ પર API કી સ્ક્રીન પર, કી ની બાજુમાં જ છે. તે તમે કરો છો તે દરેક કૉલમાં સમાન આઈડી છે.

આયમાવો

કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.

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

साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ 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…

રિકવેસ્ટ બોડી

નામપ્રકારજરૂરીતે શું છે
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…

આ એન્ડપોઇન્ટ જે ભૂલો પરત કરી શકે છે

401 · 403 · 404 · 422 · 429