Skip to main content

lists Query

Description

Retrieves all customer lists associated with the current shop configuration. Results are sorted by creation date. Lists are used to organize buyers into groups for marketing, communications, and customer management.

query lists {
lists {
lists {
_id
id
title
description
created
count
system
}
pagination {
limit
count
page
pages
hasMore
}
}
}

Variables

{}

Response

{
"lists": {
"lists": [
{
"_id": "042149650c5370c589a60d91",
"id": 8618600767093,
"title": "example",
"description": "example",
"created": 1707391863557,
"count": 10,
"system": true
}
],
"pagination": {
"limit": 20,
"count": 10,
"page": 1,
"pages": 1,
"hasMore": true
}
}
}

Arguments

No arguments

Returns

ItemListsConnection!