Corefact - Order Status Web Service Specs

The specifications on this page are for requesting the status of an order at Corefact.

Servers

For test transactions:

http://www.printhq2.com/order_status.php

For live transactions:

https://www.printhq2.com/order_status.php

'http' is supported in addition to 'https' but not recommended for security reasons.


Request

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

Response

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>
      

Possible Statuses:

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>