Skip to main content

ZEPETO.Multiplay.Product

Enumerations

Interfaces

Functions

getProduct

getProduct(productId): Promise<ProductRecord | null>

Retrieves the in-World product information based on the provided product ID. Throws ProductError.

Parameters

NameTypeDescription
productIdstringID of the in-World product to fetch.

Returns

Promise<ProductRecord | null>

Promise resolved upon completion, with the retrieved ProductRecord object.


getProducts

getProducts(productIds): Promise<ProductRecord[] | null>

Retrieves the in-World product information list based on provided product IDs. Throws ProductError.

Parameters

NameTypeDescription
productIdsstring[]IDs of the in-World products to fetch.

Returns

Promise<ProductRecord[] | null>

Promise resolved upon completion, with a array of retrieved ProductRecord objects.