Skip to navigation

Update Single Item

Components in Rich Text

Rich Text field values can contain Webflow component instances as <wf-component> markup — see Components in Rich Text for the markup grammar, how to find component and property IDs, and the write constraints.

Update a selected Item in a Collection.

Draft status behavior

isDraft: true doesn’t unpublish an item. The resulting status depends on whether the item has been published before:

  • Item that has never been published: the item gets a Draft status.
  • Already-published item: the item gets a Changes in draft status. The live item stays published, and your changes are held back until you publish them.

Setting isDraft: false queues the item to publish on the next site publish. To remove an item from the live site, use Unpublish Live Collection Items. For the full status mapping, see Publishing with the CMS API.

Required scope | CMS:write

Authentication

AuthorizationBearer

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

Path parameters

collection_idstringRequiredformat: "objectid"
Unique identifier for a Collection
item_idstringRequiredformat: "objectid"
Unique identifier for an Item

Query parameters

skipInvalidFilesbooleanOptionalDefaults to true
When true, invalid files are skipped and processing continues. When false, the entire request fails if any file is invalid.

Request

Details of the item to update
cmsLocaleIdstringOptional
Identifier for the locale of the CMS item
isArchivedbooleanOptional
Boolean determining if the Item is set to archived
isDraftbooleanOptional

Sets the item’s draft state. The resulting status depends on whether the item has been published before:

  • Item that has never been published: isDraft: true results in a Draft status.
  • Already-published item: isDraft: true results in a Changes in draft status. The live item stays published, and your changes are held back until you publish them.

Setting isDraft: true never unpublishes an item. To remove an item from the live site, use Unpublish Live Collection Items.

fieldDataobjectOptional

Response

Request was successful
idstringRead-only
Unique identifier for the Item
lastPublishedstringRead-onlyformat: "date-string"
The date the item was last published
lastUpdatedstringRead-onlyformat: "date-string"
The date the item was last updated
createdOnstringRead-onlyformat: "date-string"
The date the item was created
fieldDataobject
cmsLocaleIdstringOptional
Identifier for the locale of the CMS item
isArchivedbooleanOptionalDefaults to false
Boolean determining if the Item is set to archived
isDraftbooleanOptionalDefaults to false

Whether the item is in a draft state. Together with lastPublished, this determines the status shown in the Webflow UI. See Publishing with the CMS API for the full mapping.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error