dietbox_prescription_write
Create a new supplement/herbal medicine prescription in Dietbox. For meal plans, use dietbox_meal_plan (read-only — Dietbox não expõe escrita via API).
Required: title (nome da prescrição) and patient_id. Without title the API returns 400 "'Title' deve ser informado / 'Title' não pode ser nulo".
"data" is a JSON string with the remaining prescription payload (Items, Orientations etc.); title and patient_id são mesclados automaticamente antes do POST.
Bulk support: accepts patient_ids for batched execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | {} | |
| title | Yes | ||
| account | No | ||
| patient_id | Yes | ||
| patient_ids | No |