---
title: ZEPETO.Multiplay.Product
slug: world-sdk-guide-ja/zepetomultiplayproduct
docTags: 
createdAt: 2026-09-04T04:29:55.285Z
---

| 型                                 | 説明                                   |
| --------------------------------- | ------------------------------------ |
| [ProductError](./#producterror)   | World 内商品に関連するリクエストが失敗した理由を示すエラーコード。 |
| [PurchaseType](./#purchasetype)   | World 内商品の購入タイプを表す列挙型。               |
| [ProductStatus](./#productstatus) | World 内商品の状態を表す列挙型。                  |
| [ProductType](./#producttype)     | World 内商品のタイプを表す列挙型。                 |
| [ProductRecord](./#productrecord) | World 内商品の情報。                        |

## ProductError

`enum`

World 内商品に関連するリクエストが失敗した理由を示すエラーコード。

| 名前           | 値  | 説明                                  |
| ------------ | -- | ----------------------------------- |
| Unknown      | -1 | エラー: 不明なエラー。                        |
| NetworkError | 0  | エラー: 接続の切断や不安定な接続など、ネットワークに関連するエラー。 |

## PurchaseType

`enum`

World 内商品の購入タイプを表す列挙型。

| 名前            | 値                 | 説明               |
| ------------- | ----------------- | ---------------- |
| Consumable    | "CONSUMABLE"      | 消費型の World 内商品。  |
| NonConsumable | "NON\_CONSUMABLE" | 非消費型の World 内商品。 |

## ProductStatus

`enum`

World 内商品の状態を表す列挙型。

| 名前        | 値           | 説明                 |
| --------- | ----------- | ------------------ |
| Active    | "ACTIVE"    | 有効な状態。             |
| InActive  | "INACTIVE"  | 無効な状態。             |
| Forbidden | "FORBIDDEN" | 利用期間の満了により禁止された状態。 |

## ProductType

`enum`

World 内商品のタイプを表す列挙型。

| 名前              | 値                   | 説明                              |
| --------------- | ------------------- | ------------------------------- |
| Item            | "ITEM"              | 単一アイテムの World 内商品。              |
| ItemPackage     | "ITEM\_PACKAGE"     | 複数のアイテムを含むアイテムパッケージの World 内商品。 |
| CurrencyPackage | "CURRENCY\_PACKAGE" | 複数の通貨を含む通貨パッケージの World 内商品。     |

## ProductRecord

`interface`

World 内商品の情報。

### プロパティ

| 名前                   | 型                                                                   | 説明                                                      |
| -------------------- | ------------------------------------------------------------------- | ------------------------------------------------------- |
| productId            | `string`                                                            | World 内商品の ID。                                          |
| name                 | `string`                                                            | World 内商品の名前。                                           |
| price                | `number`                                                            | World 内商品の価格。                                           |
| purchaseType         | [PurchaseType](./#purchasetype)                                     | World 内商品の `PurchaseType`。                              |
| status               | [ProductStatus](./#productstatus)                                   | World 内商品の `ProductStatus`。                             |
| productType          | [ProductType](./#producttype)                                       | World 内商品の `ProductType`。                               |
| currency             | `{ currencyId: string; name: string; isOfficialCurrency: boolean }` | World 内商品の購入に使用される通貨の種類を返します。                           |
| itemPackageUnits     | `{ productId: string; itemName: string; quantity: number }[]`       | `ProductType` が `ItemPackage` の場合、World 内商品に含まれるアイテム。   |
| currencyPackageUnits | `{ currencyId: string; currencyName: string; quantity: number }[]`  | `ProductType` が `CurrencyPackage` の場合、World 内商品に含まれる通貨。 |
