# 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"
}
}