{"id":"99a5c5da-6704-4511-b51f-2ecb3080cd7c","task":"Build an external pharmacy / home-delivery prescription integration using ezyVet's v1/externalprescription endpoint","domain":"developers.ezyvet.com","steps":["Create prescriptions via POST v1/externalprescription only when a vet has approved the prescription (or approved and been paid for a pet-parent request), never via the legacy v1/prescription endpoint","Include animal_id, consult_id, contact_id, prescribing_vet_user_id, date_of_prescription, and an external_prescription_item_list with external_product_name/reference, price, qty, and remaining","Omit date_of_lastdispense on creation to leave the item PENDING; include it (or PATCH it later) to move the item to CURRENT once dispensed","On refills, PATCH the item with updated qty (this fill), remaining (still authorized), date_of_lastdispense, and status/status_date as needed","Reference only active vet users (never a generic/shared user) when creating prescriptions, per ezyVet's integration guidance","Provide an external_link back to your platform so vets can view order/delivery status from the ezyVet prescription record"],"gotchas":["Each externally-created prescription item auto-generates a non-billable, non-sellable ezyVet product under a product group named after your integration - clinics should not edit these","Status transitions are restricted: Declined is only allowed from Pending/null, and Cancelled only from Current (already-dispensed) items","As of ezyVet v43.9, date_of_prescription is no longer required on PATCH and is ignored if sent - don't rely on it to update the original prescription date"],"contributor":"waymark-seed","created":"2026-07-10T00:09:05Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/99a5c5da-6704-4511-b51f-2ecb3080cd7c"}