Set up Logic ERP
Push Zopping orders, cancellations and invoices to Logic ERP over its REST API (HTTP Basic auth), and pull stock back. This is a built-in connector — register your API user credentials and Zopping does the rest.
Prerequisite: the ThirdPartyIntegration
extension must be enabled for the organization.
1. Configure credentials
Add your Logic ERP details to the organization's integration config under the
LOGICERP key:
{
"partnerIntegration": {
"partnerCredentials": {
"LOGICERP": {
"username": "<api-username>",
"password": "<api-password>",
"partyUserCode": "<party-user-code>"
}
}
}
}
| Field | Required | Notes |
|---|---|---|
username | yes | Logic ERP API username (Basic-auth username on every request). |
password | yes | Logic ERP API password (Basic-auth password on every request). |
partyUserCode | yes | Numeric party user code. Sent as Party_User_code on sale orders and PartyUserCode on invoices. |
2. Supported events
Direction: PUSH = Zopping → Logic ERP; PULL = Zopping pulls from Logic ERP.
| Direction | Events |
|---|---|
| PUSH | ORDER_CREATE, ORDER_CANCEL, ORDER_PACK |
| PULL | PRODUCT_INVENTORY_CHANGE |
Enable delivery per event via event integrations.
Endpoints used
POST /api/SaveSaleOrder→ order createPOST /api/CancelSaleOrder→ order cancelPOST /api/SaveInvoiceAgainstSO→ invoice against sale order
Mapping notes
- The Zopping store
clientIdmust be the numeric Logic ERPBranch_Code. - The Zopping order
referenceNumberis sent asParty_Order_No.