Create Collection Items

POST

Create an item or multiple items in a CMS Collection across multiple corresponding locales.

Notes:

  • This endpoint can create up to 100 items in a request.
  • If the cmsLocaleIds parameter is undefined or empty and localization is enabled, items will only be created in the primary locale.

Required scope | CMS:write

Path parameters

collection_idstringRequired

Unique identifier for a Collection

Request

This endpoint expects an object.
cmsLocaleIdslist of stringsOptional

Array of identifiers for the locales where the item will be created

isArchivedbooleanOptionalDefaults to false

Indicates whether the item is archived.

isDraftbooleanOptionalDefaults to false

Indicates whether the item is in draft state.

fieldDataobject or list of objectsOptional

Response

Request was successful

idstring

Unique identifier for the Item

cmsLocaleIdslist of stringsOptional

Array of identifiers for the locales where the item will be created

lastPublishedstringOptional

The date the item was last published

lastUpdatedstringOptional

The date the item was last updated

createdOnstringOptional

The date the item was created

isArchivedbooleanOptionalDefaults to false

Boolean determining if the Item is set to archived

isDraftbooleanOptionalDefaults to false

Boolean determining if the Item is set to draft

fieldDataobjectOptional

Errors