Custom Drug Management Endpoints
Create custom drugs bulk
Bulk-creates organization-level custom drugs. Accepts a JSON array; returns a per-item success/failure summary.
POST
cURL
Bulk-creates organization-level custom drugs (the shared org catalog, stored againstDocumentation Index
Fetch the complete documentation index at: https://docs.parchmenthealth.io/llms.txt
Use this file to discover all available pages before exploring further.
ORGANIZATION#{organization_id}).
Integration Notes
- Scope Requirement: Your API token must include the
create:custom_drugscope. - Level: This endpoint creates organization-level drugs. Use the user-level endpoint to add a drug for a specific prescriber.
- Body: A non-empty JSON array of custom drug objects (a single drug is a one-element array).
- Partial success: Each item is processed independently. The response reports
successCount,failureCount, and the first 50failures(with the 1-basedindexand error). HTTP 200 is returned if at least one item succeeded; 400 if all failed.
Example Request
Example Response
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Organization secret for authentication - provided by Parchment
Path Parameters
Organization ID
Body
application/json
Non-empty array of custom drugs to create at organization level
Maximum string length:
280Maximum string length:
100Maximum string length:
50Maximum string length:
50String or number; coerced to string
String or number; coerced to string
Maximum string length:
2Maximum string length:
280Maximum string length:
100Maximum string length:
50Maximum string length:
280Maximum string length:
250Maximum string length:
50cURL

