reseller

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

Cap or pause one client's paid data checks.

সমস্ত reseller এন্ডপয়েন্ট

প্রমাণীকরণ

একটি বিয়ারার টোকেন হিসেবে একটি এপিআই কি পাঠান। কি-টির অবশ্যই reseller.manage অনুমতি থাকতে হবে; এটি ছাড়া কোনো কি ৪০৪ নয়, বরং ৪০৩ ত্রুটি দিয়ে প্রত্যাখ্যাত হবে।

যেখানে আপনার অর্গানাইজেশন আইডি দেওয়া হবে

এই এন্ডপয়েন্টটি URL-এর মধ্যেই আপনার অর্গানাইজেশন আইডি নেয়, orgId হিসেবে। এটিকে পাথ-এ প্রতিস্থাপন করুন — এর পরিবর্তে কাজ করবে এমন কোনো হেডার বা কোয়েরি প্যারামিটার নেই।

আপনার ড্যাশবোর্ডের 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 '{  }'

লগ ইন করা আছে? আপনার ড্যাশবোর্ডের এপিআই কনসোল আপনার আসল অর্গানাইজেশন আইডি এবং আপনার নিজের কি পূরণ করে দেয়, এবং লাইভ এপিআই-এর বিপরীতে অনুরোধটি চালায় যাতে আপনি প্রকৃত প্রতিক্রিয়া দেখতে পান। এই এন্ডপয়েন্টটি এপিআই কনসোলে খুলুন

বিবরণ

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 mon…
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