public
POST /v1/public/order/recommend
Recommend hosting from the guided form's answers, with the reasoning.
احراز هویت
این نقطه پایانی عمومی است. هیچ مدرک احراز هویت و هیچ سازمانی نمیپذیرد — این همان چیزی است که سایت بازاریابی خودمان و موتورهای پاسخدهنده هوش مصنوعی میخوانند.
این نقطه پایانی هیچ شناسه سازمانی را دریافت نمیکند. کلید شما در حال حاضر سازمان مربوطه را مشخص میکند و پاسخ در همان محدوده ارائه میشود.
امتحان کنید
هر چیزی را که داخل براکتهای زاویهدار قرار دارد با مقادیر خودتان جایگزین کنید، و نگهدارنده کلید را با کلیدی از داشبورد خود جایگزین نمایید.
curl -X POST https://api.zinndigital.com/v1/public/order/recommend \
-H "Content-Type: application/json" \
-d '{ }'وارد شدهاید؟ کنسول API در داشبورد شما شناسه سازمان واقعی و کلید خودتان را پر میکند و درخواست را روی API زنده اجرا میکند تا بتوانید پاسخ واقعی را ببینید. این نقطه پایانی را در کنسول API باز کنید
جزئیات
Owner, 2026-09-09: "maybe we also need some smart hosting finder, where they can complete a form type thing to choose what they need like cms, if for pbn, and some other questions and then we recommend them the hosting they need with options on it etc". Computed from entitlements, never from a mapping. A hardcoded {"wordpress": "some_plan"} table is right on the day it is written and wrong the first time a plan is renamed, repriced or retired — and it fails silently, recommending a plan the visitor then cannot buy. Every rule reads a number off the plan they would actually receive. A plan that cannot meet a stated hard requirement — fewer sites than asked for, no SSH when SSH was asked for, no footprint promise when the answer was PBN — is dropped rather than ranked lower. Everything else that does not fit comes back as a caveat on a plan that is still offered: a finder that returns nothing because every plan is a pound over budget has answered nobody's question. reasons and caveats are machine codes, never sentences: we serve 58 languages and every surface renders its own copy, so an English string minted here would reach an Arabic page inside an RTL document. A POST that writes nothing. It is a POST because the answers are a structured body, and because a visitor's traffic, budget and site count do not belong in a URL that proxies, logs and Referer headers all carry.
پارامترها
| نام | نوع | الزامی | چیست |
|---|---|---|---|
currency (query) | string | خیر | ISO-4217 code to price this response in, and the currency budget_max_minor is read in. Same contract as on getPublicOrderConfig. |
بدنه درخواست
| نام | نوع | الزامی | چیست |
|---|---|---|---|
purpose | string | خیر | pbn | single_site | store | agency | reseller | app. |
cms | string | خیر | A key from getPublicHostingFinderOptions, or static / none. |
sites | integer | خیر | — |
monthly_visits | integer | خیر | — |
needs_email | boolean | خیر | — |
needs_domain | boolean | خیر | — |
needs_ssh | boolean | خیر | — |
budget_max_minor | integer | خیر | A ceiling in the response currency's minor units. Over-budget plans are still returned, carrying an over_budget caveat: a finder that returns nothing because every plan is a… |
limit | integer | خیر | — |
پاسخ
| نام | نوع | الزامی | چیست |
|---|---|---|---|
data | HostingRecommendation[] | بله | — |
خطاهایی که این نقطه پایانی میتواند برگرداند
422 · 429