Նույնականացում
Ուղարկեք API բանալին որպես bearer token: Բանալին պետք է ունենա sites.view թույլտվությունը. առանց դրա բանալին մերժվում է 403, և ոչ թե 404 կարգավիճակով:
Այս վերջնակետը կազմակերպության ID չի ընդունում: Ձեր բանալին արդեն իսկ նույնականացնում է այն կազմակերպությունը, որին պատկանում է, և պատասխանը սահմանափակված է դրանով:
Փորձել
Փոխարինեք անկյունային փակագծերում գտնվող ցանկացած բան ձեր սեփական արժեքներով, և բանալու տեղապահը՝ ձեր վահանակի բանալիով:
curl -X GET https://api.zinndigital.com/v1/certificates/products \
-H "Authorization: Bearer zdk_live_…"Մուտք գործե՞լ եք: Ձեր վահանակի API վահանակը լրացնում է ձեր իրական կազմակերպության ID-ն և ձեր սեփական բանալին և գործարկում է հարցումը ուղիղ API-ի դեմ, որպեսզի կարողանաք տեսնել փաստացի պատասխանը: Բացեք այս վերջնակետը API վահանակում
Մանրամասներ
The Sectigo catalogue, priced per term in the currency asked for. ⭐ **Every row carries `free_alternative_exists`, and a client should show it.** Let's Encrypt issues domain-validated certificates and wildcards for nothing, and our own Plesk panels already do it — so five of the fifteen compete with free. The other ten (organisation-validated, extended-validation, code-signing and S/MIME) are impossible with Let's Encrypt. Selling alongside a free option is only honest if the screen says which is which. ⛔ A product with no price in the requested currency is omitted, never returned at zero: it cannot be bought in that currency, and rendering it free is the one error a customer would happily accept. Requires `sites.view`.
Պարամետրեր
| Անուն | Տեսակ | Պահանջվում է | Ինչ է դա |
|---|---|---|---|
currency (query) | string | Ոչ | ISO 4217 code to price in. A product with no price in it is omitted. |
Պատասխան
| Անուն | Տեսակ | Պահանջվում է | Ինչ է դա |
|---|---|---|---|
data | CertificateProduct[] | Այո | — |
Այս վերջնակետի կողմից վերադարձվող սխալները
401 · 403 · 429