- Overview of OpenAPI
- SlackOpenAPI
- ShopifyOpenAPI
- GithubAPI
- DiscordOpenAPI
- 历史文档(不推荐)
- 开发钉钉应用
- 服务端API
- 新版服务端API(DingTalk OpenAPI)
- 生态伙伴API
产品信息
POST
http://127.0.0.1/v1.0/jzcrm/goods
生态伙伴API/金智CRM/产品
最后修改时间:2022-08-30 09:19:23
责任人:未设置
说明#
权限#
应用类型 | 是否支持 | 权限 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 支持 | 金智CRM数据管理权限 | API Explorer |
第三方企业应用 | 支持 | 金智CRM数据管理权限 | API Explorer |
第三方个人应用 | 暂不支持 | 金智CRM数据管理权限 | 暂不支持 |
错误码#
HttpCode | 错误码 | 错误信息 | 说明 |
---|---|---|---|
400 | saveFail | 保存数据发生错误 | 保存数据发生错误 |
400 | invalidRequestMethod | 请求方式错误,必须为post请求! | 请求方式错误,必须为post请求! |
400 | invalidParameter | 请求参数缺失或无效! | 请求参数缺失或无效! |
400 | invalidSeCretKey | 无效的SeCretKey | 无效的SeCretKey |
400 | invalidSign | 签名无效 | 签名无效 |
请求参数
Header 参数
x-acs-dingtalk-access-token
string
必需
Body 参数application/json
datatype
integer
必需
stamp
integer
时间戳。
msgid
integer
可选
值为0或不填时,为新增数据。
data
object
编辑数据。
data_userid
string
创建人。
cpname
string
产品名称。
cpunit
string
产品单位。
unitrate
string
单位换算。
cp_parentid
string
基准产品。
cptype
string
产品型号。
cpguige
string
产品规格。
typeid
string
产品类别。
cpno
string
产品编号。
isstop
string
产品状态,取值。
addedtime
string
上架时间。
cparea
string
产品产地。
cpbrand
string
产品品牌。
cbprice
string
成本价格。
issnmanage
string
序列号管理,取值。
ispicimanage
string
批次号管理,取值。
gysid
string
默认供应商。
cpimg
string
产品图片。
cpbarcode
string
条形码。
cpweight
string
产品重量。
preprice1
string
零售价格。
preprice2
string
预设价格1。
preprice3
string
预设价格2。
preprice4
string
预设价格3。
isstock
string
是否算库存,取值。
stockup
string
库存上限。
stockdown
string
库存下限。
cpcontent
string
产品说明。
cpremark
string
产品备注。
示例
{}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/v1.0/jzcrm/goods' \
--header 'x-acs-dingtalk-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{}'
返回响应
🟢200成功
application/json
Body
time
string
响应时间。
msgid
integer