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.
Basic ERP Integration (Order Flow Process)
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 :
Create Customer Api
When customer creates account in your website
Must return new Customer ID created in ERP
Create Order Api
When order is placed in website
Must return new Order ID created in ERP
Sample API Format to create for commerceup :
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.
Sample API format to create via custom ERP
GET
/createcustomer
When customer creates account in website hosted by commerce, Commerceup will call above sample api hosted at ERP end.
Headers
Name | Type | Description |
---|---|---|
password | string | |
username | string |
Request Body
Name | Type | Description |
---|---|---|
body | object | {} |
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.
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
When user cancels order items from Order placed
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 updated