public

POST /v1/public/cart/{token}/items

Add a domain to an anonymous cart.

എല്ലാ public എൻഡ്‌പോയിന്റുകളും

പ്രമാണീകരണം

ഈ എൻഡ്‌പോയിന്റ് പൊതുവായതാണ്. ഇതിന് ക്രെഡൻഷ്യലുകളോ ഓർഗനൈസേഷനോ ആവശ്യമില്ല — ഞങ്ങളുടെ സ്വന്തം മാർക്കറ്റിംഗ് സൈറ്റും AI ഉത്തര എഞ്ചിനുകളും വായിക്കുന്നത് ഇതാണ്.

ഈ എൻഡ്പോയിന്റ് ഓർഗനൈസേഷൻ ഐഡി സ്വീകരിക്കുന്നില്ല. നിങ്ങളുടെ കീ അത് ഉൾപ്പെടുന്ന ഓർഗനൈസേഷനെ ഇതിനകം തിരിച്ചറിയുന്നുണ്ട്, ഒപ്പം പ്രതികരണം അതിലേക്ക് പരിമിതപ്പെടുത്തിയിരിക്കുന്നു.

ശ്രമിച്ച് നോക്കൂ

കോണമ്ബ്രക്കറ്റുകളിലുള്ള ഏതും നിങ്ങളുടെ സ്വന്തം മൂല്യങ്ങൾ ഉപയോഗിച്ച് മാറ്റിസ്ഥാപിക്കുക, കീ പ്ലേസ്‌ഹോൾഡർ നിങ്ങളുടെ ഡാഷ്‌ബോർഡിലെ ഒരു കീ ഉപയോഗിച്ചും മാറ്റിസ്ഥാപിക്കുക.

curl -X POST https://api.zinndigital.com/v1/public/cart/{token}/items \
  -H "Content-Type: application/json" \
  -d '{ "kind": <string<domain_register>>, "domain": <string>, "tld": <string>, "years": <integer>, "availability_token": <string> }'

സൈൻ ഇൻ ചെയ്തിട്ടുണ്ടോ? നിങ്ങളുടെ ഡാഷ്‌ബോർഡിലെ API കൺസോൾ നിങ്ങളുടെ യഥാർത്ഥ ഓർഗനൈസേഷൻ ഐഡിയും നിങ്ങളുടെ സ്വന്തം കീയും പൂരിപ്പിക്കുകയും, യഥാർത്ഥ പ്രതികരണം (response) നിങ്ങൾക്ക് കാണുന്നതിനായി ലൈവ് API-ലേക്ക് അഭ്യർത്ഥന (request) പ്രവർത്തിപ്പിക്കുകയും ചെയ്യുന്നു. ഈ എൻഡ്പോയിന്റ് API കൺസോളിൽ തുറക്കുക

വിശദാംശങ്ങൾ

Adds one `domain_register` item and returns the updated cart. `availability_token` is the `token` from a search result for **this exact name** and is required: it is what proves the item came out of a real, rate-limited search rather than being invented, so a name that search would not sell cannot be added here either. A stale, forged or now-taken name is a `409`. A cart holds at most 20 items, and one name may appear only once. The price is computed by the server; anything sent by the client is ignored.

പരാമീറ്ററുകൾ

പേര്തരംആവശ്യമാണ്എന്താണിത്
token (path)stringഅതെThe anonymous cart's opaque bearer token (`zgc_…`), as returned by `createPublicCart`. **It is a credential** — anyone holding it can read and modify the cart — and it travels i…

അഭ്യർത്ഥന ബോഡി

പേര്തരംആവശ്യമാണ്എന്താണിത്
kindstring<domain_register>അതെ
domainstringഅതെThe full FQDN (`acme.com`) or just the second-level label (`acme`) alongside `tld`. Both resolve to the same name; a sub-domain is rejected.
tldstringഅതെ
yearsintegerഅതെ
availability_tokenstringഅതെThe `token` from a search result **for this exact name**. Required — it is what proves the item came from a real search, so nothing that search declines to sell can be added by…
privacybooleanഇല്ല

പ്രതികരണം

പേര്തരംആവശ്യമാണ്എന്താണിത്
idUuidഅതെUUIDv7 identifier — sortable by creation time (docs/02 §8).
tokenstringഇല്ലThe bearer token. Returned **only** from `createPublicCart` — it is absent on every subsequent read, because only its digest is stored.
statusstring<open, converted, expired>അതെ
currencyCurrencyCodeഅതെISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8).
product_linestringഇല്ല
expires_atstringഅതെAfter this the cart is gone — reads 404 whether or not it has been purged.
itemsPublicCartItem[]അതെ
totalsPublicCartTotalsഅതെPre-tax totals. Tax appears on the order, once a billing country exists.

ഈ എൻഡ്‌പോയിന്റ് നൽകാൻ കഴിയുന്ന പിഴവുകൾ

404 · 409 · 422 · 429