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

# Store 清單

> 取得 Partner Center 中遊戲 Store 清單的產品名稱、描述和產品功能，一次一種語言。

遊戲的 Store 清單是 Microsoft Store 在遊戲產品頁面上顯示的文字和圖像，您會在 Partner Center 中為每種語言撰寫這些內容。`store-listing get` 會讀取一種語言的文字：產品名稱、描述和產品功能。

此命令會讀取遊戲 Main 分支上目前在 Partner Center 中的清單。Microsoft Store 只有在您發佈提交之後才會顯示您的變更，因此兩者可能不同。

此命令會讀取一個賣方的遊戲，該賣方來自 `--seller-id` 或您已儲存的賣方；請參閱[內容](https://docs.xbox.com/zh-TW/tools/xbox-cli/commands/context.md)。如果您屬於多個賣方，請參閱[此已知問題](https://docs.xbox.com/zh-TW/tools/xbox-cli/known-issues.md#xbox-game-commands-ignore---seller-id)：Partner Center 會從您上次在其中選取的賣方讀取遊戲。

此命令為實驗性功能：其選項和輸出可能會變更。請參閱[實驗性命令](https://docs.xbox.com/zh-TW/tools/xbox-cli/cli-command-lifecycle.md)。

## 命令

| 命令 | 描述 |
| - | - |
| `store-listing get` | 取得遊戲以一種語言撰寫的 Store 清單文字。 |

## 選項

| 選項 | 必要 | 描述 |
| - | - | - |
| `--store-id <id>` | 兩者擇一 | 遊戲的 Store ID，例如 `9N0000000000`。 |
| `--xbox-title-id <id>` | 兩者擇一 | 遊戲的 XBOX 遊戲識別碼 (而非其 PlayFab 遊戲識別碼)，例如 `1234ABCD`。如果它符合多個遊戲，錯誤會列出可改為傳遞的 Store ID。 |
| `--language <code>` | 是 | 清單的語言代碼，例如 `en-us` 或 `zh-hans-cn`，不區分大小寫。它必須與清單的代碼完全相符：`en` 不會讀取 `en-us` 清單，反之亦然。 |
| `--seller-id <id>` | 若未儲存 | Partner Center 賣方 ID。請參閱[內容](https://docs.xbox.com/zh-TW/tools/xbox-cli/commands/context.md)。 |
| `--base-url <url>` | 否 | 要求的基底 URL，會覆寫 `XboxPartner:BaseUrl` 設定索引鍵。 |
| `--output <format>` | 否 | `json` (預設) 或 `json-compact`。此命令會拒絕 `table`。 |

## 讀取清單

```bash theme={null}
xbox store-listing get --store-id 9N0000000000 --language en-us
```

此命令會將清單寫為 JSON 物件：

```json theme={null}
{
  "storeId": "9N0000000000",
  "language": "en-us",
  "title": "Nod Arena",
  "description": "Race your friends around the arena.",
  "features": [
    "Up to eight players online",
    "Twelve tracks"
  ]
}
```

`title` 是產品名稱，而 `features` 會依序列出產品功能。

未設定的文字為空白：`""`，若為 `features` 則為 `[]`。命令仍會成功，並在 stderr 上指出空白的欄位：

```text theme={null}
Not set in the en-us listing: description, features.
```

在該語言中沒有清單的遊戲則會失敗；請參閱[錯誤](#errors)。

## 錯誤

失敗時會連同相互關聯識別碼傳送到 stderr，並以 `1` 結束。服務傳回的失敗會包含其 HTTP 狀態，而 `--verbose` 會加入服務的回應。

| 狀態 | 意義 |
| - | - |
| 404 | 若顯示 `Game 9N0000000000 has no Store listing in en-us.`，表示遊戲在該語言代碼中沒有清單；請檢查 `--language` 是否與清單的代碼完全相符。否則，表示 Partner Center 在您的賣方中沒有具有該 Store ID 的遊戲：請檢查 `--store-id`，如果您屬於多個賣方，請參閱[此已知問題](https://docs.xbox.com/zh-TW/tools/xbox-cli/known-issues.md#xbox-game-commands-ignore---seller-id)。 |
| 422 | 遊戲未使用 Partner Center 的[模組化發佈](https://docs.xbox.com/publishing/game-publishing/concepts/modular-submission.md)，因此此命令無法讀取其清單。請在 Partner Center 中讀取。 |
| 502 | 無法讀取清單。對於不支援的語言代碼，Partner Center 會以此方式失敗，因此請檢查 `--language`。否則，請稍後再試一次。 |

對於其他失敗，此命令會顯示服務的訊息。


## Related topics

- [遊戲願望清單頁面](https://docs.xbox.com/zh-TW/publishing/game-publishing/publishing-processes/managed-creators/publishing-processes-wishlist-pages.md)
- [為遊戲設定耐久性附加元件](https://docs.xbox.com/zh-TW/publishing/game-publishing/tutorial-xbox-managed/how-to-configure-a-durable.md)
- [為遊戲設定 Store 清單](https://docs.xbox.com/zh-TW/publishing/game-publishing/tutorial-xbox-managed/how-to-create-a-store-listing.md)
- [XBOX 裝置上遊戲的 Store 清單](https://docs.xbox.com/zh-TW/publishing/game-publishing/concepts/store-listing.md)
- [XBOX 遊戲發行整備檢查清單](https://docs.xbox.com/zh-TW/publishing/game-publishing/publishing-processes/managed-creators/publishing-processes-game-publishing-readiness-checklist.md)
