> For the complete documentation index, see [llms.txt](https://help.openloyalty.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.openloyalty.io/technical-guide/data-exports/data-structure-and-types/member-tier-changes.md).

# Member Tier Changes

The Member Tier Changes file contains information about the tier changes of your loyalty program's members at the end of the given day.

{% hint style="info" %}
**Delta export.** Each daily file contains member–tier-set entries created or updated during that day. Upsert on `tierSetId` + `memberId` and keep the row with the latest `updatedAt`.
{% endhint %}

**File:** `analytics/MemberTierChanges/member_tier_changes_YYYY_MM_DD.csv`\
**Primary key:** `tierSetId` + `memberId`

A sample file is provided below:

{% file src="/files/dgrb0kPp6kfFCkvEKo13" %}

**Available Data:**

<table><thead><tr><th>Column</th><th width="102.90625">Type</th><th width="131.4453125">Can be empty</th><th>Description</th></tr></thead><tbody><tr><td><code>tierSetId</code></td><td>uuid</td><td>No</td><td>Tier set ID</td></tr><tr><td><code>memberId</code></td><td>uuid</td><td>No</td><td>Member ID</td></tr><tr><td><code>currentTierId</code></td><td>uuid</td><td>Yes</td><td>Member's current tier</td></tr><tr><td><code>assignedManuallyTierAt</code></td><td>datetime</td><td>Yes</td><td>Manual assignment date</td></tr><tr><td><code>createdAt</code></td><td>datetime</td><td>No</td><td>Date created</td></tr><tr><td><code>updatedAt</code></td><td>datetime</td><td>No</td><td>Date last updated</td></tr><tr><td><code>tenantId</code></td><td>uuid</td><td>No</td><td>Tenant ID</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.openloyalty.io/technical-guide/data-exports/data-structure-and-types/member-tier-changes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
