Interface: FinishEventPayload
Properties
action
action:
"addToCart"|"select"
Type of action. Can be addToCart or select.
basketImplementationType?
optionalbasketImplementationType:"html"|"mimeeq"
Type of mimeeq basket implementation
code
code:
string
Unique product code.
collectionId?
optionalcollectionId:string
ID of shop collection to be used while adding product to cart.
configurationCode?
optionalconfigurationCode:string
Current configuration code.
currency?
optionalcurrency:string
customerId
customerId:
string
Current customer id.
Deprecated
elements?
optionalelements:FinishModularElement[]
List of elements on modular
embedInstanceId?
optionalembedInstanceId:string
Unique ID of embed instance from which event was triggered
embedShortCode
embedShortCode:
string
Product embed short code. Can be used to display product once more.
embedTemplateId?
optionalembedTemplateId:string
ID of currently used embed template
image?
optionalimage:string
Base64 image. In basket variant it will be jpeg file with width of 1000px. Otherwise, 1200px wide png. Only on 3d.
incrementalQty
incrementalQty:
number
Incremental quantity. It defines step for quantity selector
isModular?
optionalisModular:boolean
If true, product is modular.
mqq
mqq:
number
Minimum quantity product can be ordered with
price?
optionalprice:number
productId
productId:
string
Id of the product.
productName
productName:
string
Product name in current language.
publicPriceListGroups?
optionalpublicPriceListGroups:string
Public price list group ID. If provided this price list was used for getting prices for products
qty
qty:
number
Selected qty.
selectedOptions?
optionalselectedOptions:Record<string,string>
Map of selected options per each block in current language. Hidden options are filtered out.
For full list of options or list of images refer to selectedOptionsList key.
selectedOptionsList?
optionalselectedOptionsList:SelectedOptionSimple[]
List of all selected options. It contains full list of selected options without any filtering.
shortCode
shortCode:
string
Scene short code. Returned only if modular product.
Since version 6.7.0 it's returned for all products. In case of modular product it's still scene short code. For other products it's current configuration short code. Please use this value instead of calling getShortcode method.
sku?
optionalsku:string
Selected configuration SKU. Do not apply to modular product.
unitPrice?
optionalunitPrice:number
variantCode
variantCode:
string
Actually selected variant code.
viewId?
optionalviewId:string
Selected view id. Only 2d.