Park a cart
Any signed in user. Stores the caller’s cart against their till so it can be recalled later. An empty or missing cart is refused, and the parked row is scoped to the caller and branch.
POST
/api/v1/parkedAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Request body
requiredapplication/jsoncartobject[]requiredShow propertiesHide properties
Array of
objectunit_pricenumber | stringquantitynumber | stringsession_idstringResponses
201
Cart parked
idstringrequiredparked_atstringrequiredstatusstringrequired400
Cart is empty
detailstringrequired401
Not authenticated
detailstringrequired