Segments
A list of a shop's segments.
Table-Specific Information
Select
The server uses the Shopify API to process WHERE clause conditions built with the following column and operators. The server processes other filters client-side within the server.
- Id supports the '=, IN' comparison operators.
For example, the following query is processed server-side:
SELECT * FROM Segments WHERE Id = 'Val1'
Insert
The following columns can be used to create a new record:
Name, Query
Update
The following columns can be updated:
Name, Query
Delete
You can delete entries by specifying the following column:
Id
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Name | String | False |
The name of the segment. | |
| Query | String | False |
A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers. | |
| CreationDate | Datetime | True |
The date and time when the segment was added to the store. | |
| LastEditDate | Datetime | True |
The date and time when the segment was last updated. |