B2B COMMERCE
How do you design a B2B dealer ordering system?
A B2B dealer ordering system is a digital channel through which businesses provide dealers and corporate customers with a product catalog, agreed pricing, order creation and order tracking. Unlike a consumer store, its commercial rules, permissions and ERP records must work consistently.
- Dealer sign-in
- Authorized catalog
- Price / stock check
- Order approval
- ERP and tracking
An illustrative design that may vary according to business rules.
Why are B2B orders different from consumer shopping?
In business-to-business sales, pricing, discounts, payment terms, delivery addresses and order permissions may vary by dealer. A dealer portal should not merely be a shopping cart listing products; it should implement existing commercial agreements digitally.
Example: two dealers buy the same product at different prices
Suppose the agreed net price for dealer A is TRY 100 and for dealer B is TRY 110. The portal should show the signed-in dealer's authorized price and verify that it remains valid when the order is submitted. Stock shown in the catalog may differ from quantity available for allocation due to reservations and delivery rules. These are illustrative values, not actual quotations.
| Decision area | Before ordering | During ordering |
|---|---|---|
| Price | Authorized price list | Current price / validity check |
| Stock | Displayable availability | Reservation and delivery check |
| Permissions | Dealer sign-in | Server-side object-level authorization |
| ERP | Master data synchronization | Order outcome and reference number |
Order lifecycle and exceptions
Define states such as draft, submitted, pending approval, accepted and shipped according to the actual business workflow. If an order is held due to price changes, stock shortages or credit limits, the dealer should see a clear status. Access to another dealer's prices, orders or account data must be prevented at both application and API levels.
What should the first version include?
A product catalog, dealer-specific pricing, order creation and status tracking may be a good starting point. Decide when master records and orders are created in the ERP. Promotions, multiple deliveries and more complex approvals can be added after needs are validated.
When does the price become final?
If a dealer adds products to a cart in the morning and submits the order in the afternoon, how will an intervening price change be handled? Is the cart price indicative, a temporary quotation, or protected for a defined period? Specify price lists, validity dates, quantity tiers, discount order, currency and tax calculation rules. Clearly show changes and do not create a binding transaction before the user accepts the new amount.
Stock quantity versus deliverable quantity
The portal can show total ERP inventory, but available-to-allocate stock is affected by existing reservations and delivery dates. Exposing total stock to dealers may also be commercially undesirable. Instead, show availability, estimated delivery time or quantity available under the agreement. Perform the final check at order approval.
Isolating dealer data
Dealer A must not access another dealer's order even if they guess its number. Hiding a menu is insufficient; every API request must be checked against the dealer associated with the session and its permissions. Price lists, addresses, account transactions and PDF documents also need this protection. OWASP identifies object-level authorization as a fundamental API security risk area.
How to choose the first live scenario
Start with a small dealer group that places repeat orders frequently by phone or email. Validate one workflow from catalog to order and order status. In the first pilot, measure how many times an order is manually entered into ERP, how many orders are corrected due to price discrepancies and how often dealers call for status. Add payment or credit-limit functionality after rules and permissions are clear.
Before making a decision
- Which prices and payment terms apply to each dealer?
- At which stage does an order become binding?
- Can dealers access only their own data?