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

Recall a parked cart

Any signed in user. Marks a parked cart recalled and hands its cart back to the till. 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}/recall
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 recalled cart

idstringrequired
cartobject[]required
Show properties
Array of object
unit_pricenumber | string
quantitynumber | string
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/recall' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "id": "string",
  "cart": [
    {
      "unit_price": 0,
      "quantity": 0,
      "property1": null,
      "property2": null
    }
  ],
  "status": "string"
}