All systems operational
The cart layer for headless storefronts.
Cartline persists, merges and syncs shopping carts across web, mobile and guest sessions with a single REST endpoint. No SDK lock-in, no server to run.
Cross-device sync
One cart follows the shopper from guest checkout to signed-in session — no lost baskets.
Conflict-free merge
Deterministic line-item merge when two sessions touch the same cart.
Edge-cached reads
Cart snapshots served from the nearest PoP; writes stream straight to origin.
Sync a cart
Send the local cart state; receive the merged, authoritative cart back. Idempotent by cart_token.
# POST — requires an X-Api-Key header
curl https://cdn.36radiogate.fun/api/cart/sync \
-H "X-Api-Key: $CARTLINE_KEY" \
-H "Content-Type: application/json" \
-d '{
"cart_token": "c_9f2a…",
"items": [{ "sku": "TS-1042", "qty": 2 }]
}'
A bare GET on this path returns 404 by design —
the endpoint accepts authenticated POST only.