catalog

GET /v1/catalog/app/plans

List the plans a signed-in customer may buy, including unadvertised ones.

ሁሉም የ catalog ማጠናቀቂያ ነጥቦች

ማረጋገጫ

የኤፒአይ ቁልፍ (API key) እንደ ቢረር ቶከን (bearer token) ይላኩ። ይህ የመጨረሻ ነጥብ (endpoint) በመግለጫው ውስጥ የተወሰነ ፈቃድ አልገለጸም፣ ስለዚህ ከማሰብ ይልቅ ለቁልፍዎ የሚያስፈልገውን አነስተኛ ፈቃድ ይስጡት እና ምላሹን ያረጋግጡ።

ይህ ኤንድፖይ መክፈቻ (endpoint) የድርጅት መታወቂያ (organisation id) አይወስድም። የእርስዎ ቁልፍ (key) እሱ የሚመለከተውን ድርጅት አስቀድሞ ይለያል፣ እና ምላሹም ለዚሁ የተወሰነ ነው።

ሞክሩት

በቅንፍ ውስጥ ያለውን ማንኛውንም ነገር በራስዎ እሴቶች ይተኩ፣ እና ቁልፍ ቦታ ያዢውን ከዳሽቦርድዎ በመጣ ቁልፍ ይተኩ።

curl -X GET https://api.zinndigital.com/v1/catalog/app/plans \
  -H "Authorization: Bearer zdk_live_…"

ገብተዋል? የመቆጣጠሪያ ማዕከልዎ ውስጥ ያለው የኤፒአይ ኮንሶል ትክክለኛውን የድርጅት መታወቂያዎን እና የራስዎን ቁልፍ ይሞላል፣ እና ትክክለኛውን ምላሽ ማየት እንዲችሉ ጥያቄውን በቀጥታ ከሚሰራው ኤፒአይ ጋር ያካሂደዋል። ይህን ኤንድፖይንት በAPI ኮንሶል ውስጥ ይክፈቱ

ዝርዝሮች

Identical to `listCatalogPlans` — same shape, same multi-currency `prices` array, same `plan_version_id` purchase path — plus the plans on **in-app-only** lines. This is the endpoint the dashboard reads to offer email on an external domain. The purchase path is unchanged: `POST /v1/carts` → `POST /v1/carts/{cartId}/lines` with `{kind: hosting_plan, plan_version_id, metadata: {interval}}` → checkout. ⛔ The in-app-only exclusion on the public endpoint is applied **even when `product_line` names the hidden line** — naming a thing is not authorisation to see it, and that parameter arrives from an untrusted query string.

መለኪያዎች

ስምዓይነትየሚያስፈልግምንነቱ
product_line (query)stringአይRestrict to one product line by its code (e.g. `mail`). Unknown code → empty list.

ምላሽ

ስምዓይነትየሚያስፈልግምንነቱ
dataCatalogPlan[]አዎ

ይህ ማብቂያ ሊመልሳቸው የሚችሉ ስህተቶች

401 · 422 · 429