reseller

GET /v1/reseller/services/{siteId}

One provisioned service.

Gbogbo àwọn reseller endpoints

Ìfàṣẹ́pọ̀

Fi bọ́ọ̀lù (bearer token) ranṣẹ gẹ́gẹ́ bí kọ́kọ́rọ́ API. Kọ́kọ́rọ́ náà gbọ́dọ̀ ní ìyọ̀ǹda reseller.view; a ó kọ̀ ọ́ silẹ pẹlu 403, kii ṣe 404, ti kọ́kọ́rọ́ náà kò bá ní i.

Ibùdó àmì ìdánimọ̀ ilé-iṣẹ́ rẹ sí

Oju-iwọle yii nlo org_id gẹgẹbi ayẹwo ibeere. Fi silẹ ni ita yoo si bo igi iyalo rẹ lapapọ; ranṣẹ si lati dín ibeere naa kù si ajọ kan.

Id àjọ rẹ wa lórí ojú-ìwákòòkò àwọn bọ́tìnnì API nínú daṣibọọdú rẹ, lẹ́gbẹ̀ẹ́ bọ́tìnnì náà gan-an. Ó jẹ́ ìd kan náà nínú gbogbo ìpè tí o bá ṣe.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

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

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

The same row `listResellerServices` returns, for one site. A site outside your client subtree is a 404, never a 403 — so this is not an existence oracle. Requires `reseller.view`.

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
siteId (path)UuidBẹẹniSite ID (UUIDv7).
org_id (query)UuidBẹẹkọWhich of your organizations this applies to. Required only when you belong to more than one here.

Idahun

OrúkọIruTí a nílòKini o jẹ
site_idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
client_org_idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
client_org_namestringBẹẹni
primary_domainstringBẹẹni
namestringBẹẹkọ
statusSiteStatusBẹẹniA site's lifecycle state (docs/04 §3). A newly created site is `pending` until the provisioning workflow picks it up; `deleted` is terminal. `restricted` and `quarantined` are t…
product_lineobjectBẹẹkọ
plan_codeobjectBẹẹkọ
plan_nameobjectBẹẹkọ
held_by_resellerbooleanBẹẹkọTrue when the current suspension was placed through this surface, which is the only case `unsuspendResellerService` will release. A site suspended by the abuse desk reports fals…
pending_deletion_atobjectBẹẹkọWhen a scheduled deletion falls due, or null.
sell_amount_minorobjectBẹẹkọWhat YOU charge for this plan, in minor units of `sell_currency` — your own price-list row if you have authored one, otherwise our list price with your default markup applied. N…
sell_currencyobjectBẹẹkọ
created_atstringBẹẹni
disk_used_bytesobjectBẹẹkọNull when the hosting platform has no usage to report for this site.
bandwidth_used_bytesobjectBẹẹkọOutbound bandwidth this billing period, or null.
usage_measured_atobjectBẹẹkọWhen the reading was taken. Null alongside null usage — so "we have not measured this" is never mistaken for "it used nothing" (§2.44).

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 403 · 404 · 429