How to integrate any ERP with Commerceup
This document describes functionality to implement ERP with commerceup. No matter which ERP you are using, Following are the ways and details we will need.
  1. 1.
    Basic ERP Integration (Order Flow Process)
  2. 2.
    Advanced ERP Integration (Order Flow Process)
This is basic flow how ERP integration will work if we just want to push order details from website to commerceup.
This will require 2 apis :
  1. 1.
    Create Customer Api
    1. 1.
      When customer creates account in your website
    2. 2.
      Must return new Customer ID created in ERP
  2. 2.
    Create Order Api
    1. 1.
      When order is placed in website
    2. 2.
      Must return new Order ID created in ERP
Sample API Format to create for commerceup :
1
URL - https://www.abc.com/createCustomer
2
Method : POST
3
Auth : In headers
4
UserName = “commerceup”
5
Password = “[email protected]
Copied!
Basic Auth with Username and Password is the minimum requirement, which will be sent in headers. If any other Auth is required, then documentation and example JS code (or in POSTMAN) must be shared.
get
/createcustomer
Sample API format to create via custom ERP
Above format is JSON, It can be XML format as well according to which you api and systems support. This is just for reference which we are using currently with other erp.
Basic Auth with Username and Password is the minimum requirement, which will be sent in headers. You can also use bearer token authorization. If any other Auth is required, then documentation and example JS code (or in POSTMAN) must be shared.
Above format is JSON, It can be XML format as well according to which you api and systems support. This is just for reference which we are using currently with other erp.
  1. 1.
    Advanced ERP Integration (Order Flow Process) :

Apart from basic integration, If you want to enable cancellation and returns from the website and push it to ERP. You can use following api :
Cancel Order
  1. 1.
    When user cancels order items from Order placed
  2. 2.
    Must return success flag
For this you can also use commerceup open api’s to write and update inventory and other details in commerceup from your system.

Last modified 3mo ago