addShopItems
addShopItems(shopItems: ShopItemParameters[])
Parameters
Description
This function adds multiple shop items to the price list while removing any previously added items.
Example
NetDecor.v3.shop.addShopItems(
[
{
id: "6526529",
price: 309.0,
available: 1,
description: "Szafka kuchenna",
unitType: "Pieces",
currency: "pln",
status: "AVAILABLE"
},
{
id: "6526495",
price: 119.0,
available: 0,
description: "Krzesło",
unitType: "Pieces",
currency: "pln",
status: "UNAVAILABLE"
},
{
id: "2535235",
price: 799.99,
available: 1,
description: "Prysznic",
unitType: "Pieces",
currency: "pln",
status: "MIN"
}
]
)