Skip to main content
PATCH
Change a cost

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
amount_cents
integer

In whole cents, up to a million dollars.

Required range: 0 <= x <= 100000000
category
enum<string>
Available options:
veterinary,
medication,
food,
supplies,
boarding,
transport,
grooming,
other
incurred_on
string<date>

The day it was spent, YYYY-MM-DD.

vendor
string | null
Maximum string length: 500
description
string | null
Maximum string length: 500
animal_id
string | null

One of your animals, or null for the rescue's own cost.

document_id
string | null

One of your documents: the receipt, uploaded first to /api/documents.

Response

The cost.

expense
object
required