Supplier Integration | Dream Junction

Supplier Integration | Dream Junction

We can now send orders to Dream Junction via their API

Settings

API Token, Account ID, Account ZIP

All these settings are reuqired to connect to
the Dream Junction API and can be fetched from your Dream Junction account.

Use Order Billing Address

When set this will cause the ship_from fields to be set based on the billing address
of the order as opposed to the usual functioning of it which is to use the ship from
settings as set in your Dream Junction account

Setup

Underbase

The products setup for Dream Junction can have an underbase attribute setup on them.

This attribute must be internal and named the same name as the print area + underbase
so for example the underbase attribute for the print area named `Front` would be `Front underbase`
This is case sensitive so use the same casing as the print area name and lowercase
on the word underbase

This attribute is used in the dream junction design data which is created for the
front and back print area of the related order item, as you can see below.

Workflow

Only External Artwork or Print Job orders can go to Dream junction, print job orders
will only send areas named Front or Back (case insensitive) and at least one must be sent

External Artwork orders send the external artwork as the Front area


The Dream Junction API simply sends orders on received in OMS to Dream Junction,
it creates the below data for each order, items would contain every item in the order
and designs is the print outputs for the front and back areas of the item.

Once the order is Dream Junction we poll Dream junction for its status and update it
as it updates in Dream Junction

Example order data:

  1. {
     "type": "order",
     "account_id": "DJ Account ID",
     "account_zip": "DJ Account Zip",
     "purchase_order": "Order ID",
     "ship_provider": "Order Shipping Carrier",
     "ship_methoid": "Order Shipping Method",
     "order_notes": "normal if order is not urgent else express",

     "ship_to": {
      "first_name": "Order Customer Name Split",
      "last_name": "Order Customer Name Split",
      "company_name": "Order Ship Company Name",
      "address": "Order ship address 1",
      "address2": "Order ship address 2 + 3",
      "city": "Order Ship Address 4",
      "state": "Order Ship Address 5",
      "zip_code": "Order Ship Post Code",
      "country": "Order Ship Country",
      "email": "Customer Email",
      "telephone": "Customer Mobile or Telphone in that priority order"
     },

     "ship_from": {
      "comment": "Same as ship to but from billing if the integration has",
      "comment": "use order billing address ticked"
     },

     "items": [{
      "sku": "Item Mapped SKU",
      "customer_skus": "Item SKU",
      "name": "Item Description",
      "quantity": "Item Quantity",
     

      "designs": [{
       "placement": "front or back",
       "art_file": "PJ Output name",
       "art_url": "PJ Output URL",
       "underbase": "Underbase Attribute Value (see setup)"
      }]
     }]
    }