> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CardEntry

> One entry of a card definition, with its card property values, segments, lifecycle readiness and related entries.



**Kind**: `object`

## Implements

- `Node`

## Fields

**`apiVersions`**: `[ApiVersion!]!`

Published API versions with an endpoint that serves this entry as a root entry.

---

**`createdAt`**: `DateTime!`

When the earliest of the card entry's current source entries was created.

---

**`definition`**: `CardDefinition!`

The card definition this entry belongs to.

---

**`definitionId`**: `String!`

Raw id of the card definition this entry belongs to (e.g. `products`), not the global `CardDefinition.id`.

---

**`entryId`**: `String!`

Raw id of the card entry (e.g. `SKU-123`), as `cardChangelog` takes it and the `id` property in `where` and `sort` compares it. Not the global `id`.

---

**`id`**: `ID!`

Global id of the card entry, as `node` takes it. The raw id is `entryId`.

---

**`lifecycle`**: `EntryLifecycle`

The entry's saved readiness under one lifecycle of its card definition. A lifecycle of another card definition fails the query.

**Arguments:**

- `lifecycleId`: `UUID!` — Raw id of the lifecycle (a UUID), as `Lifecycle.lifecycleId` has it; not the global `Lifecycle.id`.

---

**`memberSegments`**: `MemberSegmentsConnection`

The segments this entry is currently a member of.

**Arguments:**

- `after`: `String` — Returns the elements in the list that come after the specified cursor.
- `first`: `Int` — Returns the first _n_ elements from the list.

---

**`properties`**: `[Property!]!`

Configured properties only. The entry id is `entryId`, timestamps are `createdAt` and `updatedAt`, segment memberships are `memberSegments`.

**Arguments:**

- `ids`: `[String!]` — Ids of the configured properties to return. Null returns all of them, an empty list none; an id that isn't configured fails the query.

---

**`relatedEntries`**: `RelatedEntriesConnection`

The card entries related to this one through one relation, with filtering, sorting and forward paging.

**Arguments:**

- `after`: `String` — Returns the elements in the list that come after the specified cursor.
- `first`: `Int` — Returns the first _n_ elements from the list.
- `relationId`: `String!` — Raw id of the relation definition (e.g. `productVariants`). The current card definition decides the direction.
- `sort`: `[SortInput!]` — Sort keys, applied in order: a card property id, `id`, `@createdAt` or `@updatedAt`, or `@position` alone for the relation's stored order. At most 16 keys, each once (case-insensitive), with `id` only as the last key. Null or empty sorts by entry id ascending, and entry id ascending breaks ties. Missing values sort last.
- `where`: `Predicate` — Filters the related card entries, as a `Predicate`. It filters what's returned, not this entry. Null returns every related entry.

---

**`segments`**: `MembershipsConnection`

> Deprecated: Use memberSegments.

**Arguments:**

- `after`: `String` — Returns the elements in the list that come after the specified cursor.
- `first`: `Int` — Returns the first _n_ elements from the list.

---

**`updatedAt`**: `DateTime!`

When the latest of the card entry's current source entries was last updated.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.