Patch Collection Item

Update only fields that need to be changed. To upload a new image set the image URL to the corresponding item’s field. Collection items that reuse images previously uploaded can just reference their fileId property.

Path parameters

collection_idstringRequiredformat: "uuid"

Unique identifier for a Collection

item_idstringRequiredformat: "uuid"

Unique identifier for and Item

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Accept-VersionstringOptional

The API version

Query parameters

livebooleanOptional

Boolean indicating if the item(s) should be published/unpublished to/from the live site

Request

The item to update

fieldsobjectOptional

Fields in your collection item

Response

Request was successful

_archivedbooleanOptionalDefaults to false

Boolean determining if the Item is set to archived

_draftbooleanOptionalDefaults to false

Boolean determining if the Item is set to draft

_idstringOptional

Unique identifier for the Item

_cidstringOptional

Unique identifier for the Collection the Item belongs within

namestringOptional

Name given to the Item

slugstringOptional

URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug.

Errors