问题
I am new to saleor and is creating a ecommerce platform. I have downloaded saleor and made it up and running. I have 1000+ products to add. To add manually is a big nightmare. Checking if there is any scripts or ways to bulk upload products along with details (like images etc) to the saleor
回答1:
Saleor has GraphQL API that can be used for that purpose.
Here's brief documentation: https://docs.getsaleor.com/en/latest/architecture/graphql.html
Queries you'll be most interested in lives in https://github.com/mirumee/saleor/blob/master/saleor/graphql/product/mutations/products.py
来源:https://stackoverflow.com/questions/53435400/saleor-product-bulk-upload-script