Magento 2 integration with Turum B2B footwear wholesale
- Compatibility
- 2.4.9, 2.4.8, 2.4.7, 2.4.6, 2.4.5, 2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4.0
Description / Magento 2 integration with Turum B2B footwear wholesale
One style, separate stock for each size
A customer wants size 41. The wholesaler still has sizes 40 and 42, but 41 has sold out. With the Turum integration, customers choose a size on a single product page, and you can see exactly which variant they ordered.
Import the catalogue and keep your own descriptions
The module downloads the full Turum catalogue and shows the fields it finds for styles and variants. Map each field to an existing Magento attribute or create one, then choose when its value can change.
Import the supplier’s description only when creating a product to protect your editorial work. Other attributes can update whenever the source changes. New products are disabled so you can review them before publication.
Calculate selling prices from purchase costs
Set the supplier currency, the unit used for amounts and whether purchase costs include VAT. For VAT-inclusive costs, the module uses the configured purchase VAT rate. Use the Magento exchange rate or enter one manually.
For example, EUR 100 excluding VAT at PLN 4.20 per euro gives a cost of PLN 420. A 20% margin gives a selling price of PLN 525 excluding VAT. Override the global rule for a style or individual size. Percentage markups and fixed surcharges are also available.
Assign supplier stock to an MSI source
Keep Turum quantities in a separate inventory source alongside your own warehouse. Set a buffer to hold back some pairs. The module compares variant availability and writes the changed quantities.
A size is treated as withdrawn after it is missing from a configured number of complete catalogues. If many variants disappear at once, an administrator can review them before approving zero stock. Updates can resume when a variant returns with the same identifier.
Reserve ordered pairs from Magento
Open an order and select the action to check and reserve with Turum. The module checks each variant’s purchase price and available quantity. A price change or insufficient stock stops the process before the reservation is sent.
View the reservation number and status, tracking details and the supplier’s PDF invoice when available. Choose delivery to your warehouse or to the order recipient.
See what needs attention
The Turum B2B diagnostics screen shows missing settings, cron and queue status, and recent errors. After correcting a mapping or setting, an operator can retry the failed job from the admin panel. Technical staff can also retry it from the command line.
Technical details
- Magento 2 catalogue, configurable products and MSI
- Source: Turum B2B API with B2B login and password
- One configurable product per style and one simple product per size
- Pricing: percentage margin, percentage markup or fixed surcharge
- Exchange rate: Magento or manual
- Admin: kowal.store → Modules → Turum B2B
- Magento cron and consumers turum.product.create and turum.offer.update
- Distribution after release: kowal/turum-integration via Composer at repo.kowal.store
Questions and Answers
How are shoe sizes stored in Magento?
Can my team keep its own descriptions?
Can I set a different margin for a style?
Can Turum have a separate warehouse and stock buffer?
What happens when a size disappears from the catalogue?
When is store data updated?
Does a customer order automatically reserve stock?
Where can I find tracking and the invoice?
What is required to install and run the module?
How can I investigate a failed import?
Integration Configuration
Account and connection
Under Stores → Configuration → Kowal → Turum B2B, save the API account credentials in the default scope. Test the saved credentials, then download the full catalogue to discover its fields.
bin/magento turum:account:test
bin/magento turum:catalog:discoverMap styles and sizes
Select the attribute set and store view. In field mappings, approve exactly one global single-select attribute as the size axis. For descriptions, choose whether to skip, write only on creation or update on change.
Prices and inventory
Enable price and stock synchronisation separately. Set the currency, amount unit, net or gross basis, purchase VAT and exchange rate. Choose a margin, markup or fixed surcharge. Select an active MSI source assigned to the website stock and set a buffer.
Reservations and diagnostics
Enter your company details, select the delivery address and enable manual reservations for authorised operators. Optionally refresh statuses every ten minutes. Check cron, queues and failed jobs in diagnostics.
Module Installation Instructions
Install with Composer
Once repository access is available, run these commands from the Magento root in a test environment. In production, include DI compilation and static content deployment in your store’s release process.
composer config repositories.kowal composer https://repo.kowal.store
composer require kowal/turum-integration
bin/magento module:enable Kowal_Base Kowal_TurumCatalog Kowal_TurumReservations
bin/magento setup:upgrade
bin/magento cache:cleanRun a trial import
After configuring the account and mappings, replace SKU_MODELU with a real Turum style SKU. Check size associations and stock before enabling the products. Keep Magento cron and both queue consumers running.
bin/magento turum:catalog:sync --sku=SKU_MODELU
bin/magento queue:consumers:start turum.product.create --max-messages=1Process an order
Open the order and run the Turum availability check and reservation. Check the reservation UUID after confirmation. If the connection drops during submission, confirm the outcome with the wholesaler before retrying.