Skip to main content

ShopItemParameters

interface ShopItemParameters
{
id: string;
price: number;
available: number;
description: string;
unitType: PriceUnitType;
packageQuantity: number;
url: string;
currency: string;
status: string;
}

Properties

NameTypeDescription
idstringShop item ID
pricenumberPrice
availablenumber1 = available, 0 = unavailable
descriptionstringItem description
unitTypePriceUnitTypeValue that is counted in the price list
packageQuantitynumberNumber of items in a package (for UnitType = 'Packages')
urlstringlink
currencystringfor example 'pln'
statusstringProduct status ID, e.g. AVAILABLE

Description

Shop item parameters.