Skip to main content
PUT
Set an animal's diet

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Path Parameters

id
string
required

The animal's record ID (not its Pet ID).

Body

application/json
brand
string | null
formula
string | null
daily_total
string | null

How much in a day, in your own words.

treats
string | null
stock_on_hand
string | null
daily_cost_cents
integer | null

What it costs a day, in cents.

Required range: x >= 0
restrictions
string[]

What the animal must not have.

Response

The feeding list and the diet, as they now are.

items
object[]
diet
object | null

Null when no diet has been saved.