---
search:
  tags:
    - Dispensing
    - POST
seo:
  description: >-
    Any signed in user. Files a will-call pickup for the caller's branch and…
    Reference for the POST /api/v1/dispensing/will-call endpoint in the
    PharmaFlow API.
sidebar:
  label: Add a will-call pickup
  badge: POST
title: Add a will-call pickup
type: openapi-operation
---
Any signed in user. Files a will-call pickup for the caller's branch and returns the row. A blank patient name is refused, and the entry starts ready with the signature uncaptured.

`POST /api/v1/dispensing/will-call`

**Request body** (`application/json`, required)

- `patient_name` (string, required)
- `patient_phone` (string)
- `branch_id` (string)
- `prescription_id` (string | null)
- `sale_id` (string | null)

Request body example:

```json
{
  "patient_name": "string",
  "patient_phone": "string",
  "branch_id": "string",
  "prescription_id": "string",
  "sale_id": "string"
}
```

**Responses**

- `201` — Pickup filed
- `400` — patient\_name is required
- `401` — Not authenticated

Response example, 201:

```json
{
  "id": "string",
  "branch_id": "string",
  "prescription_id": "string",
  "sale_id": "string",
  "patient_name": "string",
  "patient_phone": "string",
  "status": "string",
  "signature_captured": -9007199254740991,
  "picked_up_at": "string",
  "created_by": "string",
  "created_at": "string"
}
```
