---
title: ZEPETO.Multiplay.Product
slug: world-sdk-guide-th/zepetomultiplayproduct
docTags: 
createdAt: 2026-09-04T04:31:08.640Z
---

| ประเภท                            | คำอธิบาย                                                                       |
| --------------------------------- | ------------------------------------------------------------------------------ |
| [ProductError](./#producterror)   | รหัสข้อผิดพลาดที่ระบุสาเหตุความล้มเหลวของคำขอที่เกี่ยวข้องกับสินค้าภายใน World |
| [PurchaseType](./#purchasetype)   | Enum ที่แสดงประเภทการซื้อสินค้าภายใน World                                     |
| [ProductStatus](./#productstatus) | Enum ที่แสดงสถานะของสินค้าภายใน World                                          |
| [ProductType](./#producttype)     | Enum ที่แสดงประเภทของสินค้าภายใน World                                         |
| [ProductRecord](./#productrecord) | ข้อมูลสินค้าภายใน World                                                        |

## ProductError

`enum`

รหัสข้อผิดพลาดที่ระบุสาเหตุความล้มเหลวของคำขอที่เกี่ยวข้องกับสินค้าภายใน World

| ชื่อ         | ค่า | คำอธิบาย                                                                                                   |
| ------------ | --- | ---------------------------------------------------------------------------------------------------------- |
| Unknown      | -1  | ข้อผิดพลาด: ข้อผิดพลาดที่ไม่ทราบสาเหตุ                                                                     |
| NetworkError | 0   | ข้อผิดพลาด: ข้อผิดพลาดที่เกี่ยวข้องกับปัญหาเครือข่าย รวมถึงการหลุดการเชื่อมต่อหรือการเชื่อมต่อที่ไม่เสถียร |

## PurchaseType

`enum`

Enum ที่แสดงประเภทการซื้อสินค้าภายใน World

| ชื่อ          | ค่า               | คำอธิบาย                             |
| ------------- | ----------------- | ------------------------------------ |
| Consumable    | "CONSUMABLE"      | สินค้าภายใน World แบบใช้แล้วหมดไป    |
| NonConsumable | "NON\_CONSUMABLE" | สินค้าภายใน World แบบใช้แล้วไม่หมดไป |

## ProductStatus

`enum`

Enum ที่แสดงสถานะของสินค้าภายใน World

| ชื่อ      | ค่า         | คำอธิบาย                                    |
| --------- | ----------- | ------------------------------------------- |
| Active    | "ACTIVE"    | สถานะเปิดใช้งาน                             |
| InActive  | "INACTIVE"  | สถานะปิดใช้งาน                              |
| Forbidden | "FORBIDDEN" | สถานะถูกห้ามใช้งานเนื่องจากหมดอายุการใช้งาน |

## ProductType

`enum`

Enum ที่แสดงประเภทของสินค้าภายใน World

| ชื่อ            | ค่า                 | คำอธิบาย                                                 |
| --------------- | ------------------- | -------------------------------------------------------- |
| Item            | "ITEM"              | สินค้าภายใน World แบบไอเทมเดี่ยว                         |
| ItemPackage     | "ITEM\_PACKAGE"     | แพ็กเกจสินค้าภายใน World ที่ประกอบด้วยไอเทมหลายรายการ    |
| CurrencyPackage | "CURRENCY\_PACKAGE" | แพ็กเกจสินค้าภายใน World ที่ประกอบด้วยสกุลเงินหลายรายการ |

## ProductRecord

`interface`

ข้อมูลสินค้าภายใน World

### พร็อพเพอร์ตี้

| ชื่อ                 | ประเภท                                                              | คำอธิบาย                                                                       |
| -------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| productId            | `string`                                                            | ID ของสินค้าภายใน World                                                        |
| name                 | `string`                                                            | ชื่อของสินค้าภายใน World                                                       |
| price                | `number`                                                            | ราคาของสินค้าภายใน World                                                       |
| purchaseType         | [PurchaseType](./#purchasetype)                                     | `PurchaseType` ของสินค้าภายใน World                                            |
| status               | [ProductStatus](./#productstatus)                                   | `ProductStatus` ของสินค้าภายใน World                                           |
| productType          | [ProductType](./#producttype)                                       | `ProductType` ของสินค้าภายใน World                                             |
| currency             | `{ currencyId: string; name: string; isOfficialCurrency: boolean }` | คืนค่าประเภทสกุลเงินที่ใช้ในการซื้อสินค้าภายใน World                           |
| itemPackageUnits     | `{ productId: string; itemName: string; quantity: number }[]`       | ไอเทมที่รวมอยู่ในสินค้าภายใน World หาก `ProductType` เป็น `ItemPackage`        |
| currencyPackageUnits | `{ currencyId: string; currencyName: string; quantity: number }[]`  | สกุลเงินที่รวมอยู่ในสินค้าภายใน World หาก `ProductType` เป็น `CurrencyPackage` |
