reseller

GET /v1/reseller/currencies

The currencies your clients are quoted in.

සියලුම reseller අන්ත ලක්ෂ්‍ය

සත්‍යාපනය

බෙරර් ටෝකනයක් ලෙස API යතුරක් යවන්න. යතුරෙහි reseller.view අවසරය තිබිය යුතුය; එය නොමැති යතුරක් 404 ලෙස නොව 403 ලෙස ප්‍රතික්ෂේප කෙරේ.

ඔry ඔබේ සංවිධාන හැඳුනුම් අංකය (organisation id) ඇතුළත් කරන ස්ථානය

මෙම අවසාන ලක්ෂ්‍යය (endpoint) විමසුම් පරාමිතියක් ලෙස org_id ලබා ගනී. එය ඉවත් කළ විට ඇමතීම ඔබේ මුළු කුලී උප වෘක්ෂය (tenancy subtree) ආවරණය කරයි; ඇමතීම එක් සංවිධානයකට පමණක් සීමා කිරීමට එය යවන්න.

ඔබගේ සංවිධාන ID එක ඔබගේ පාලක පුවරුවේ ඇති API යතුරු තිරයේ, යතුරට ඊළඟින් දක්වා ඇත. ඔබ සිදු කරන සෑම ඇමතුමකදීම ඇත්තේ එම ID එකමය.

උත්සාහ කරන්න

<අගයන්> සමඟ කෝණික වරහන් තුළ ඇති ඕනෑම දෙයක් සහ ඔබේ උපකරණ පුවරුවෙන් ලබාගත් යතුරක් සමඟ key ස්ථාන දායකය ප්‍රතිස්ථාපනය කරන්න.

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

පද්ධතියට පිවිස සිටිනවාද? ඔබගේ උපකරණ පුවරුවේ ඇති API කොන්සෝලය මඟින් ඔබේ සැබෑ ආයතනික හැඳුනුම්පත සහ ඔබේම යතුර පුරවා, සජීවී API වෙත ඉල්ලීම ක්‍රියාත්මක කරන බැවින් ඔබට සැබෑ ප්‍රතිචාරය දැකගත හැක. මෙම අග්‍රලක්ෂ්‍යය API කොන්සෝලය තුළ විවෘත කරන්න

විස්තර

Every currency we can charge in, with `offered` saying whether your clients may be quoted in it. `offers_all: true` means you have made no choice and your clients get the full set — which is the state every programme starts in. `sell_in_currency` is what **you** are priced and settled in, which is a different question from what your customers browse in, and it is served only here and never to your clients. `switcher: false` removes the currency control from their panel entirely, so every one of your clients is quoted in `default_currency`. Requires `reseller.view`.

පරාමිතීන්

නමවර්ගයඅත්‍යවශ්‍යයිඑය කුමක්ද
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…

පsspil

නමවර්ගයඅත්‍යවශ්‍යයිඑය කුමක්ද
currenciesResellerCurrency[]ඔව්
offers_allbooleanඔව්You have made no choice, so your clients get every currency.
offered_countintegerඔව්
total_countintegerඔව්
default_currencystringඔව්What a client is quoted in before they choose. Empty means the platform answer — their own inference, then USD.
sell_in_currencystringඔව්What **you** are priced and settled in, resolved — never empty, and never disclosed to your clients.
switcherbooleanඔව්Whether the currency control renders in your clients' panel at all. `false` quotes every client in `default_currency`.

මෙම අවසාන ලක්ෂ්‍යය ආපසු ලබා දිය හැකි දෝෂ

401 · 403 · 404 · 429