Hooks API
Web HookLoadCart1
Return the current cart for a cart ID supplied by the storefront.
| Kind | Read Hook |
|---|---|
| Method | POST |
| URL | The webhook URL you specify, with :name replaced by LoadCart1 |
| Authentication | JWT HS256 Bearer token |
Subscribe to this hook from Hello1 when Bubblehouse's first-party widget should load carts from your storefront.
The widget passes a cart ID from the storefront (an IFRAME URL parameter or a JavaScript call). Bubblehouse then calls this hook and uses the returned cart as an Order2.
Include customer when the shopper is identified. For guest checkout, omit it or send whatever identity you have.
Bubblehouse calls this hook in real time and waits for the result.
Input
-
cart_idstring requiredCart identifier from the storefront.
Output
See LoadCartResult1.