Block Client API
ApplyDiscountCode1
Apply the given discount code to the current cart.
Method | postMessage |
---|---|
Message Data | { "bubblehouseBlockClientCall": "ApplyDiscountCode1", ... } |
Query Parameters
instance
stringrequiredBlock instance identifier passed to the Blocks API.
Empty string if an instance identifier has not been provided.
code
stringrequiredThe discount code string to use