Block Client API
Block Callback FuncApplyDiscountCode1
Apply the given discount code to the current cart.
| Kind | Block Callback |
|---|---|
| Method | postMessage |
| Message Data | { "bubblehouseBlockClientCall": "ApplyDiscountCode1", ... } |
Input
-
instancestring requiredBlock instance identifier passed to the Blocks API.
Empty string if an instance identifier has not been provided.
-
codestring requiredThe discount code string to use