domains

GET /v1/domains/{domainId}/premium-dns

Whether Premium DNS can be sold for this domain, and which row to sell.

ຈຸດສິ້ນສຸດ domains ທັງໝົດ

ການພິສູດຕົວຕົນ

ສົ່ງລະຫັດ API ເປັນ bearer token. ລະຫັດຕ້ອງມີສິດ sites.view; ລະຫັດທີ່ບໍ່ມີສິດດັ່ງກ່າວຈະຖືກປະຕິເສດດ້ວຍລະຫັດ 403, ບໍ່ແມ່ນ 404.

ຈຸດເຊື່ອມຕໍ່ນີ້ບໍ່ໄດ້ຮັບ ID ອົງກອນ. ລະຫັດຂອງທ່ານໄດ້ລະບຸອົງກອນທີ່ມັນຂຶ້ນກັບແລ້ວ, ແລະ ຄໍາຕອບແມ່ນຖືກຈໍາກັດຂອບເຂດໄວ້ສໍາລັບອົງກອນນັ້ນ.

ລອງໃຊ້ເບິ່ງ

ປ່ຽນແທນທຸກຢ່າງທີ່ຢູ່ໃນວົງເລັບມຸມດ້ວຍຄ່າຂອງທ່ານເອງ, ແລະ ປ່ຽນແທນຕົວແທນບ່ອນວ່າງຄີດ້ວຍຄີຈາກແຜງຄວບຄຸມຂອງທ່ານ.

curl -X GET https://api.zinndigital.com/v1/domains/{domainId}/premium-dns \
  -H "Authorization: Bearer zdk_live_…"

ເຂົ້າສູ່ລະບົບແລ້ວບໍ? ໂຄງສົນທະນາ API ໃນໜ້າັດສະຫຼອງຂອງທ່ານຈະຕື່ມຂໍ້ມູນລະຫັດອົງກອນຕົວຈິງ ແລະ ລະຫັດລັບສ່ວນຕົວຂອງທ່ານໂດຍອັດຕະໂນມັດ, ແລະ ປະຕິບັດການຮ້ອງຂໍຜ່ານ API ຕົວຈິງ ເພື່ອໃຫ້ທ່ານສາມາດເຫັນຜົນຕອບຮັບທີ່ແທ້ຈິງໄດ້. ເປີດຈຸດສິ້ນສຸດນີ້ໃນຄອນໂສລ API

ລາຍລະອຽດ

Premium DNS by Sectigo is sold **per zone**, so it is meaningless without a domain and its catalogue rows are deliberately not public — the account-level storefront must not offer it and the domain's own screen must. This is the read that screen uses. ⛔ **The offer is SUPPRESSED where the domain cannot use the product**, computed here rather than in a client. A Cloudflare-registrar domain cannot be delegated anywhere else at all, and a domain riding the shared fleet nameservers has no authoritative zone of its own for Sectigo to replace. Selling to either would charge the customer and then refuse them. `reason` is a **code**, never a sentence — the customer-facing wording is localizable and belongs in the client's own catalogue. `registrar_locks_nameservers` means the registrar permits no other nameservers; `no_zone_of_its_own` means there is no zone to upgrade; `registry_unavailable` means the public registry did not answer, so we cannot tell which case this is — and an unknown is not a yes. `code` is the `Extra.code` to purchase, chosen by the domain's product line through the catalogue's own fence rather than by a second price table. `site_id` is the site the purchase must name: the extra is site-scoped, so a buy button offered without one produces a charge that fulfilment then refuses. Requires `sites.view`, RLS-scoped.

ພາຣາມິເຕີ

ຊື່ປະເພດຕ້ອງການສິ່ງທີ່ມັນເປັນ
domainId (path)Uuidແມ່ນແລ້ວThe domain's id.

ຖືກໂຈະ

ຊື່ປະເພດຕ້ອງການສິ່ງທີ່ມັນເປັນ
availablebooleanແມ່ນແລ້ວShow the offer.
reasonstring<registrar_locks_nameservers, no_zone_of_its_own, registry_unavailable>ແມ່ນແລ້ວWhy the offer is hidden, as a CODE for the client to translate. `null` when `available` is true, and also when `active` is true — an existing purchase is not a suppression.
codestringແມ່ນແລ້ວThe `Extra.code` to purchase, chosen by the domain's product line.
activebooleanແມ່ນແລ້ວAlready bought for this domain and not refunded. The screen says so rather than offering it again — and it is a THIRD state, not `available: false` with a reason: hiding the car…

ຂໍ້ຜິດພາດທີ່ຈຸດເຊື່ອມຕໍ່ນີ້ສາມາດສົ່ງຄືນໄດ້

401 · 403 · 404 · 429