Case study · Publishing

First Book Marketplace orders, through the store and into the ERP

Who this is for For a publisher or distributor whose First Book Marketplace orders, or another partner's, arrive as files that someone keys in, and whose shipping confirmations go back by hand.

A publisher keyed its First Book Marketplace orders into its ERP by hand, from files sent over FTP, and sent the shipping files back by hand. We built an API into its Magento store: First Book Marketplace sends each order, the store places it and the ERP export picks it up, and every shipment is confirmed back with invoice and tracking data. Since April 2026: 318 orders, about $93,000.

  • Publishing
  • First Book Marketplace
  • Magento Open Source

Home / Case studies / First Book Marketplace orders, through the store and into the ERP

The situation

  • A publisher sells through First Book Marketplace, which places orders for recipient organizations across the country.
  • Its First Book Marketplace orders arrived as files over FTP and were keyed in by hand, and the shipping files went back the same way.

What we connected

  1. 1First Book Marketplace to Our order API: each order, by API
  2. 2Our order API to Magento Open Source: placed as a store order
  3. 3Magento Open Source to Their ERP: the store's ERP export
  4. 4Their ERP to Magento Open Source: tracking
  5. 5Our order API to First Book Marketplace: invoice, shipment and tracking

What changed

  • Orders keyed by hand318 First Book Marketplace orders came in through the API from April 29 to November 23, 2026, about $93,000 by the marketplace's own amounts
  • Into the ERPIn normal running, each order reaches the ERP export within about 15 to 30 minutes
  • Shipping confirmationsEvery shipment confirmed back to First Book Marketplace with invoice and tracking data: 313 of 313
  • BillingEvery order billed to the marketplace's account in the ERP
  • ReachOrders for 258 recipient organizations in 41 states
How we built it

An API in the store

We built an order API into the publisher's Magento store, on Magento's own integration access. First Book Marketplace sends each order to it, and reads the titles it may list and their live stock. The publisher decides which titles those are by giving them a marketplace price.

Queued, then placed

The store saves each order and queues it, then places it as a store order within seconds, checking stock first. The store's existing ERP export picks it up from there.

Confirmed back

When the ERP ships an order, the shipment, its items and its tracking numbers go back to First Book Marketplace in one request, so nobody prepares a shipping file.

Part of the store

It is two modules in the store and a change to the ERP export it already ran, not a separate app. Orders that fail a check wait on their own screen in the admin, where the team can send them through again.

The whole story

Files and re-keying

The publisher sells through First Book Marketplace. Those orders came as files over FTP and were keyed in by hand, and the shipping files went back the same way.

Built into the store

We built the integration into the publisher's Magento store over the first months of 2026. On April 29 First Book Marketplace started sending orders through the API, starting with the one after the last order entered by hand.

What went wrong

At the end of May, orders stopped for four days. The store's free shipping had been switched off for the whole site, and the integration used it, so the marketplace's orders failed. We gave these orders their own shipping rate, and the waiting ones went through.

Since then

From April 29 to November 23, 318 orders came in through the API, about $93,000 by the marketplace's own amounts, for 258 recipient organizations in 41 states. In normal running each order reaches the ERP export within about half an hour, and every shipment has been confirmed back.