AddedFeaturesAuto»Custom Integration

Custom Integration

NRGship has the ability to integrate with other eCommerce or ERP systems using a common XML schema thru simple HTTP requests. NRGship supports three methods - get a list of orders, get a single order, and update an order.

Once you have written the request handlers and configured NRGship, you can use the Get Order or Get All buttons to download orders for shipment.

Preferences

Select an import format of NRG Web. NRGship will then prompt you to enter the list and detail URLs. It is also highly suggested that your coding include an import token value to insure that requests to the method are valid.

Order List

NRGship will call the List URL and append a GET parameter of "token" containing the token value from preferences.
This method should return a list of orders using the NRGship <OrderList> schema as displayed below.

<OrderList>
<OrderCount>...</OrderCount>
<Order><User_ID>...</User_ID></Order>
...
<Order><User_ID>...</User_ID></Order>
</OrderList>

Order Detail

NRGship will call the Detail URL and append GET parameters for "token" and "User_ID".

This method should return order detail using the <Shipment> schema.

Link to NRGship XML schema page -- http://www2.nrgsoft.com/pmwiki/ups_mac/pmwiki.php/AddedFeaturesAuto/NRGshipXMLSchema

Update

Link to NRGship Post shipment URL handler information...
http://www2.nrgsoft.com/pmwiki/ups_mac/pmwiki.php/AddedFeaturesAuto/PostShipmentURLHandler

Sample Code

Link to download sample code archive - www.nrgsoft.com/support/assets/NRGshipJoomla.zip

The PHP code archive was created for a custom integration with VirtueMart, a open source e-commerce system for Joomla. In this sample, each method has been created as a separate PHP file. This code can be easily modified to query data from your e-commerce or ERP system.

... say something about addl cost for nrg to provide integration assistance...