Update Recommendation
Some Recommendation attributes may be updated via a PUT request:
- notify_email
- notify_sms
- note
To add, modify or remove items from the recommendation, you must use the individual calls on the items themselves.
Return
This call returns the entire recommendation object.
API Call
PUT
/V1/dispensary/recommendation/:recommendation_id
curl --location -g --request POST 'https://{{api_host}}/rest/{{scope}}/V1/dispensary/recommendation/6e6e08cf-e2a0-4e0e-9359-e2e42896b56e' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{access_token}}' \
--data-raw '{
"recommendation": {
"notify_email" : "1",
"note":"Recommendation to help with your lipids."
}
}'