Digitail API
Prescriptions
Create Prescription for Pet
1min
POST
https://developer.digitail.io/api/v1/pets/{id}/prescriptions
Sandbox server (uses test data)
Authentication
Bearer
http
Path Parameters
id
integer
*
Body Parameters
body
object
*
record_id
integer
clinic_id
integer
*
vet_id
integer
*
product_id
integer
product_name
string
type
integer
quantity
integer
*
unit_id
integer
unit
string
label
string
prescribed_at
string<date>
*
expiration_date
string<date>
status
string<ACTIVE | INACTIVE>
*
internal_notes
string
Responses
201
successful operation
object
data
Prescription
400
The request was invalid or contained data that was not allowed.
object
message
string
401
The authorization token is missing or invalid.
403
The user is not authorized to perform the requested operation.
422
This response is sent when a request fails validation. The format is identical on all endpoints.
object
message
string
errors
object
429
The user has sent too many requests in a given amount of time ("rate limiting"). Max 200 requests per minute.
Updated 12 Apr 2024
Did this page help you?