API referenceMarketing
List contact lists and segments
AuthorizationBearer <token>
API key from Settings → API keys
In: header
Path Parameters
storeId*string
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/stores/string/marketing/lists"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "kind": "static", "segmentRules": { "minTotalSpentMinor": "string", "maxTotalSpentMinor": "string", "minOrdersCount": 0, "maxOrdersCount": 0, "lastOrderOlderThanDays": 1, "lastOrderWithinDays": 1, "productIds": [ "ab269553-289b-4dda-82f7-ac36b3555fb3" ] }, "contactsCount": -9007199254740991, "createdAt": "string" } ]}