# goods.add 添加商品接口

# 详细描述

添加商品的方法

# 应用级参数

参数名称 是否必要 类型 描述
brand_name string 品牌名称
type_name string 商品类型
goods_name string 商品名称
goods_bn string 商品编号
unit string 计量单位
is_serial string 唯一码开启
sale_price string 销售价
cost_price string 成本价
product_bn string 货号
barcode string 条形码
weight string 重量

# 返回结果

注意: 已经做过特殊字符处理的字段如下: bn,name,type_id,brand_id,barcode,['product']['price']['price']['price'], ['product']['price']['cost']['price'],['product']['bn'],['product']['barcode'], ['product']['weight'],['product']['unit']

#####XML数据,例: 成功

<response>
    <rsp><![CDATA[succ]]></rsp>
</response>

#####json数据,例: 成功

{
    "response": {
        "rsp": "succ"
    }
}
最后更新: 9/23/2015, 5:40:29 PM