In this section
← Preparation
- Boost a preparation
- Unboost a preparation
- Create a new media for a preparation
- Update a media for a preparation
- Delete a media for a preparation
- Retrieve preparations linked from a preparation
- Publish a preparation
- Unpublish a preparation
- Retrieve the user's preparations
- Create a new preparation
- Retrieve the specified preparation by its id
- Update an existing preparation
- Delete a preparation
On this page
Update an existing preparation
PATCH /api/v1/preparations/{id}Update one or more attributes of the specified preparation, such as name, prepared_at date, or serving count. Only the owning account may update it.
Required Scopes
write
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
id |
path | yes | integer |
Request Body
Content-Type: application/json
Schema: object
| Field | Type | Required | Description |
|---|---|---|---|
preparation |
preparation_input |
no |
Responses
204
preparation updated
422
invalid request
Schema: errors
errors
| Field | Type | Required | Description |
|---|---|---|---|
errors |
object | yes |
