> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Sample Flows

## Article: Sample Flows

## Article Link: https://dev.wix.com/docs/api-reference/account-level/studio-workspace/partners-program/achievement-v1/sample-flows.md

## Article Content:

# Partners Program: Sample Flows

This article presents possible use cases and corresponding sample flows that you can support. It provides a useful starting point as you plan your implementation.

## Display a partner's program standing

Show a partner their current level and how close they are to the next one, for example in a dashboard widget.

To display a partner's program standing:

1. Call [Get Overview](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/partners-program/achievement-v1/get-overview.md) to retrieve the calling partner's `level` and total `points`.
1. If `nextLevel` is present, use its `level` and `remainingPoints` to show the next tier and how many more points the partner needs. If `nextLevel` is absent, the partner is at the highest level, `LEGEND`.

## Show a partner's achievement breakdown

List the individual achievements that make up a partner's points, so they can see exactly what they've earned.

To show a partner's achievement breakdown:

1. Call [Query Achievements](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/partners-program/achievement-v1/query-achievements.md) to retrieve the calling partner's achievements.
1. For each achievement, read its `points` and `achievementType` to show how the achievement was earned and what it contributes.
1. Optionally, sort by `points` or filter by `achievementType` to group the breakdown by how achievements were earned.