Looking for Magento P21 integration? Here’s our team of Magento developers to make it happen. Let’s get started

Magento is the most popular commerce platform in the world, with more than 250,000 merchants around the globe selling more and driving innovation. It is a leader in B2B commerce, powering 41 merchants on the Internet Retailer B2B eCommerce Top 300 list. With Magento, you can create an outstanding B2B experience that exceeds customers’ expectations.

Recently, Magento Commerce was named as a Leader by Gartner Inc. in the 2017 Magic Quadrant for Digital Commerce. For more information about the April 2017 Gartner Magic Quadrant for Digital Commerce, please click here.

Epicor is an industry leader in distribution software, known for its emphasis on vertical markets and developing applications on a best-of-breed basis. The Epicor Distribution Suite portfolio includes the popular distribution systems Prophet 21® and Eclipse™.

It is a fully integrated ERP solution with extensive functionality for accounting, inventory control, pre-production materials planning, and manufacturing execution (MES). The system is delivered either on-premise, hosted, or as a cloud-based Software as a Service (SaaS) offering.

ERP is short for enterprise resource planning. Enterprise resource planning(ERP) is business process management software that allows an organization to use a system of integrated applications to manage the business and automate many back office functions related to technology, services, and human resources.

Magento 2 – P 21 Integration

In this article, we share our knowledge to integrate the popular open source digital commerce platform – Magento 2 with Prophet 21, called P 21.

Magento 2 has many new and improved features. Magento 2’s industry standard API feature called REST was used to Integrate with P 21 in both ways.

REST API services of P 21 was implemented to sync Customer and Order data into P 21.

In the same way, P 21 uses Magento 2 REST API to send back Customer address update data, Product Create and update.

To create an order which originated in P 21 into Magento 2, we used Magento 2 cron which will extract JSON data from the file. Once the file is created, it is fed into Magento by P 21.

Magento P21 integration

Data Services – P 21

Customer Create

When a new customer is registered in Magento, it will also be created in P 21 and a P 21 customer id will be assigned.

Customer Specific Pricing

If the logged-in customer is a contractor, then the contract pricing will be pulled from P 21.


When a customer views the product listing in the website, the P 21 service checks the availability of the product stock and displays the current inventory status on the website.

Credit Line

The credit line service allows a customer to purchase without making any immediate payment.

Order Feed

P 21 offline orders (for e.g. by sales team) need to be synched with Magento and this is achieved by order feed CSV.

Data Services – Magento 2

Customer Update

When a customer is created in P 21 (based on a registration in Magento), it updates Magento with the following information – P 21 Customer ID, Sales Location ID, Billing and Shipping Address, and Freight Type.

Product Create and Update

The product created in P 21 will be created with basic information into Magento. If there is any change in the product price or weight, this will be updated in Magento.

Order Status Update

Status and tracking information will be updated using this web service for the orders which originated in Magento.


Magento allows you to make your site your own. An integration with an ERP makes it far more cost-effective than a re-platform and grants you access to a ton of benefits.

A seamless integration of Magento with P 21 is sure to make your lives easier and focus on customers and your business.

Cloras, a DCKAP product, is an enterprise ERP integration platform specializing in Magento P21 integration. Request a free demo to see how Cloras can solve your current integration challenges.

If you have any queries…please visit our FAQ section or feel free to get in touch in the comments section below.


  • Iyappan

    Iyappan is a Certified Magento Developer Plus Technical Architect at DCKAP. He is passionate about Magento. He is the 'go-to' guy for all our Magento needs. A cool-headed, hands-on veteran of many end-to-end implementations.


Ready to drive online revenue

Get In Touch

Leave a Reply

Your email address will not be published. Required fields are marked *