Epicor Prophet 21 integration: carriers, ecommerce, EDI and CRM
Prophet 21 integrations usually run through the P21 middleware APIs, which expose REST and OData endpoints for reading data and transaction services for creating orders and other records, sometimes combined with DynaChange business rules for event-driven logic. The common projects are carrier shipping, B2B and B2C ecommerce, marketplaces, EDI with large customers and suppliers, and CRM or document tools.
When this makes sense
- Your warehouse re-keys tracking numbers from FedEx, UPS or DHL into Prophet 21
- Web orders from your storefront or marketplaces like those managed in ChannelAdvisor arrive by email or spreadsheet
- Big customers require EDI 850, 855, 856 and 810 documents and your current process is manual
- Sales wants P21 pricing, availability and order history inside CRM
- Signed quotes or credit applications need to flow from DocuSign into customer and order records
What the engagement covers
Interface inventory
List every system that touches P21: shipping, storefront, marketplace, EDI provider, CRM, AP automation, BI, and the objects each moves (customers, items, prices, orders, invoices, inventory).
API method per flow
Use OData or REST reads for item, price and availability lookups, and transaction APIs for order entry, so P21 validation and pricing logic apply.
Pricing and availability
Expose customer-specific prices from price libraries and price pages, and available quantity by location, without duplicating P21 pricing logic in the storefront.
Shipping and carriers
Return tracking numbers, freight charges and package details to the order and pick ticket, either through a shipping system or carrier APIs.
EDI
Map EDI documents through your EDI provider to P21 orders, acknowledgments, advance ship notices and invoices, with trading partner specific rules.
Business rules and events
Use DynaChange business rules for validations or outbound triggers on save, keeping heavy work asynchronous so order entry stays fast.
Monitoring
Logging, alerting and a daily reconciliation of orders, shipments and invoices between P21 and each external system.
How it runs
- 1
Discovery (1-3 weeks)
- Map flows and data owners
- Review P21 version and API setup
- Pick connector versus custom per flow
- 2
Design and build (3-8 weeks)
- Write field mappings
- Build API calls or connector configuration
- Add business rules where needed
- 3
Testing (2-4 weeks)
- Test pricing, tax and freight edge cases
- Run EDI test cycles with trading partners
- Reconcile volumes
- 4
Go-live (1-2 weeks)
- Cut over flows one at a time
- Monitor exceptions daily
- Hand over runbooks
What you get
- Integration map for all P21 interfaces
- Mapping specifications per flow and trading partner
- Configured connectors or API services in source control
- DynaChange business rules with documentation
- Exception dashboard and reconciliation report
- Support runbook
What drives cost and effort
| Number of systems and trading partners | Each EDI partner and each channel adds mapping and testing cycles. |
| Pricing complexity | Contract pricing, rebates and price pages make storefront pricing harder to get right. |
| Real-time requirements | Live availability and pricing calls need performance testing; batch feeds are simpler. |
| Packaged connector availability | A supported connector for your platform reduces build effort but adds license cost. |
| P21 version and hosting | Older versions or Epicor-hosted environments can limit which APIs and access methods are available. |
| Data quality | Inconsistent item numbers, units of measure or customer ship-tos create many integration errors. |
Per-connector project
One defined flow, such as carrier tracking or a single storefront.
Integration roadmap on time and materials
Several channels, EDI partners and CRM at once.
Managed integration monitoring
Distributors that want failures handled without internal developers.
Questions to ask any Epicor Prophet 21 consultant
Which P21 APIs will you use for each flow and why?
Using transaction APIs keeps P21 pricing and validation in play; direct table writes do not.
How do you handle customer-specific pricing for web orders?
Wrong prices online are a fast way to lose margin or customers.
Have you integrated our shipping system or carrier before?
Carrier and packing workflows differ, and prior experience shortens testing.
How do you test EDI with trading partners?
Large customers have strict compliance rules and chargebacks.
How will we see failed transactions?
Monitoring prevents lost orders and invoice mismatches.
What happens when we upgrade P21?
API and business rule behavior can change between versions; plan regression tests.
Score candidate partners side by side with the free Implementation Partner Scorecard
Where these projects go wrong
Storefront calculates its own prices
Call P21 for prices or sync from price libraries with clear refresh rules.
Unit of measure mismatches
Map units explicitly per item and channel and test edge cases.
Business rules slow order entry
Keep rules light and move outbound calls to queued processing.
EDI errors cause chargebacks
Run full test cycles per partner and monitor 997 and 855 acknowledgments.
No reconciliation
Compare daily counts and totals across systems and alert on gaps.
Many carriers, shipping systems, EDI providers and commerce platforms already offer Prophet 21 connectors. If one fits your process, buy it and spend consulting time only on configuration and testing. Custom integration is for flows no connector covers well.
Frequently asked questions
Does Prophet 21 have an API?
Yes. P21 provides middleware APIs with REST and OData endpoints for reading data and transaction services for creating and updating records. Availability and setup depend on your version and hosting.
What are DynaChange business rules?
They are P21's way of adding custom logic, written in .NET, that runs on events such as saving an order. They are useful for validations and triggers but should be kept efficient.
Can P21 connect to FedEx, UPS and DHL?
Yes, usually through a shipping system or carrier connector that writes tracking and freight back to the order. The details depend on your warehouse process and packing stations.
How do marketplace orders get into P21?
Through a marketplace manager or iPaaS that maps marketplace orders into P21 sales orders via the API, with SKU and customer mapping.
Can Netray build AI on P21 data?
Yes. Netray builds private AI that answers questions over P21 data on your own infrastructure, read-only by default, alongside integration work with partner P21 experts.