App reviews, troubleshooting, and recommendations
I want to fetch Products list and return as JSON using the Shopify Python API.
I tried the .to_json() function
Got the error
'PaginatedCollection' object has no attribute 'to_json'
I tried doing
Object of type Product is not JSON serializable
How can I serialize the Products response to JSON ?
You can use jsonpickle for this.
products = shopify.Product.find()
Building SKULogi – AI based Demand Forecasting and Inventory Planning
return a list of products. to_json() is a method of Product object. Of course, it's throwing errors
Seriously you should test with shell
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...