Overview
Expose a single, signed endpoint that powers carts and orders from remote storefronts.
Prerequisites
- Access to OrderFlow workspace with admin rights
- A public storefront or headless site to integrate
Permissions required
Downloads & Templates
Steps (5)
-
1
Create an Inbound Connection
Go to Bridges → Connections → **New inbound**. Name it (e.g., "Storefront"), set status **Enabled**, and choose scopes for carts & orders.
Tips
—
Validation
- Connection shows status “Enabled” and lists issued key/secret.
Success criteria
- Key & secret are generated and visible in the inspector.
-
2
Restrict by IP and replay window
Add storefront IPs/CIDR ranges to the allow-list and keep the 60-second replay window default for HMAC.
Tips
- Use a reverse proxy with a static egress IP to simplify allow-listing.
Validation
—
Success criteria
—
-
3
Implement the HMAC signer
On your site, generate signatures with timestamp, clientId, method and body. Include headers X-Client-Id, X-Timestamp, X-Signature.
Tips
—
Validation
- Test call to /bridge/{clientId}/cart.create returns 200 with a cart_id.
Success criteria
—
-
4
Wire cart actions
Call actions: cart.create, items.add/update/remove, cart.get, and convertToOrder. Persist cart_id in your session.
Tips
—
Validation
—
Success criteria
- Cart can be created, items updated, and totals recomputed.
-
5
Place an order
Invoke convertToOrder with customer info, addresses and payment_intent reference (no PAN). Expect order_id on success.
Tips
—
Validation
- New order appears in Orders list with status pending_payment or paid.
Success criteria
—
About this guide
OrderFlow is the operational heart of your store. Create and manage carts and orders, handle quotes/RFQs with approvals for B2B, and orchestrate shipments and returns. Keep teams aligned with timelines, status tracking and fast analytics rollups.
Recovery flows detect abandoned carts and trigger emails. Deep integrations connect ProductCatalog, Access Guard, Payments and ChannelBridge so OrderFlow stays in sync without storing card data. Export/import CSV or JSON, publish webhooks, and automate downstream processes with a secure Bridges layer.