public

GET /v1/public/cart/{token}

Get an anonymous cart.

Të gjitha pikat e skajshme public

Autentifikimi

Ky endpoint është publik. Ai nuk kërkon kredenciale dhe asnjë organizatë — është pikërisht ajo që lexojnë faqja jonë e marketingut dhe motorët e përgjigjeve të AI.

Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

curl -X GET https://api.zinndigital.com/v1/public/cart/{token}

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

Returns the cart with every item re-priced from the live catalog and its pre-tax totals. Tax is not computed here — it depends on the billing country, which a guest cart does not have until checkout. A token that is unknown, malformed, expired or already checked out all return the same `404`.

Parametrat

EmriLlojiKërkohetÇfarë është kjo
token (path)stringPoThe 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…

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
idUuidPoUUIDv7 identifier — sortable by creation time (docs/02 §8).
tokenstringJoThe bearer token. Returned **only** from `createPublicCart` — it is absent on every subsequent read, because only its digest is stored.
statusstring<open, converted, expired>Po
currencyCurrencyCodePoISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8).
product_linestringJo
expires_atstringPoAfter this the cart is gone — reads 404 whether or not it has been purged.
itemsPublicCartItem[]Po
totalsPublicCartTotalsPoPre-tax totals. Tax appears on the order, once a billing country exists.

Gabimet që ky pikëndalim mund të kthejë

404 · 422 · 429