reseller

PUT /v1/reseller/vendor-policy/clients/{orgId}

Cap or pause one client's paid data checks.

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

అన్ని డెవలపర్ డాక్స్

ప్రమాణీకరణ

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

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

ఈ ఎండ్‌పాయింట్ మీ సంస్థ ఐడీని నేరుగా యూఆర్‌ఎల్‌లోనే orgId రూపంలో తీసుకుంటుంది. దానిని పాత్‌లో మార్చండి — దీనికి బదులుగా పనిచేసే హెడర్ లేదా క్వరీ పారామీటర్ ఏదీ లేదు.

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

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

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

curl -X PUT https://api.zinndigital.com/v1/reseller/vendor-policy/clients/{orgId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

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

వివరాలు

Per-client control inside your own pool. daily_lookup_cap can only ever reduce what that client's plan already grants — a number above their plan allowance has no effect, because the smaller of the two is what is applied. billed_data_enabled: false stops that client drawing on your pool at all; their plan, their sites and their history are untouched and they still see readings already paid for. An org id that is not one of your clients is a 404. Requires reseller.manage.

పారామీటర్లు

పేరురకంకావలసినదిఇది ఏమిటి
orgId (path)UuidఅవునుThe client organization to cap. Must be one of your own clients.

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

పేరురకంకావలసినదిఇది ఏమిటి
daily_lookup_capintegerకాదుDaily research lookups for this client. null removes your cap. Can only reduce what their plan grants.
billed_data_enabledbooleanకాదు

స్పందన

పేరురకంకావలసినదిఇది ఏమిటి
seo_data_modestring<own_keys, platform_pool>అవునుown_keys runs client SEO and indexing lookups on credentials you connect yourself and is free of charge from us. platform_pool runs them on Zinn®'s accounts against your…
monthly_pool_microsintegerఅవునుYour monthly allowance of Zinn-funded vendor spend, in USD micros (1,000,000 = $1). Read-only — it is a commercial term of your programme. null means no pool has been set,…
alert_at_bpsintegerఅవునుBasis points of the pool at which you are warned. 8000 = 80%.
client_overridesResellerClientVendorRow[]అవునుEvery one of your clients, including those you have never capped — a client with no cap set appears with daily_lookup_cap: null.

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

401 · 403 · 404 · 422 · 429