The specifications on this page are for requesting the status of an order at Corefact.
http://www.printhq2.com/order_status.php
https://www.printhq2.com/order_status.php
'http' is supported in addition to 'https' but not recommended for security reasons.
Four GET parameters are required on every call:
login |
Required | Assigned to you by Corefact. |
password |
Required | Assigned to you by Corefact. |
client_order_id |
Either one or the other is required. | Your order number |
prog_order_id |
Corefact's order number |
If successful, the response will look like this:
<?xml version=”1.0" encoding="UTF-8"?>
<response>
<code>1</code>
<description>Success</description>
<status>Status of the order</status>
<prog_order_id>12345678</prog_order_id>
<client_order_id>12345678</client_order_id>
<tracking_number>Z91235-1234555</tracking_number>
</response>
If there is any error, the response will look like this:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<code>0</code>
<description>Description of the error</description>
</response>