Code Assist MCP for Shopify

Build 25.0.9539

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 columns and operators. The server processes other filters client-side within the server.

  • Id supports the '=, IN' comparison operators.
  • Name supports the '=' comparison operator.

For example, the following queries are processed server-side:

  SELECT * FROM Segments WHERE Id = 'Val1'
  SELECT * FROM Segments WHERE Name = '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.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539