问题描述
我是销售人员的新手,正在创建一个电子商务平台.我已经下载了salesor并使其正常运行.我要添加1000多种产品.手动添加是一个巨大的噩梦.检查是否存在用于将产品以及详细信息(例如图片等)批量上传到销售商的脚本或方法
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
推荐答案
Saleor具有可用于该目的的GraphQL API.
Saleor has GraphQL API that can be used for that purpose.
以下是简要文档: https://docs.getsaleor.com/en/latest/architecture/graphql.html
您对生活最感兴趣的查询 https://github.com/mirumee/saleor/blob/master/saleor/graphql/product/mutations/products.py
Queries you'll be most interested in lives inhttps://github.com/mirumee/saleor/blob/master/saleor/graphql/product/mutations/products.py
这篇关于Saleor产品批量上传脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!