Oneflow Supplier Integration

Oneflow Supplier Integration


Introduction

OMS has the ability to send orders into a OneFlow account and subsequently receive status updates for those orders.

Configuration

Supplier Link Settings

Name
Description
API Key      
An API key provided by OneFlow
API Secret
An API secret provided by OneFlow
Destination Account 

Account code provided by OneFlow

(typically this is the name of the supplier)

Component Code Method
This drop down controls how the component code field is set in the data sent to OneFlow, please refer to the below table for an understanding of how each option functions

Component Code Methods:

Use Ecommerce Manufacurers Code
Component Code will be taken from the manufacturers_code field on the ecommerce settings of the product associated with the order item.


Use Override
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

Callback URLs

NOTE: ORDERS WITH SECONDARY COMPANIES CAN ONLY BE UPDATED WITH A CALLBACK USING THE SECONDARY COMPANY GUID
From within the OneFlow system, callback URLs can be set for various events.

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.

OneFlow also needs to be told what data to include within the callback. The following templates should be used:

Order Errored

{

"TimeStamp": "{{timestamp}}",

"SourceOrderId": "{{data.orderData.sourceOrderId}}",

"OrderStatus": "error"

}

Order Shipped

{

"TimeStamp": "{{timestamp}}",

"SourceOrderId": "{{data.sourceOrderId}}",

"SourceShipmentId": "{{data.sourceShipmentId}}",

"ShipmentIndex": "{{data.shipmentIndex}}",

"TrackingNumber": "{{data.trackingNumber}}",

"OrderStatus": "shipped"

}

Order Cancelled

{

"TimeStamp": "{{timestamp}}",

"SourceOrderId": "{{data.orderData.sourceOrderId}}",

"OrderStatus": "cancelled"

}

Print Ready

{

"TimeStamp": "{{timestamp}}",

"SourceOrderId": "{{data.orderData.sourceOrderId}}",

"OrderStatus": "printready"

}

Order Received

{

"TimeStamp": "{{timestamp}}",

"SourceOrderId": "{{data.orderData.sourceOrderId}}",

"OrderStatus": "received"

}

Updated Oneflow Supplier Integration Features

At KornitX we have continued to develop updates for variants and this is due to the fact we pride ourselves on constant evolution and the release of new features and enhancements every week. We have detailed each new enhancement below. If you are interested in knowing what features arrive, they will be continually updated within the "Core Platform Feature Updates" Article - CLICK HERE

Oneflow Support With Multiple External Artworks (Item Type 7)
This was added on 22-09-2021
The Oneflow integration was updated that for orders with multiple external artworks can be generated. This is an enhancement which simply ensures the Oneflow integration is built for these types of updates and increased the amount of orders that can come through this integration. 

    • Related Articles

    • Supplier Integration: Dubow

      Introduction This article has been created to show how to setup the supplier integration Kornit X has built to connect to OnPrintShop.  Setup To setup the Dubow integration, please head to your company and within the advanced settings head to ...
    • Supplier Integration | Staples

      Introduction This article has been created to show how to setup the supplier integration Kornit X has built to connect to Staples. Setup To setup the Staples integration, please head to your company and within the advanced settings head to "Supplier ...
    • Supplier Integration | GrandHome

      Introduction This article has been created to show how to setup the supplier integration Kornit X has built to connect to GrandHome.  Setup To setup the GrandHome integration, please head to your company and within the advanced settings head to ...
    • Anatwine Supplier Integration

      Introduction This article has been created to show how to setup the supplier integration Kornit X has built to connect to Anatwine.  Setup To setup the Anatwine integration, please head to your company and within the advanced settings head to ...
    • Supplier Integration | Taylor

      Introduction This article has been created to show how to setup the supplier integration Kornit X has built to connect to Taylor.  For business enquiries with Taylor please click here.  Setup To setup the Taylor integration, please head to your ...