Skip to main content
PATCH
Change or retire a food

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The food's ID.

Body

application/json
name
string
Maximum string length: 80
species
string | null
pounds_each
number
Required range: 0 <= x <= 2000
sort_order
integer
is_active
boolean

false retires it; true gives it out again.

Response

The food, as it now is.

id
string
required
name
string
required

As it is handed out: "Dry dog food, 5 lb bag".

species
string | null
required

The species it is for, or null for any animal.

pounds_each
number
required

What one of it weighs, in pounds. A visit's pounds are each count times this.

is_active
boolean
required

False once it is retired: kept, and no longer offered on a visit.

sort_order
integer
required
created_at
string<date-time>
updated_at
string<date-time>