kdp open api
  1. 库存
kdp open api
  • 使用须知
  • 访问凭证
    • 获取token
      POST
  • SAP
    • 分销商
      • 客户物料关系接收状态更新
      • 获取分销商staff-废弃
      • 获取dealer主数据(用这个)
      • 回传分销商dealer code和store code
      • 客户物料关系列表
    • 商品
      • 获取国家产品发布类型(寄售/非寄售)
      • 获取商品信息-废弃
      • 寄售商品主数据回传
      • 商品彩盒信息回传
      • 产品物料信息回传
    • 订单
      • 寄售商品
        • 销售订单列表(consignment issue)
        • 销售订单接收状态更新
        • 补货订单列表
        • 补货单接收状态更新
        • iot设备激活数据回传
        • sap-寄售结算订单库存回传上报
        • sap寄售订单延迟发货原因同步
      • 非寄售商品
        • 非寄售订单列表
        • 非寄售订单接收状态更新
        • sap非寄售订单延迟发货原因同步
    • 物流
      • 寄售商品补货订单发货信息回传
      • 寄售补货订单发货单DN回传
      • 非寄售商品订单发货信息回传
      • 非寄售补货订单发货单DN回传
    • 库存
      • dummy库存导入
        POST
      • SAP同步大库数据
        GET
      • RDC_STOCK库存信息回传
        POST
      • 库存在途信息回传(RDC intransit)
        POST
      • 获取所有取消中的补货发货单信息
        GET
      • 取消补货发货单回传
        POST
    • 发票
      • 发票信息回传
      • 订单发票文件上传
      • 上报AR open balance
    • 售后
      • 获取Warranty claim列表
      • Warranty 凭证信息回传接口
      • 报销凭证文件上传
      • 上报AP open balance
      • 配件历史数据更新Excel
    • 退换货
      • 销售订单列表(退换货)
      • 销售订单接收状态更新(退换货)
      • 补货订单列表(退换货)
      • 补货单接收状态更新(退换货)
      • 非寄售订单列表(退换货)
      • 非寄售订单接收状态更新(退换货)
  • QDS安装包上传
    • 美国正式环境
      POST
    • 欧洲正式环境
      POST
  • dealer邮件通知
    • dealer批量发送邮件
      POST
  • SSO
    • 获取code
      GET
    • 获取token
      POST
    • 刷新token
      POST
  • pds
    • (测试环境)获取PDS产品主数据_自有品牌
      POST
    • (测试环境)获取PDS产品主数据_客户品牌
      POST
    • (正式环境)获取PDS产品主数据_自有品牌
      POST
    • (正式环境)获取PDS产品主数据_客户品牌
      POST
    • (正式环境)获取PDS产品主数据_自有品牌 (内网)
      POST
  • onpage
    • onpage- category
    • onpage- image
    • onpage- key_feature
    • onpage- product
    • onpage- in the box
    • onpage- articles & bullet points
    • onpage- markets
    • onpage- article country
    • onpage- schema
    • onpage- technical_specification
    • onpage数据同步
    • onpage-拉取subcategories
    • onpage-拉取banners
    • onpage-拉取PDF
  • 注册平台
    • (开发环境)同步销售数据接口
    • 产品注册接口
    • 检查是否在质保期接口
  1. 库存

RDC_STOCK库存信息回传

开发中
POST
inventory-server/api/inventory/report/inventory/rdc
同步宝石的总仓RDC_STOCK商品库存信息到分销商平台

请求参数

Header 参数
Content-Type
string 
必需
消息体类型;取值:application/json;charset=utf-8
示例值:
application/json;charset=utf-8
sys
string 
必需
系统类型,取值:pp
示例值:
pp
token
string 
必需
访问凭证token;通过获取token接口获取
traceId
string 
必需
本次请求id,uuid
deviceType
integer 
取值:1
必需
示例值:
1
lang
string 
取值:en
必需
示例值:
en
uid
integer 
取值:1
必需
示例值:
1
Body 参数application/json
array of:
plant
string 
必需
the plant of the merchandise
warehouseId
string 
必需
the warehouse id of the merchandise
warehouseName
string 
必需
the warehouse name of the merchandise
items
array [object {10}] 
必需
article
string 
必需
identifier number of the article
articleName
string 
必需
name of the article
quantity
integer 
必需
unlimited quality
blocked
integer 
必需
limited stock quantity
unit
string 
必需
unit for the quantity
totalValue
string 
必需
inventory cost(including currency type)
nextInbound
number 
必需
the estimated time of next arrivalthe estimated time of next arrival
nextInboundQuantity
integer 
必需
the quantity for next arrival
poNumber
string 
必需
the identifier number of purchase order
poIterm
string 
必需
the item number of purchase order
示例
[
    {
        "plant": "cillum",
        "warehouseId": "36",
        "warehouseName": "ssss",
        "items": [
            {
                "modelId": "56",
                "article": "esse dolore",
                "unit": "pc",
                "articleName": "asasa",
                "nextInbound": 31,
                "nextInboundQuantity": 85,
                "poNumber": "67",
                "poIterm": "commodo dolore sit"
            }
        ]
    }
]

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'inventory-server/api/inventory/report/inventory/rdc' \
--header 'sys: pp' \
--header 'token;' \
--header 'traceId;' \
--header 'deviceType: 1' \
--header 'lang: en' \
--header 'uid: 1' \
--header 'Content-Type: application/json;charset=utf-8' \
--data-raw '[
    {
        "plant": "cillum",
        "warehouseId": "36",
        "warehouseName": "ssss",
        "items": [
            {
                "modelId": "56",
                "article": "esse dolore",
                "unit": "pc",
                "articleName": "asasa",
                "nextInbound": 31,
                "nextInboundQuantity": 85,
                "poNumber": "67",
                "poIterm": "commodo dolore sit"
            }
        ]
    }
]'

返回响应

🟢200成功
application/json
Body
code
integer 
操作状态码
必需
msg
string 
操作描述
必需
示例
{
    "code": 0,
    "msg": "success"
}
修改于 2025-04-14 08:51:10
上一页
SAP同步大库数据
下一页
库存在途信息回传(RDC intransit)
Built with