I’ve got a collection of around 500 products saved in a JSON file that I need to upload to my Shopify store. I’m using a private app for this task. The data structure I have looks something like this:
{
"item": {
"name": "Product Name",
"description": "Item description goes here",
"brand": "Brand Name",
"category": "Item Category",
"options": {
"type": "Standard",
"cost": "Product Price"
},
"photos": {
"url": "Image URL here"
}
},
"item": {
"name": "Another Product",
"description": "Second item description",
"brand": "Another Brand",
"category": "Different Category",
"options": {
"type": "Standard",
"cost": "Another Price"
},
"photos": {
"url": "Another Image URL"
}
}
}
I’m wondering if there’s a way to send this entire file through a single POST request, or do I need to write a script that processes each product individually? After spending so much time cleaning up this data from a damaged database, I’m hoping for a straightforward solution. Has anyone dealt with bulk product imports like this before?