Skip to main content

addToCart

Adds a voucher to the cart by id.

note

Only visible vouchers can be added, calculated after the filterList command.

Example

rpt({ widget: 'vouchers', command: 'addToCart', payload: { id: 546 } })

Payload

PropertyType
idnumber