SAP Business One and SparkLayer Integration
If you sell to trade customers on Shopify and run SAP Business One, the hard part is not the storefront. It is making sure each customer sees the price they are actually entitled to: their price band, their special prices, their quantity breaks. SparkLayer handles B2B pricing on Shopify. This page explains how we connect it to SAP Business One so that SAP stays the single source of truth for every price, based on a project we delivered for a UK trade supplier.
What the integration does
- Price bands. Nine SAP Business One price lists (Band 1 to Band 9) are created and kept up to date as price lists in SparkLayer. New bands added in SAP are picked up automatically.
- Special prices and quantity breaks. Customer special prices and quantity discounts held in SAP are reshaped into separate SparkLayer price lists, so the right customer sees the right price at the right quantity.
- Default Shopify price. One band (Band 2 in this project) is pushed to Shopify as the standard product price. SparkLayer needs a default price to work, so this is not optional.
- Stock. Stock levels from SAP are updated in Shopify every hour.
- Orders. New Shopify orders are collected every three minutes and created in SAP as sales quotations, against the right business partner, so the sales team can check them before they become orders.
Everything runs on BPA Platform from Codeless Platforms, with a SQL staging database in the middle. Every price list, price and order is recorded there with its status, so you can always see what was sent, when, and whether it worked.
What takes the real work
Copying a price list from one system to another is the easy part. These are the things that took the design time on this project, and they are the things a generic connector tends to miss.
Prices that are removed, not just changed. When a special price is deleted in SAP, nothing “changes”, so a sync that only looks for updates never notices. The old price stays live on the website. We built a separate check that spots removed special prices, clears that price list in SparkLayer and uploads it again from SAP, so a withdrawn price actually disappears.
Gaps in quantity pricing. Quantity discounts in SAP do not always include a price for a quantity of one. Left alone, that leaves a hole in the customer’s price list. Where there is no single unit price, the integration takes it from the customer’s price band instead.
Volume and API limits. Each price list holds thousands of prices, and Shopify limits how fast you can send updates. Stock and price updates are sent in batches with short pauses between them, and each run keeps going until every record is processed. Without that, large updates fail part way through and leave prices half updated.
Linking Shopify customers to SAP accounts. Orders need to land against the right SAP business partner. Each Shopify customer carries their SAP account code, and the integration reads it when an order comes in. If the code is missing, the order waits and is retried every 15 minutes rather than being created against the wrong account.
Errors that fix themselves, and ones that do not. Failed orders are retried automatically up to three times. Anything still failing after that, and any price list SparkLayer rejects, is emailed to a named person with the reason, so problems are dealt with instead of sitting unnoticed.
What was deliberately left out
Being clear about scope is part of keeping a project on budget. On this project the customer chose to manage these themselves, and each one can be added if you need it:
- Creating Shopify customers and linking them to SAP business partners
- Creating and updating products in Shopify from SAP
- Sending order status back to Shopify, cancellations, and refunds or credit notes
- Rounding differences between the two systems on multi-currency prices
What it typically costs
This project took 12 days in total, covering build, testing, go-live and documentation. A comparable SAP Business One and SparkLayer integration is typically 10 to 14 days, roughly £11,000 to £16,000 + VAT, depending on how many price lists you have, how special prices are set up in SAP, and whether orders and stock are included.
That figure is our consultancy only. The BPA Platform licence and your SparkLayer subscription are separate. The range is indicative: every project starts with scoping, and you get a day-by-day estimate before any build work begins.
Questions we get asked
Does SAP Business One stay in charge of pricing?
Yes. Prices are maintained in SAP as they are today. The integration copies them to SparkLayer and Shopify, never the other way round.
How quickly does a price change reach the website?
In this project, price lists were checked every 10 minutes and the default Shopify price was updated hourly. Timings are set to suit your volumes and API limits.
Why do orders arrive as sales quotations?
Because that is what this customer wanted: trade orders reviewed by the sales team before they become sales orders. Orders can just as easily be created as sales orders if you prefer.
We already run Shopify with SAP Business One. Can you add SparkLayer?
Yes. We review what is already in place first, because pricing changes affect how orders come back into SAP. If you are starting from scratch, see our Shopify and SAP Business One integration guide for the wider picture.
Talk to us
If you are planning B2B pricing on Shopify with SAP Business One, or your current price sync is not keeping up, get in touch and tell us how your prices are set up today. Or get an indicative quote in a few minutes.