public

POST /v1/public/cart

Open an anonymous cart.

Dhammaan public bixiyayaasha

Xaqiijinta aqoonsiga

Bankigan (endpoint) waa mid dadweyne. Ma qaato wax aqoonsi ah ama urur ah — waa waxa ay site-keenna suuqgeynta iyo matoorada jawaabaha ee AI ay akhriyaan.

Boggan ma qaato aqoonsiga ururka. Furahaagu wuxuu horay u aqoonsanayaa ururka uu ka tirsan yahay, jawaabtuna waxay ku kooban tahay halkaas.

Isku day

Ku beddel wax kasta oo ku dhex jira qeebaha xaglaha ah qiimayaashaada, sidoo kalena haystaaha furaha ku beddel fure ka dhex muuqda dashboordigaaga.

curl -X POST https://api.zinndigital.com/v1/public/cart \
  -H "Content-Type: application/json" \
  -d '{  }'

Ma sign-garaysay? Qalabka API ee ku jira dashboard-kaagu wuxuu buuxiyaa aqoonsigaaga ururka ee dhabta ah iyo furahaaga gaarka ah, wuxuuna ku shaqeysiiyaa codsiga API-ga nool si aad u aragto jawaabta dhabta ah. Kani ka fur barta kontoroolka ee API

Faahfaahin

Creates an empty cart with **no organization and no user** and returns its opaque bearer `token`. The token is returned **only here** — nothing can re-derive it from the cart afterwards, so a client that loses it has lost the cart. It is a credential: treat it like one. The cart expires at `expires_at` (24 hours).

Codsiga jidhkiisa

MagacaNoocLoo baahan yahayMaxay tahay
currencyCurrencyCodeMayaISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8).
product_linestringMaya

Jawaab

MagacaNoocLoo baahan yahayMaxay tahay
idUuidHaaUUIDv7 identifier — sortable by creation time (docs/02 §8).
tokenstringMayaThe bearer token. Returned **only** from `createPublicCart` — it is absent on every subsequent read, because only its digest is stored.
statusstring<open, converted, expired>Haa
currencyCurrencyCodeHaaISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8).
product_linestringMaya
expires_atstringHaaAfter this the cart is gone — reads 404 whether or not it has been purged.
itemsPublicCartItem[]Haa
totalsPublicCartTotalsHaaPre-tax totals. Tax appears on the order, once a billing country exists.

Cilladaha ay bartaani soo celin karto

422 · 429