Looking for more flexibility than Shopify offers? Import your Shopify products into BuiltOn!

Sofien Rakke Lazreg
BuiltOn
Published in
2 min readSep 12, 2019

Shopify is a great product, but sometimes you want the freedom to customize and evolve your product as you see fit. With BuiltOn’s building blocks, you can create exactly what you want with the flexibility of a headless solution and get AutoML tools. Save time and resources by not building everything from scratch. Just focus on what’s important.

In this blog post, we show you how to bulk import Shopify products (or any CSV of product data) into our API by using your service account.

Prerequisites:

Step 1. Export your products from Shopify

You will find the export to CSV functionality in the Products page on your Shopify admin dashboard. Simply select ‘All products’ and export as a plain CSV file.

Export products to CSV in Shopify
Export products in Shopify

Step 2. Run our import_products python script

Clone our code examples repository and navigate to the import_products_from_shopify_csv folder.

Have a look at the script to see how you can customize it for your use case. The script uses our Python SDK, and you can map any fields you want to our Product object. Besides the regular properties in the object, we also support dynamic properties so you can transfer any information you desire about your products, like vendor or weight.

Run pip install -r requirements.txt (we recommend you use a virtual environment in python3).

Run python import_products.py. You will be prompted to enter your BuiltOn API key and service account key. After you enter your keys, the script will start uploading your products to BuiltOn.

upload script output

And voilà, you are ready to use the power of BuiltOn!

  • Worry-free serverless scalability; you’re not paying if you’re not using.
  • Instant access to tested, proven Building Blocks that save you time and effort. We do the boring stuff so you can focus on building your business logic.
  • Flexibility with service accounts, webhooks and SDKs.
  • Access to machine learning solutions from Day 1.

Sign-up now! With a 1000 free API calls every month, you can build and test a complete application at no cost.

--

--

Sofien Rakke Lazreg
BuiltOn
Writer for

Web Developer, Tech Enthusiast, Lead Developer at BuiltOn