reseller

GET /v1/reseller/currencies

The currencies your clients are quoted in.

Sve reseller krajnje tačke

Autentifikacija

Pošaljite API ključ kao bearer token. Ključ mora imati dozvolu reseller.view; ključ bez nje se odbija sa 403, a ne sa 404.

Gde ide ID vaše organizacije

Ova krajnja tačka prihvata org_id kao parametar upita. Izostavite ga i poziv obuhvata celokupno stablo vašeg zakupca; pošaljite ga da biste suzili poziv na jednu organizaciju.

ID vaše organizacije nalazi se na ekranu sa API ključevima u vašoj kontrolnoj tabli, pored samog ključa. To je isti ID u svakom pozivu koji uputite.

Isprobajte

Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.

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

Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli

Detalji

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`.

Parametri

NazivVrstaObaveznoŠta je ovo
org_id (query)UuidNeWhich 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…

Odgovor

NazivVrstaObaveznoŠta je ovo
currenciesResellerCurrency[]Da
offers_allbooleanDaYou have made no choice, so your clients get every currency.
offered_countintegerDa
total_countintegerDa
default_currencystringDaWhat a client is quoted in before they choose. Empty means the platform answer — their own inference, then USD.
sell_in_currencystringDaWhat **you** are priced and settled in, resolved — never empty, and never disclosed to your clients.
switcherbooleanDaWhether the currency control renders in your clients' panel at all. `false` quotes every client in `default_currency`.

Greške koje ovaj krajnji tačka može da vrati

401 · 403 · 404 · 429