A woman packing an item into a cardboard box in a stockroom lined with shelves

ERP

What is ecommerce ERP integration: how an order comes off stock

Ecommerce ERP integration is the link that carries orders into the ERP and stock and prices back to the store. How an order comes off stock, what breaks without it, what to ask first.

Ecommerce ERP integration means that an order placed in the online store is transferred, without retyping, into the ERP where stock, invoices, accounts, and shipments are kept, and that stock levels and prices in the ERP are sent back to the store. Information flows both ways. The idea is easy to follow through one order's journey: how an order placed overnight on the site of a small spice producer in Gaziantep appears in the warehouse in the morning, where stock comes off, and on whose screen the invoice is prepared.

01.

What does ecommerce ERP integration do?

Short answer

Ecommerce ERP integration carries orders from the store to the ERP and stock and prices from the ERP to the store; the same information is not typed twice.

In a business without integration, someone opens the store panel in the morning, types the overnight orders into the ERP one by one, then checks the warehouse count and corrects the site's stock by hand. While the business is small this works. As orders grow, so do typos, delays, and forgotten orders. The information an integration carries splits by direction:

  • From the store to the ERP: the order, customer details, payment status.
  • From the ERP to the store: stock level, price, product information.
  • Both ways: order status, shipment tracking details, returns, and cancellations.

Integration is less a software feature than an agreement: two systems agree on which information they share, in what order, and under which rules. Integrations where the agreement is not written down turn into arguments about who is right at the first problem.

The scope of the integration should be set at the start too: will only orders move, or customer records, price lists, and campaign prices as well? As the scope widens, the matching rules multiply.

02.

How does an order come off stock?

Short answer

When the order reaches the ERP, the product code is matched to the stock card, the quantity is reserved or deducted, and the new stock level is sent back to the store.

Everything starts with matching. The product code in the store and the stock card code in the ERP must be the same. The spice producer's "chilli flakes, medium hot, half a kilo" is a variant on the site but a separate stock card in the ERP. If the variant and the stock card do not match, the order reaches the ERP but never touches stock. Where a stock card in a separate program falls short is covered in stock cards and the ERP.

Then there is the unit difference: a pack on the site, a box in the warehouse, kilograms in the ERP. If the unit conversion is not defined, the order lands on the right product but the wrong quantity comes off stock. Sending stock back to the store is the other end of the chain; when the warehouse is down to its last pack, the site should show its last pack too.

If the match is right, there are two approaches. Some businesses reserve the quantity as soon as the order comes in and deduct it on shipment; others deduct straight away. Reserving stops stock from looking wrong for orders whose payment is not yet confirmed or that may be cancelled. Which one you choose depends on how your accounting and warehouse work.

03.

What breaks without integration?

Short answer

Stock is kept separately in two places; sales happen before one is updated, products that are not there get sold, invoices are late, and return records do not match.

Example scenario: Picture a campaign night before a holiday. The last box in the warehouse is sold on the site; if the same box is promised that afternoon to a grocer who calls by phone, someone has to call one of them in the morning and apologise. The sale itself is fine; what fails is the two separate stock records.

Returns slip in the same way. The customer sends the product back, the store processes the return, but in the ERP stock and the account stay as they were. At month end, accounting puts the store report next to the ERP report and spends days looking for where the difference came from.

The manual setup has a hidden cost too: the time of the person typing orders by hand. During campaigns this work stretches late into the night, and the risk of error grows with fatigue.

Once the integration is running, comparing the two sides in the first weeks is a good habit: when the day closes, does the order list in the store match the order list in the ERP?

04.

How does a marketplace order reach the ERP?

Short answer

A marketplace order is usually pulled through the interface the marketplace provides and passed to the ERP with the same matching rules; commission and shipping deductions are recorded separately.

If you sell on marketplaces as well as your own site, the same stock is sold through more than one channel. Each channel's orders should reach the ERP under the same matching rules; otherwise a sale in one channel does not update another channel's stock. For this reason some businesses set aside part of their stock per channel.

On the accounting side, marketplace sales are different too: the marketplace, not the customer, pays you, after deducting commission and shipping. If those deductions are not recorded separately in the ERP, the account and the bank movement will not match.

Each marketplace has its own rules for order status, shipping, and returns. If the integration does not map these statuses to the ones in the ERP, an order shows as shipped on one side and in preparation on the other. Marketplace payments also often arrive not on the day of the order but in periodic batches; matching which order was settled by which payment is a separate job for accounting.

05.

Which questions should you ask before setting up integration?

Short answer

Before an integration, ask whether product codes match on both sides, which side is the source of truth for stock, how often data moves, and who is told when something fails.

  • Are product codes the same in the store and the ERP, and how are variants matched?
  • Which is the source of truth for stock: the ERP or the store?
  • Does data move in real time or at set intervals?
  • Where does an order that failed to transfer show up, and who is told?
  • In which direction, and on which record, do returns and cancellations flow?
  • On which side is the invoice prepared, and as what type of document?

The last question touches tax rules; confirm with your accountant which document should be issued. The question about orders that fail to transfer is the one most often skipped: if the integration stops quietly, nobody notices until a customer asks where their parcel is. If the party that builds the integration is not the one that runs it, whom to contact when something breaks should be written down too. Who hears first in the morning when the transfer stopped overnight is the answer to that question.

06.

Where does CRM fit in this flow?

Short answer

The ERP manages the order, stock, and invoice; CRM follows the relationship with the customer who placed the order, their questions, and the next sale.

After ordering, the spice producer's customer asks about the parcel on WhatsApp and a week later asks for a wholesale price. These conversations belong to the customer relationship, not to the ERP. We explained the split between the two in detail in the CRM vs ERP difference article.

That is why the customer relationship side should not be left outside the integration. When the parcel question, the return request, and the wholesale price request sit on the same customer's record, who to offer what in the next campaign can be read from that record too.

We do not present Corex360 as an ecommerce or marketplace integration tool. Corex360's core keeps customers, quotes, contracts, invoices, staff, and files on the same record, and WhatsApp, Instagram, and web conversations land on the customer card through a single inbox. You can see this setup on the bring your channels into one inbox page.

07.

Which side of e-commerce sales does Corex360 take on?

Short answer

Corex360 takes on the relationship with the customer who placed the order, not the order itself; conversations, opportunities, quotes and invoices sit on the same core.

Corex360 is not presented as a stock, order or marketplace integration program; taking an order off stock is the job of your e-commerce platform and your ERP. The customer's WhatsApp, Instagram and web chat land in one inbox in the Messaging window, and the source of the opportunity is kept on the record. The quote form on the website opens an opportunity card automatically. The sales invoice is issued in the Accounting module. Corex360 has an API for exchanging data with external systems.

Sources

  1. Revenue Administration, about e-Archive Invoice Last checked
  2. Revenue Administration, about e-Invoice Last checked

How was this page prepared?

  1. Written by: Şevket Erer, Co-founder, AI Specialist
  2. Sources: legislation, official body, and vendor information is taken from the primary sources in the Sources list on this page; each source shows the date it was last checked.
  3. Product information: sentences about Corex360 rest on the company's product fact records; unconfirmed features are not written.
  4. Use of AI: the Corex360 team writes the text; AI tools are used for drafting and translation. Publishing principles
  5. Dates: first published , last updated . Corrections policy

Frequently asked

01What is ecommerce ERP integration?

Ecommerce ERP integration means the order in the online store is transferred into the ERP without retyping, and stock and prices in the ERP are sent back to the store. Information flows both ways.

02Should integration run in real time?

When sales are fast and stock is low, real-time transfer prevents overselling. Transfers at set intervals can also work, but products sold in the gap still show as in stock.

03Why does stock go negative?

Usually when the same stock is sold through several channels and one channel is not updated, or when the product code and the stock card do not match. Naming a single source of truth for stock reduces the problem.

04Where should you start if product codes do not match?

First, list each store variant alongside its stock card in the ERP, and mark those without a match. If the integration goes live before the matching list is finished, orders reach the ERP but never touch stock.

05Where is the invoice for an ecommerce order prepared?

The invoice is usually prepared on the ERP or accounting side from the order data. Which type of document must be issued depends on tax rules; confirm this with your accountant.

06What does CRM do in this flow?

The ERP manages the order, stock, and invoice; CRM follows the relationship with the customer who placed the order: the parcel question, the return request, the wholesale price request. In Corex360, WhatsApp, Instagram, and web conversations land on the customer card through a single inbox.

✳
Let us find the information you type twice

The accounting module issues sales and purchase invoices on the same core as the customer card; let us trace one of your own jobs from quote to invoice together.

Related articles

Keep reading.

ERPWhat is ERP? What it does and does not do for a small business

ERP is software that keeps purchasing, stock, invoicing, and payroll records in one database. In a small business it stops double entry, but not every problem.

DateRead the article01
ERPInventory management software versus ERP: where the difference lies

Inventory software tracks what comes in, goes out, and remains; ERP ties each movement to orders, invoices, and cost. A few signs show which one you need.

DateRead the article02
ERPHow to choose ERP software: scope, data, and deployment

Choosing ERP software starts with the data you type twice today. Module scope, cloud or own server, accounting set-up, data migration, and the demo.

DateRead the article03
ERPWhat drives ERP cost: the items behind the quote

ERP cost comes from the licence model, user and module scope, hosting, data migration, integration, training, and maintenance. Compare quotes item by item.

DateRead the article04
AccountingWhat is bookkeeping, and where does it part ways with ERP?

Bookkeeping records daily trade, from invoices to the till, before it reaches the official accounts. It differs from formal accounting and from ERP.

DateRead the article05
AccountingCollections tracking: how an overdue receivable becomes visible

Collections tracking follows due dates and open balances by customer. If an overdue receivable never reaches the sales screen, nobody makes the call.

DateRead the article06
AccountingHow to choose bookkeeping software: invoices, accounts, and the link to sales

When choosing bookkeeping software, weigh e-invoicing, customer accounts, cash and bank, data sharing with your accountant, and the link to sales.

DateRead the article07
QuotesWhat is quote follow-up, and why do quotes go unanswered

Quote follow-up means chasing the answer to a quote you sent. When the reminder is nobody's job, the quote goes cold; on the record, follow-up has an owner.

DateRead the article08

Was this page useful?

Corex360
Request a demo