Skip to main content
inputUpdateSegmentInput

Fields

description
String

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

endTime

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

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

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

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.