Native API Access

DataConnect.io also acts a general-purpose proxy that allows you to make any native call to a shopping platform and receive the native data in response.

Ready to test PrestaShop

We prepared a PrestaShop test shop for you to check out how easy it is to integrate with an eCommerce platform using DataConnect.io.

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Ready to test Magento

We prepared a Magento test shop for you to check out how easy it is to integrate with an eCommerce platform using DataConnect.io.

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Ready to test Shopify

We prepared a Shopify test shop for you to check out how easy it is to integrate with an eCommerce platform using DataConnect.io.

curl -X GET -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIyMmY1NzhhMzM3YzE0NTNiOTBmYzk3NzM3YjNhMGY0MCIsImlhdCI6MTQ4ODI4Njg2MCwiZXhwIjoxNTE5ODIyODYxLCJhdWQiOiIiLCJzdWIiOiIifQ.VPff_EUY9u0LT_fvHHCQ-BYBSoR1jtm9xVx3FQXJTkE" "https://api.dataconnect.io/v2/platforms/shopify/raw/connections/a76dcd73-6a42-4b64-9bcc-a599923134a6/admin/shop.json"

Just copy/paste to your terminal or click "Try now!" button.

                    
                
curl -X GET -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIyMmY1NzhhMzM3YzE0NTNiOTBmYzk3NzM3YjNhMGY0MCIsImlhdCI6MTQ4ODI4Njg2MCwiZXhwIjoxNTE5ODIyODYxLCJhdWQiOiIiLCJzdWIiOiIifQ.VPff_EUY9u0LT_fvHHCQ-BYBSoR1jtm9xVx3FQXJTkE" "https://api.dataconnect.io/v2/platforms/shopify/raw/connections/a76dcd73-6a42-4b64-9bcc-a599923134a6/admin/products.json?limit=5"

Just copy/paste to your terminal or click "Try now!" button.

                    
                
curl -X GET -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIyMmY1NzhhMzM3YzE0NTNiOTBmYzk3NzM3YjNhMGY0MCIsImlhdCI6MTQ4ODI4Njg2MCwiZXhwIjoxNTE5ODIyODYxLCJhdWQiOiIiLCJzdWIiOiIifQ.VPff_EUY9u0LT_fvHHCQ-BYBSoR1jtm9xVx3FQXJTkE" "https://api.dataconnect.io/v2/platforms/shopify/raw/connections/a76dcd73-6a42-4b64-9bcc-a599923134a6/admin/products/8277875209/variants.json?fields=product_id,sku,inventory_quantity"

Just copy/paste to your terminal or click "Try now!" button.

                    
                
curl -X GET \
-H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIyMmY1NzhhMzM3YzE0NTNiOTBmYzk3NzM3YjNhMGY0MCIsImlhdCI6MTQ4ODI4Njg2MCwiZXhwIjoxNTE5ODIyODYxLCJhdWQiOiIiLCJzdWIiOiIifQ.VPff_EUY9u0LT_fvHHCQ-BYBSoR1jtm9xVx3FQXJTkE" \
"https://api.dataconnect.io/v2/platforms/shopify/raw/connections/a76dcd73-6a42-4b64-9bcc-a599923134a6/admin/orders/4180232521.json?fields=id,number,total_price,tax_lines,currency,billing_address"

Just copy/paste to your terminal or click "Try now!" button.

                    
                
curl -X POST \
-H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIyMmY1NzhhMzM3YzE0NTNiOTBmYzk3NzM3YjNhMGY0MCIsImlhdCI6MTQ4ODI4Njg2MCwiZXhwIjoxNTE5ODIyODYxLCJhdWQiOiIiLCJzdWIiOiIifQ.VPff_EUY9u0LT_fvHHCQ-BYBSoR1jtm9xVx3FQXJTkE" \
-H "Content-Type: application/json" \
-d '{"product": { "title": "Viking helmet", "body_html": "Once a viking, always a viking!", "vendor": "Valhalla", "product_type": "Helmet" }}' \
"https://api.dataconnect.io/v2/platforms/shopify/raw/connections/a76dcd73-6a42-4b64-9bcc-a599923134a6/admin/products.json"

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Ready to test eBay

We also prepared a test eBay shop for you on the eBay sandbox environment.

The sandbox is slow so please give requests some time to execute.

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

Just copy/paste to your terminal or click "Try now!" button.

                    
                

In detail

To use DataConnect.io as a native API access you will just need the connection id used by DataConnect.io to identify how your project communicates with the remote shopping platform and JWT.

NOTE All endpoints of the native API access are protected. To access them you need to provide a valid JWT in the authorization header of the request. See our documentation on Authentication which describes this in more detail.

API URI HTTP methods Purpose
/v2/platforms/{platform-name}/raw/connections/{connection-id}/* GET POST PUT PATCH DELETE Replace the asterisk with a native call to the shopping platform to perform a proxy request.

The native API access proxies requests to supported remote shopping platform and takes care of applying authorization and authentication on your behalf. Your project just needs to use the relevant path of the native API on the shopping platform and be able to process the platform-specific response.

Example To make a native API call to Shopify's /admin/orders.json endpoint, your project needs to just make the following request to DataConnect.io: /v2/platforms/shopify/raw/connections/{connection-id}/admin/orders.json

  • Shopify native API reference is here
  • eBay native API reference is here
  • Magento native API reference is here

eBay specific

eBay Trading API is not a simple RESTful API. You need to deal with XML and RPC-like requests. So in the case of eBay raw API calls you always do a POST request to the URL::

/v2/platforms/ebay/raw/connections/{connection-id}

The important line in the XML body you are sending is:

<RequesterCredentials><eBayAuthToken></eBayAuthToken></RequesterCredentials>

DataConnect.io will insert the token for you automatically. An example XML body you should send might look like this:

<?xml version="1.0" encoding="utf-8"?>
<GetItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
    <RequesterCredentials><eBayAuthToken></eBayAuthToken></RequesterCredentials>
    <ItemID>110193129162</ItemID>
</GetItemRequest>

Magento specific

Currently DataConnect.io supports only JSON version of the Magento API.

Example To make a native API call to Magento /api/rest/products endpoint, your project needs to just make the following request to DataConnect.io: /v2/platforms/magento/raw/connections/{connection-id}/api/rest/products