Update Segment
Updates an existing segment in Moosend.
Query
Comma-separated response fields to include.
Body
The ID of the email list that contains the segment.
The ID of the segment to be updated.
The name of the segment. If not specified, the existing name is retained.
Specifies how subscribers are returned by your segment based on matching criteria. If not specified, All is assumed. All (Default) - returns subscribers that match all the given criteria. Any - returns subscribers that match any of the given criteria.
Specifies how many criteria-matching subscribers are contained in your segment. If not specified, All is assumed. All - returns all criteria matching subscribers. Top - returns only a maximum number of subscribers defined in FetchValue . TopPercent - returns only a percentage of subscribers defined in FetchValue .
Specifies the maximum number for FetchType:Top or percentage for FetchType:TopPercent of members to be contained in the created segment. If not specified, 0 is assumed.
An array containing the criteria parameters used to filter the email list. If not specified, existing criteria are retained. Field - the criterion used to filter the email list. See Field values . Comparer - the operator that defines how to compare a Field with its Value . See Comparer values . Value - the search term used to filter the specified Field . LastXMinutes - constrains the results by the time that has elapsed. DateFrom to DateTo - constrains the results by a date span. Date Function - the value used with custom fields of dateTime data type. See DateFunction values .