How to generate test data for development shop?

Highlighted
Tourist
24 0 1

Is there a known/official way to generate X number of test products or customers within a given development shop?

Obviously I could write some Python to do this, but honestly, it sounds a bit burdensome when it's probably been done.

0 Likes
Highlighted
Excursionist
38 1 8

Hi,

You can bulk import csv into products.

https://apps.shopify.com/picamaze
Animated watermarks for product images and ads
0 Likes
Highlighted
Tourist
24 0 1

Hey @AndyPicamaze - I'm looking for an API-based solution here actually. The big tedium comes from generating field data for each individual product, customer, etc. that I'd want to test with, which makes CSV imports still a process of generating test data before I can actually conduct the import.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
54 6 8

Hey @rsfxiii,

There isn't a direct way in the API to 'autofill' random data. You could check out the Data generator in the Shopify Developer tools for macOS: https://www.shopify.ca/partners/blog/developer-tools, but this isn't a maintained tool any more. You could also look into the Faker library (ruby / python version) for generating sample data.

Callum | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes