---
title: "Update Ndp Submission By Id"
method: PATCH
path: "/prior-authorization/{id}/ndp-submission"
tags: ["public-api", "public-api"]
---

# Update Ndp Submission By Id

`PATCH /prior-authorization/{id}/ndp-submission`

Update the preferred pharmacy NCPDP ID for a prior authorization's NDP
submission. Only allowed while the PA request is active and no transfer
attempts have been made.

## Path parameters

- `id` string, required

## Request body

- UpdateNDPSubmissionRequest — Request to update the NDP submission details of a prior authorization. Currently only supports updating the preferred pharmacy NCPDP ID.
  - `preferred_pharmacy_ncpdp_id` string — The new NCPDP ID of the preferred pharmacy where the prescription will be transferred after the PA request has been approved.

## Response `200`

Successfully updated preferred pharmacy.

- UpdateNDPSubmissionResponse — Represents the response structure for a PATCH /prior-authorization/:id/ndp-submission request.
  - `status` union
    - 'success'
    - 'error'
  - `error` ApiError
    - `title` string, required
    - `description` string, required
    - `code` string, required
  - `data` UpdateNDPSubmissionResponseData — Data payload returned after a successful NDP submission update.
    - `preferred_pharmacy_ncpdp_id` string — The updated NCPDP ID of the preferred pharmacy.

## Other responses

- `400` — Cannot update preferred pharmacy for terminal PA requests.
- `404` — Prior Authorization Request does not exist.
- `422` — Validation Error

---

[API](https://skmtc.net/develophealth/apis/develop-health-public-api.md) · [All operations](https://skmtc.net/develophealth/apis/develop-health-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/develophealth/develop-health-public-api/revisions/1684e1dda9be/schema)
