Corefact - Order Update Specs

The specifications on this page are for submitting an order to Corefact, or for requesting a reprint of an existing order.

Servers

For test transactions:

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

For live transactions:

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

Request

Requests may be submitted via GET or POST. The following parameters are supported:

email
Required Login email, assigned to you by Corefact
password
Required Login password, assigned to you by Corefact
function
Required One of the following:
  • change_ship_method - sets the order's shipping method to a new method passed in data
  • change_ship_address - sets the order's shipping address to a new address passed in data
  • cancel - cancels the order
  • reprint - submits the order to be printed with all of its original data
order_id
Required Your order number
data
Required in some functions Arguments to be passed to the function you are calling (a shipping address, shipping method, etc.) delimited with ||
  • change_ship_method - data should be the name of the new shipping method
  • change_ship_address - data should be attn||company||address1||address2||city||state||zip||country
  • cancel - data will be ignored
  • reprint - data will be ignored
notes
Optional Notes to be appended to the orders' Notes_Production field

Response

If successful, the response will look like this:

SUCCESS

If there is an error, the response will look like this:

FAIL - <error message> <error code>