getMallInfoV2(data: GetMallInfoV2Params)
Requires:
@tuya-miniapp/cloud-api≥1.6.1
Description
Query mall information by bound object and service category, returning codes for mall, shop, site, and currency as base parameters for subsequent SKU queries, order creation, and payment.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Request parameters |
Return Value
Type: Promise<MallInfo>
Mall information, including mall, shop, site codes and currency
Referenced Types
interface
MallInfoStore information| Property | Type | Description |
|---|---|---|
mallCode | string | Mall code |
shopCode | string | Shop code |
siteCode | string | Site code |
currency | string | Currency |
enum
VasBindingObjectType| Value | Actual Value | Description |
|---|---|---|
VasBindingObjectType.PID | 0 | PID |
VasBindingObjectType.MINI_APP | 1 | Mini App |
VasBindingObjectType.APP | 2 | APP |
Valid Values
VasBindingObjectType
| Value | Description | Since |
|---|---|---|
0 | PID | - |
1 | Mini App | - |
2 | APP | - |