Inventory management integrations with Dynamics 365: what to connect and how
Inventory integrations with Dynamics 365 connect the ERP to the systems that move or sell stock: third-party logistics providers, external WMS, ecommerce, EDI partners, procurement portals and shop floor tools. The pattern depends on your app: Business Central uses API v2 and custom API pages, Finance and Supply Chain Management uses data entities, OData, recurring integrations, business events and the Inventory Visibility service. The hard part is not moving messages but deciding which system owns on-hand, reservations and receipts.
When this makes sense
- You use a 3PL and receipts, shipments and stock adjustments are keyed into Dynamics by hand from emails and spreadsheets.
- Your ecommerce store oversells because available stock is synced every few hours or calculated differently from Dynamics.
- You are adding an external WMS or warehouse robotics and need a clean split of responsibilities with Dynamics.
- Purchase orders go to suppliers by email and you want ASNs and confirmations to flow back automatically.
- Several plants or channels need a single real-time view of available inventory.
What the engagement covers
System of record design
Decide which system owns item master, on-hand, reservations, lot and serial numbers and location detail, and document the direction and timing of every flow.
3PL and external WMS flows
Outbound transfer or sales order releases, inbound purchase order expectations, ASN receipts, shipment confirmations and inventory adjustments, with reconciliation of on-hand snapshots.
Ecommerce and marketplace availability
Publish available-to-sell quantities using Inventory Visibility in Supply Chain Management or calculated availability from Business Central, with soft reservations where the channel supports them.
EDI and procurement
Purchase orders out, order acknowledgements and advance ship notices in, mapped to Dynamics purchase lines and receipt journals or arrival processing.
Business Central interfaces
API v2 endpoints for items, sales and purchase documents, custom API pages for item journals and warehouse documents, and webhooks for change notifications.
Finance and Supply Chain interfaces
Data entities through OData for low volumes, recurring integrations or the package API for bulk data, business events for change notification and the Inventory Visibility API for high-frequency on-hand queries.
Monitoring and error handling
Dead-letter handling, retries with idempotency keys, alerting on stuck messages and a daily on-hand reconciliation report between systems.
How it runs
- 1
Discovery and ownership design (2-3 weeks)
- Map every inventory flow and its owner
- Define item, location and unit of measure mappings
- Agree latency needs per flow
- Choose integration technology
- 2
Build (4-10 weeks)
- Build interfaces in priority order
- Implement mapping and validation rules
- Add logging, retries and alerts
- Build reconciliation reports
- 3
Test (2-4 weeks)
- End-to-end tests with the 3PL, WMS or channel
- Volume and peak testing
- Failure and recovery tests
- Inventory reconciliation dry runs
- 4
Go-live and stabilization (2-4 weeks)
- Cut over with an opening stock reconciliation
- Monitor daily
- Fix mapping gaps
- Hand over runbooks
What you get
- Inventory data ownership matrix
- Interface specifications with mappings and timing
- Built and tested integrations with monitoring
- Daily on-hand reconciliation report
- Error handling and recovery runbook
- Test evidence from end-to-end and peak volume runs
What drives cost and effort
| Number of trading partners and channels | Each 3PL, marketplace or EDI partner has its own formats and testing cycle. |
| Latency requirements | Near real-time availability needs event-driven design and possibly Inventory Visibility; nightly batch is much simpler. |
| Lot, serial and expiry tracking | Tracked items need dimension mapping in every message and stricter reconciliation. |
| Middleware choice | Using existing Azure Integration Services or an iPaaS speeds delivery; a new platform adds setup and licensing. |
| Data quality of item and location masters | Inconsistent units of measure and location codes cause most integration failures and need clean-up first. |
| Volume and peaks | High order volumes need throttling-aware design, especially for OData calls to Finance and Supply Chain Management. |
Fixed-price per interface
Well-defined flows with a 3PL or channel that has a documented format.
Integration program on time and materials
Multi-partner rollouts where formats and ownership rules are still being agreed.
Managed integration service
Companies that want someone to monitor, fix and onboard new partners after go-live.
Questions to ask any Microsoft Dynamics 365 consultant
Which system should own on-hand in our design, and why?
A clear answer prevents the two-masters problem that causes most inventory mismatches.
How do you handle a 3PL message that fails at 2am?
Retries, alerts and reprocessing matter more than the happy path.
When would you use Inventory Visibility instead of reading on-hand from Supply Chain Management directly?
Shows whether they understand throttling limits and high-frequency availability needs.
How do you reconcile inventory between Dynamics and the external system?
Without a daily reconciliation, small differences grow until a stock count reveals them.
Which integration platform would you use, and who supports it afterwards?
The platform choice affects your running cost and who can maintain it.
Score candidate partners side by side with the free Implementation Partner Scorecard
Where these projects go wrong
Overselling due to stale availability
Define latency per channel, use event-driven updates or Inventory Visibility where needed and keep safety buffers per channel.
Duplicate receipts or shipments
Use idempotency keys and check for existing documents before posting.
Unit of measure mismatches
Agree conversions in the design, validate in every message and reject unknown units.
API throttling at peak
Batch where possible, use bulk APIs for large loads and test at peak volumes.
Silent integration failures
Alert on stuck queues and run daily reconciliation reports.
If you have one 3PL with modest volumes, a prebuilt connector from AppSource or the 3PL's own Dynamics integration may cover you without custom work. Business Central's built-in Shopify connector handles many ecommerce stock sync needs. Custom integration is worth it when you have several partners, tracked items, high volumes or real-time availability needs.
Frequently asked questions
What is Dynamics 365 Inventory Visibility?
Inventory Visibility is an add-in service for Supply Chain Management that keeps a high-throughput, queryable view of on-hand and reservations across sources, with its own API. It suits channels that query availability very frequently.
Can I update inventory in Business Central through the API?
The standard API v2 items endpoint exposes inventory as read-only. Inventory changes are usually posted through item journals or warehouse documents exposed via custom API pages or OData web services.
Which API should we use for Supply Chain Management integrations?
OData data entities suit low to moderate volumes, recurring integrations or the package API suit bulk loads, and business events suit change notification. Most solutions use a mix.
Do we need middleware?
Not always. Simple point-to-point integrations can work, but middleware such as Azure Logic Apps, Service Bus or an iPaaS adds retries, monitoring and partner onboarding that pay off as partners multiply.
How do we handle 3PL inventory adjustments?
Treat adjustments as their own message type with reason codes, post them through an inventory journal with approval rules and reconcile against a periodic on-hand snapshot from the 3PL.
Can AI help with inventory integration?
AI is useful for mapping partner formats, generating test messages and explaining reconciliation differences. Netray uses AI agents for those tasks, while posting logic stays deterministic and reviewed.