Volusion 使用 API 导入产品 [英] Volusion import product using API

查看:25
本文介绍了Volusion 使用 API 导入产品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经实现了使用 XML 导入产品的解决方案.代码工作正常,但类别未分配给产品.

I have implemented solution for import product using XML. Code is working fine but the category is not assigned to product.

这是我用于导入产品的示例 XML 文件.

Here is my sample XML file for import product.

<?xml version="1.0" encoding="UTF-8"?>
<Import>
   <Products>
      <ProductID>360</ProductID>
      <productcode>0035</productcode>
      <vendor_partno>035</vendor_partno>
      <productname><![CDATA[product 1]]></productname>
      <listprice>6.95</listprice>
      <productprice>2</productprice>
      <vendor_price>3.83</vendor_price>
      <stockstatus>100</stockstatus>
      <upc_code>99999</upc_code>
      <categoryids>1814</categoryids>
      <productdescriptionshort />
      <productdescription />
      <productweight>0.00</productweight>
      <freeshippingitem />
      <minqty />
      <maxqty />
   </Products>
</Import>

推荐答案

categoryids 是一个虚拟列",不能直接导入.

categoryids is a "virtual column" and not something you can import directly.

为了将类别分配给产品或将真正的产品分配给类别,您必须按照此处显示的格式进行单独的导入...

In order to assign categories to products or really products to categories you would have to do a separate import following the format shown here...

http://support.volusion.com/article/产品管理-类别-产品-链接-开发人员

这篇关于Volusion 使用 API 导入产品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆