Vibe coding for purchasing managers in e-commerce.
You buy the products, the packaging and the freight for a store, with cash tied up in inventory you ordered months ago on a forecast. The tension is that a purchase order decision is a bet on demand, and the platform shows you what sold yesterday while the supplier needs your order for a season that has not started.
What is true about software in e-commerce before you write a prompt.
E-commerce executives have a platform that does most things and a long list of things it does not. Vibe coding fills the list: the returns portal, the wholesale order form, the inventory view, the promotion tool. Every one of them touches orders, customers and money, and every one of them is visible to shoppers or connected to the systems that serve them.
Never store card data yourself
Payment details go through the payment provider and nowhere else. A tool that touches a card number, even briefly, brings PCI obligations the company does not want. The AI will happily build a card form. Do not let it.
Orders and inventory must agree
A tool that updates stock in one place and not the other oversells. A tool that changes an order without telling the platform breaks fulfilment. Integrations need to be two-way and idempotent, or read-only.
Traffic arrives all at once
A promotion tool or a returns page that worked in testing will be hit by thousands on launch day or Black Friday. Hosting, caching and rate limits are part of the build, not an afterthought.
Customer data is personal data
Names, addresses, order history and email. Privacy law applies, deletion requests must be honoured, and marketing consent is a record you have to keep.
What a purchasing manager in e-commerce builds first.
01The reorder point calculator
Sales velocity from the platform, lead time per supplier and current stock from the 3PL, combined into a daily list of what to order and when. It replaces the spreadsheet you rebuild every Monday.
02The landed cost per unit
Product price, freight, duties, packaging and the supplier's minimum order quantity rolled into one number per SKU. The number pricing and marketing should be using and are probably not.
03The supplier scorecard
On-time delivery, defect rate from returns data and price changes per supplier, refreshed from purchase orders and receipts. The negotiation facts you have been reciting from memory.
Purchasing managers in every industry tend to build the same four things. The purchasing manager page has that list.
The reorder tool writes stock back to the platform
You wanted the tool to reserve incoming stock, so it was given write access to inventory. A receiving error or a duplicate sync sets available quantity to a number the warehouse does not have. The store sells the difference over a weekend, and you spend the week refunding orders on the product you bought to protect the season.
The pattern underneath is the one every purchasing manager hits: the dashboard has no login or one login for everyone. Negotiated rates, contract terms and supplier margins are one shared URL away from a competitor or a supplier's rival.
What a safe build in e-commerce usually runs on.
Builds usually sit next to Shopify, BigCommerce or a similar platform, connected through the platform's API with a scoped key, hosted on Vercel or comparable, with Postgres for anything the platform does not store. Payments stay inside the platform or Stripe. Public pages get caching and rate limiting before launch.
What changes for a purchasing manager in e-commerce.
A CTO in your corner treats your procurement tool as a control, not a convenience. Approvals are enforced on the server where they cannot be skipped. ERP access is read-only until there is a reason for it not to be. Supplier documents are private and pricing is behind a login with roles. You still build the tool purchasing has needed for years. It just passes the audit it was built to help with.
What purchasing managers in e-commerce ask.
A CTO who has read e-commerce apps before yours.
Thirty minutes, free, no card. What you built, what is going on with it, whether we can help.
In your corner.