> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UpdateSegmentInput

> Holds changes to a segment. Fields left null keep their value.



**Kind**: `input`

## Fields

**`description`**: `String`

New free-text note. Null = unchanged; an empty string clears it.

---

**`endTime`**: `DateTime`

New end, on the hour. Leave it out to keep it; null removes it. Can't change once `ARCHIVED`.

---

**`etag`**: `Etag`

Value of `etag` you last read.

---

**`id`**: `ID!` (required)

Global id of the segment (`Segment.id`).

---

**`image`**: `String`

New image key, lowercase letters a-z only. Null or empty = unchanged.

---

**`language`**: `String`

New language code; cards are matched again. Null or empty = unchanged.

---

**`name`**: `String`

New name. Null or empty = unchanged.

---

**`searchCriteria`**: `JSON`

New criteria: a JSON list in the `Segment.searchCriteria` shape, with camelCase keys, replacing the whole list. Null = unchanged. Can't change while `INITIALIZING`. Example: `[{"operator":"ids","include":["sku-1","sku-2"]}]`.

---

**`startTime`**: `DateTime`

New start, on the hour and in the future. Only while the segment is `SCHEDULED`. Null = unchanged.

---

**`tags`**: `[String!]`

New tags, replacing the list: alphanumeric, no duplicates. Null = unchanged; `[]` clears them. Can't change while `INITIALIZING`.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.