API Webshop integration

Job ID: 36868168

Budget: $30 – $250 AUD

Webshop integration
Currently we don't have specific documentation on integrations with e-commerce platforms like WooCommerce or Shopify.

We provide 2 different API's, the Victron API and the E-Order API. They can be used for webshops like this:

The Victron API is used for initial import of product data, including SKUs, name, URLs for photos and manuals, etc. Documentation can be found here: https://www.victronenergy.com/api/v1
The E-Order API contains latest and most up-to-date data, like prices, currencies, categories, subcategories, etc
So, at first you download all general product information from the Victron API, and then for extra information you use the E-Order API using the SKU's retrieved from the Victron API.

Downloading all general product information from the Victron API:

# https://www.victronenergy.com/api/v1/products

{
"name": "SolidSwitch 104",
"short_name": "SolidSwitch 104",
"category": "Accessories",
"description": "The SolidSwitch 104 will switch DC loads of up to 70V 4A and ...",
"modified_at": "2021-04-20 10:05:40",
"image": "https://www.victronenergy.com/upload/products/BMS800200104_SolidSwitch 104 (top).png",
"documents" : [
...
{
"name":"BMS800200104_SolidSwitch 104 (top) ",
"document_type":"High quality photo",
"url":"https://www.victronenergy.com/upload/documents/BMS800200104_SolidSwitch 104 (top).png",
"notes":""
},
...
],
"sku":[
"BMS800200104"
]
},
...
The sku that we found for the product above can be used to get the information from the E-Order API:

# https://eorder.victronenergy.com/api/v1/products/BMS800200104/

{
"sku": "BMS800200104",
"gtin13": "8719076055556",
"description": "SolidSwitch 104",
"country_of_origin": "India",
"net_weight": "0.0325",
"gross_weight": "0.054",
"carton_size": "4x7x7 cm",
"carton_height_mm": 40,
"carton_width_mm": 70,
"carton_length_mm": 70,
"gtin13_masterbox": "8719076055594",
"quantity_per_masterbox": 12,
"quantity_per_pallet": 6144,
"quantity_per_container": 61440,
"minimum_order_quantity": null,
"only_order_in_multiples_of_masterbox": false,
"currency": "EUR",
"price": "21.00",
"stock_quantity": 101,
"additional_stock_quantity": 0,
"subcategory": "Battery Management Systems (BMS)",
"category": "Batteries",
"price_break_qty": null,
"price_break_price": null,
"voltage": null
}
Related categories: PHP Software Architecture eCommerce Shopify API