Update an item
Patches an item; omitted fields are left untouched. Keys in data are merged into the existing values and validated the same way as on create, while each key provided in references, images, or files replaces that field’s value wholesale — pass null (or [] for multi-valued fields) to clear an optional field. slug renames the item’s slug; slug and unique-field collisions fail with a conflict. Pass position: "first" or "last", or "before" / "after" together with anchorItemId, to move the item within the collection’s manual order — the default sort for item lists.
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Path Parameters
1Body
New slug for the item — a rename. Omit to keep the current slug. Must be unique among the collection’s active items.
^[a-z0-9][a-z0-9-]{0,255}$Moves the item within the collection’s manual order — the default sort for item lists. Omit to leave the order unchanged. "before" / "after" require anchorItemId.
before, after, first, last Sibling item to move against when position is "before" or "after".
1Response
Identity and ordering key of the updated item. Read the full item back with the get-item endpoint.