Skip to content
PharmaFlow Knowledgebase
Esc
↑↓navigate↵open⌘Jpreview

Void a parked cart

Any signed in user. Marks a parked cart voided so it leaves the queue without being rung up. The row is matched to the caller and to a cart on hold, so another till’s cart is not found.

POST/api/v1/parked/{parkedId}/void
Authorization
AuthorizationBearer token (JWT) · headerrequired

JWT from POST /api/v1/auth/login sent as Authorization Bearer.

Path parameters
parkedIdstringrequired

The parked cart id.

Responses
200

The voided cart

idstringrequired
statusstringrequired
401

Not authenticated

detailstringrequired
404

Parked transaction not found

detailstringrequired
Try it
Server
Authorization
Parameters
Request
curl -X POST 'http://localhost:8000/api/v1/parked/string/void' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "id": "string",
  "status": "string"
}