MCP Server for Shopify

Build 25.0.9440

Segments

Lists customer segments defined in the shop.

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 for the segment.

Name String False

The name of the segment (for example, 'High-value customers' or 'Subscribed to newsletter').

Query String False

The definition of the segment, composed of conditions based on customer attributes or behaviors.

CreationDate Datetime True

The date and time when the segment was created in the store.

LastEditDate Datetime True

The date and time when the segment was last updated.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9440