Supplier Integration | Gelato

Supplier Integration | Gelato

Introduction

This article has been created to show how to setup the supplier integration Kornit X has built to connect to Gelato. 

Setup

To setup the Gelato supplier integration, please head to your company and within the advanced settings head to "Supplier Integrations" and click to enable the Gelato option. This has been shown below.

When setting this up you will need to set the "Customer ID" and "API Key" which will be provided to you by Gelato themselves when you the customer sets up an account with them.

Workflow

Orders for companies with Gelato enabled that are on the status of received will be sent to Gelato every hour. The following data will be sent out for each order:

$ curl -X POST \ 

   https://order.gelatoapis.com/v3/orders

   -H 'Content-Type: application/json' \ 

   -H 'X-API-KEY: {{apiKey}}' \ 

   -d '{ 

        "orderReferenceId": "{{myOrderId}}", 

        "customerReferenceId": "{{myCustomerId}}", 

        "currency": "USD", 

        "shipmentMethodUid": "express", 

        "shippingAddress": { 

             "country": "US", 

             "companyName": "Example", 

             "firstName": "Paul", 

             "lastName": "Smith", 

             "addressLine1": "451 Clarkson Ave", 

             "addressLine2": "Brooklyn", 

             "state": "NY", 

             "city": "New York", 

             "postŠ”ode": "11203", 

             "email": "apisupport@gelato.com", 

             "phone": "123456789" 

         }, 

        "items": [ 

            { 

                "itemReferenceId": "{{myItemId1}}", 

                "productUid": "cards_pf_bx_pt_110-lb-cover-uncoated_cl_4-4_hor", 

                "fileUrl": "https://s3-eu-west-1.amazonaws.com/developers.gelato.com/product-examples/test_print_job_BX_4-4_hor_none.pdf", 

                "quantity": 100 

            }, 

            { 

                "itemReferenceId": "{{myItemId2}}", 

                "productUid": "cards_pf_5r_pt_100-lb-cover-coated-silk_cl_4-4_hor", 

                "fileUrl": "https://s3-eu-west-1.amazonaws.com/developers.gelato.com/product-examples/test_print_job_5R_4-4_hor_none.pdf", 

                "quantity": 30 

            } 

        ] 

    }' 

Regarding the "shippingMethodUid", by default Gelato will pick the cheapest option. Otherwise you can specify this to either "normal" or "express".
    • Related Articles

    • Supplier Integration | Probo Supplier

      Introduction This article has been created to show how to setup the supplier integration Kornit X has built to connect to Probo.  Setup To setup the Probo integration, please head to your company and within the advanced settings head to "Supplier ...
    • 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 | 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 ...
    • 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 | Anatwine

      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 ...