

Component Code Name | Description |
Use Ecommerce Manufacturer Code | This code will be taken from the manufacturers_code field on the ecommerce settings of the product associated with the order item. This gives the ability for each product to have its own component code set. |
User Override | This option allows a Component Code to be defined throughout the integration so all orders for this integration will use the same code. The Component Code will be taken from the override_component_code field on the integrations settings set here. |
Use Each Print Area Name | Component Code will be taken from the name field on each of the print areas of the product associated with the order item. This will also cause the integration to send a component for each print area as opposed to a single component. For this to work you must set up the print area’s names field with the component code. If you have some products which require multiple component codes and some that do not you will need to use the Print area name set up and set all print area names on the products to have the correct component code for the product/print area. |
Orders should be updated using the "Fulfiller" API key and company ref. The structure of the callback URL should be as follows:
https://api-client.custom-gateway.net/oneflow/postback/?g=COMPANYREFID&k=APIKEY
Where COMPANYREFID and APIKEY are substituted for their respective values.
HP Site Flow also needs to be told what data to include within the callback. The following templates should be used:
Option Name | Template |
Order Errored | { "TimeStamp": "{{timestamp}}", "SourceOrderId": "{{data.orderData.sourceOrderId}}", "OrderStatus": "error" } |
Order Shipped | { "TimeStamp": "{{timestamp}}", "SourceOrderId": "{{data.sourceOrderId}}", "SourceShipmentId": "{{shipmentId}}", "ShipmentIndex": "{{data.shipmentIndex}}", "TrackingNumber": "{{data.trackingNumber}}", "OrderStatus": "shipped" } |
Order Cancelled | { "TimeStamp": "{{timestamp}}", "SourceOrderId": "{{data.orderData.sourceOrderId}}", "OrderStatus": "cancelled" } |
Order Received | { "TimeStamp": "{{timestamp}}", "SourceOrderId": "{{data.orderData.sourceOrderId}}", "OrderStatus": "received" } |
