Store order, payment, and fulfilment flow
Connect online checkout to BOS order creation, payment status updates, shipping updates, and customer support mode.
Checkout to order
- Store sends customer, items, payment method, and delivery address to store.order_create.
- BOS creates or updates the contact.
- BOS creates the order through the existing order flow.
- Customer is moved to support mode and appears in AI Inbox.
- BOS logs the API request and can emit order.created/store.order_created events.
Payment callback
Use store.payment_update when prepaid payment succeeds, fails, or needs review. Send order_id, payment_status, payment_reference, and amount where available.
Fulfilment callback
Use store.fulfillment_update or store.order_status_callback to update shipping_status, tracking_id, tracking_url, awb_number, and order status.
Abandoned checkout
Use store.checkout_abandoned to inform BOS about abandoned carts. BOS can create/update the contact and dispatch store.checkout_abandoned for external recovery workflows.