OMS接口文档

OMS接口文档


增量修改存量

<p><strong>简要描述:</strong> </p> <ul> <li>增量修改存量</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://服务器地址:端口/uretail/api/stock/CommitCurrentStock?access_token=123456</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li> <p>POST </p> <p><strong>请求示例</strong></p> <pre><code>json 数据: { “commitType”:0,// 0检查并提交,1只检查不提交库存存量,2不检查只提交 “currentstock”:[ { “warehouse”:895465834107136, 仓库id “product”:24020, 商品id “productsku”:33192, skuid “currentqty”:1.0 存量, “batchno”:”xxxx” 批号 } ] }</code></pre> <p><strong>返回示例</strong></p> </li> </ul> <pre><code>{ "code": 200, "message": "操作成功", "data": "" }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML