ZEPETO.Module.Shop
18 min
type description shopservice /#shopservice shopservice enables operations connected to the zepeto shop within the world this service lets players access shop information, such as thumbnail images of owned or wish listed items, and send gifts to other players categoryresponse /#categoryresponse the categoryresponse class provides the api call result and the zepeto shop item category information contentitemlistresponse /#contentitemlistresponse the contentitemlistresponse class provides the api call result and the retrieved item list itemkeyword /#itemkeyword item category contentitemresponse /#contentitemresponse the contentitemresponse class provides the api call result and the item information giftbackgroundtype /#giftbackgroundtype background type to be used for gift notification popup itemgiftresponse /#itemgiftresponse the itemgiftresponse class provides the result of item gifting categoryinfo /#categoryinfo zepeto shop item category information category /#category item category itemrequesttype /#itemrequesttype enum shopservice class shopservice enables operations connected to the zepeto shop within the world this service lets players access shop information, such as thumbnail images of owned or wish listed items, and send gifts to other players methods downloaditemthumbnail static downloaditemthumbnail(itemcode string) → baserequest\<textureresponse> this asynchronous method retrieves the thumbnail of an item parameter type description itemcode string item code returns baserequest\<textureresponse> — a baserequest object when the asynchronous process is complete, you can access the textureresponse object by the responsedata property getmycategoryasync static getmycategoryasync() → baserequest\<categoryresponse> this method retrieves the item category information from the zepeto shop inventory of the local player's user account returns baserequest\<categoryresponse> — a baserequest object when the asynchronous process is complete, you can access the categoryresponse object by the responsedata property getmycontentitemlistasync static getmycontentitemlistasync(itemkeyword itemkeyword, pagetoken? string) → baserequest\<contentitemlistresponse> this asynchronous method retrieves the item list for each item category parameter type description itemkeyword itemkeyword /#itemkeyword item category pagetoken (optional) string page token when calling this method for the first time, set this parameter to null returns baserequest\<contentitemlistresponse> — a baserequest object when the asynchronous process is complete, you can access the contentitemlistresponse object by the responsedata property getcontentitemasync static getcontentitemasync(itemid string) → baserequest\<contentitemresponse> this asynchronous method retrieves the item information parameter type description itemid string item code returns baserequest\<contentitemresponse> — a baserequest object when the asynchronous process is complete, you can access the contentitemresponse object by the responsedata property getmywishcontentitemlistasync static getmywishcontentitemlistasync() → baserequest\<contentitemlistresponse> this asynchronous method retrieves the item list from the zepeto shop wish list of the local player's user account returns baserequest\<contentitemlistresponse> — a baserequest object when the asynchronous process is complete, you can access the contentitemlistresponse object by the responsedata property categoryresponse class · extends baseresponse the categoryresponse class provides the api call result and the zepeto shop item category information properties name type description category categoryinfo /#categoryinfo zepeto shop item category information contentitemlistresponse class · extends playbaasresponse the contentitemlistresponse class provides the api call result and the retrieved item list properties name type description items item\[] item list nextpagetoken string the nextpagetoken is included in the response when numerous items are available, allowing retrieval of the subsequent item list when no items remain, nextpagetoken is set to null itemkeyword enum item category name value all 0 hair 1 onepiece 2 top 3 outwear 4 pants 5 skirt 6 socks 7 footwear 8 headwear 9 eyewear 10 jewelry 11 makeup 12 accessory 13 bodyfigure 14 animal 15 none 16 contentitemresponse class · extends playbaasresponse the contentitemresponse class provides the api call result and the item information properties name type description item item item giftbackgroundtype enum background type to be used for gift notification popup name value type01 1 type02 2 type03 3 type04 4 itemgiftresponse class · extends purchasebaseresponse the itemgiftresponse class provides the result of item gifting properties name type description zem number remaining zem balance in the local player's user account after completing gifting coin number remaining coin balance in the local player's user account after completing gifting categoryinfo class zepeto shop item category information properties name type description displayname string the localized display name of the shop inventory tab categories category\[] /#category item category list under the inventory tab category class item category properties name type description displayname string the localized display name of the item category keyword itemkeyword /#itemkeyword enum representing the item category itemrequesttype enum name value purchase 0 gift 1
