public

POST /v1/public/cart

Open an anonymous cart.

બધા public એન્ડપૉઇન્ટ્સ

પ્રમાણીકરણ

આ એન્ડપૉઇન્ટ સાર્વજનિક છે. તે કોઈ ઓળખપત્ર કે કોઈ સંસ્થા લેતો નથી — તે એ છે જે અમારી પોતાની માર્કેટિંગ સાઇટ અને AI જવાબ આપતા એન્જિન વાંચે છે.

આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.

આયમાવો

કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.

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

साइन ઇન કરેલ છે? તમારા ડેશબોર્ડમાં આવેલું API કન્સોલ તમારી વાસ્તવિક સંસ્થાની આઈડી અને તમારી પોતાની કી ભરે છે, અને લાઇવ API સામે વિનંતી ચલાવે છે જેથી તમે વાસ્તવિક પ્રતિસાદ જોઈ શકો. આ અંતિમબિંદુને API કન્સોલમાં ખોલો

વિગતો

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).

રિકવેસ્ટ બોડી

નામપ્રકારજરૂરીતે શું છે
currencyCurrencyCodeનાISO 4217 currency code (money is minor units + this code — CLAUDE.md §2.8).
product_linestringના

જવાબ

નામપ્રકારજરૂરીતે શું છે
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.

આ એન્ડપોઇન્ટ જે ભૂલો પરત કરી શકે છે

422 · 429