kdp open api
  1. 寄售商品
kdp open api
  • 使用须知
  • 访问凭证
    • 获取token
      POST
  • SAP
    • 分销商
      • 客户物料关系接收状态更新
      • 获取分销商staff-废弃
      • 获取dealer主数据(用这个)
      • 回传分销商dealer code和store code
      • 客户物料关系列表
    • 商品
      • 获取国家产品发布类型(寄售/非寄售)
      • 获取商品信息-废弃
      • 寄售商品主数据回传
      • 商品彩盒信息回传
      • 产品物料信息回传
    • 订单
      • 寄售商品
        • 销售订单列表(consignment issue)
          POST
        • 销售订单接收状态更新
          POST
        • 补货订单列表
          POST
        • 补货单接收状态更新
          POST
        • iot设备激活数据回传
          POST
        • sap-寄售结算订单库存回传上报
          POST
        • sap寄售订单延迟发货原因同步
          POST
      • 非寄售商品
        • 非寄售订单列表
        • 非寄售订单接收状态更新
        • sap非寄售订单延迟发货原因同步
    • 物流
      • 寄售商品补货订单发货信息回传
      • 寄售补货订单发货单DN回传
      • 非寄售商品订单发货信息回传
      • 非寄售补货订单发货单DN回传
    • 库存
      • dummy库存导入
      • SAP同步大库数据
      • RDC_STOCK库存信息回传
      • 库存在途信息回传(RDC intransit)
      • 获取所有取消中的补货发货单信息
      • 取消补货发货单回传
    • 发票
      • 发票信息回传
      • 订单发票文件上传
      • 上报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产品主数据_自有品牌
    • (测试环境)获取PDS产品主数据_客户品牌
    • (正式环境)获取PDS产品主数据_自有品牌
    • (正式环境)获取PDS产品主数据_客户品牌
    • (正式环境)获取PDS产品主数据_自有品牌 (内网)
  • 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. 寄售商品

销售订单列表(consignment issue)

开发中
POST
mall-server/api/order/consignment/listForPage
获取寄售商品订单列表;获取列表后马上吸怪这批订单状态,使用【订单状态更新】接口更新状态,以防重复获取。

请求参数

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
pageSize
integer 
必需
每页数据条数;服务端限制最大条数,大于限制值后,默认限制值
pageNumber
integer 
必需
typeId
integer 
必需
业务类型(1:销售申报,2:退换货业务)
示例
{
    "pageSize": 10
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'mall-server/api/order/consignment/listForPage' \
--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 '{
    "pageSize": 10
}'

返回响应

🟢200成功
application/json
Body
code
integer 
操作状态码
必需
msg
string 
操作描述
必需
data
array [array] 
必需
object 
可选
示例
{
    "code": 23,
    "msg": "nostrud nulla",
    "data": [
        [
            {
                "orderId": "59",
                "originOrderNo": "qui adipisicing mollit eiusmod laboris",
                "orderType": "enim",
                "referenceNumber": "35",
                "orderDate": "yyyyMMdd",
                "dealerId": 6,
                "sapDealerCode": "44",
                "storeId": "89",
                "sapStoreCode": "57",
                "storeCountryCode": "GU",
                "storeStateCode": "北京市",
                "storeCityName": "求丽芬",
                "storeAddress": "新疆维吾尔自治区 成宁市 牧野区 辉街56542号 23号院",
                "marketUnit": "minim ipsum mollit cupidatat",
                "deliveryTime": "2025-01-26 16:57:46",
                "currency": "occaecat magna aute cupidatat eu",
                "payerId": "85",
                "createTime": "2025-09-30 19:56:00",
                "billId": "40",
                "billToAddress": "天津市 北林市 望谟县 宇文桥11750号 92号门牌",
                "billToEmail": "fsekfk_iyj83@126.com",
                "billToPhone": "10386876902",
                "billToFax": "qui eu",
                "legalName": "陈一诺",
                "payment": "ea Excepteur est",
                "items": [
                    {
                        "itemNumber": "38",
                        "article": "pariatur",
                        "modelId": "30",
                        "price": 728.1,
                        "unit": "aliqua aute laborum mollit nostrud",
                        "quantity": 2,
                        "promotionType": "id",
                        "promotionAmount": 448.5,
                        "commission": 87,
                        "unapportionedAmount": 833.19,
                        "deliveryOrderNo": "ea nostrud esse",
                        "machineSn": "xxxxx",
                        "cartonSn": "xxxx",
                        "snArray": [
                            "irure nulla voluptate",
                            "irure id",
                            "officia quis"
                        ]
                    },
                    {
                        "itemNumber": "56",
                        "article": "anim",
                        "modelId": "14",
                        "price": 372.79,
                        "unit": "id in aute",
                        "quantity": 96,
                        "promotionType": "ad magna",
                        "promotionAmount": 799.85,
                        "commission": 98,
                        "unapportionedAmount": 790.39,
                        "deliveryOrderNo": "proident ea reprehenderit",
                        "inputSn": "adipisicing elit labore do tempor",
                        "machineSn": "sed voluptate Ut minim",
                        "cartonSn": "货车",
                        "snArray": [
                            "id et dolor eiusmod eu"
                        ]
                    },
                    {
                        "itemNumber": "95",
                        "article": "dolor reprehenderit dolor et quis",
                        "modelId": "68",
                        "price": 277.39,
                        "unit": "velit aliqua",
                        "quantity": 59,
                        "promotionType": "id dolore sunt non",
                        "promotionAmount": 493.29,
                        "commission": 38,
                        "unapportionedAmount": 13.49,
                        "deliveryOrderNo": "proident",
                        "inputSn": "dolor deserunt culpa quis",
                        "machineSn": "eiusmod Ut incididunt in sunt",
                        "cartonSn": "掀背车",
                        "snArray": [
                            "veniam",
                            "tempor ullamco"
                        ]
                    }
                ],
                "optStatus": 50,
                "orderReason": "id consequat in aliquip velit"
            },
            {
                "orderId": "39",
                "originOrderNo": "magna",
                "orderType": "aliquip in ipsum quis ut",
                "referenceNumber": "74",
                "orderDate": "yyyyMMdd",
                "dealerId": 99,
                "sapDealerCode": "92",
                "storeId": "80",
                "sapStoreCode": "91",
                "storeCountryCode": "SJ",
                "storeStateCode": "湖南省",
                "storeCityName": "史国良",
                "storeAddress": "江苏省 衡阳市 新罗区 潭桥3号 36号院",
                "marketUnit": "dolore nulla minim Excepteur amet",
                "deliveryTime": "2025-11-15 04:00:39",
                "currency": "eu",
                "payerId": "14",
                "createTime": "2025-07-20 20:09:53",
                "billId": "5",
                "billToAddress": "江苏省 福沙市 邵武市 相旁11671号 1号房间",
                "billToEmail": "ts5tbf_tcu@126.com",
                "billToPhone": "14782466186",
                "billToFax": "dolore cupidatat",
                "legalName": "冒燕",
                "payment": "pariatur sit",
                "items": [
                    {
                        "itemNumber": "14",
                        "article": "Lorem",
                        "modelId": "32",
                        "price": 346.65,
                        "unit": "dolore ipsum ut amet",
                        "quantity": 25,
                        "promotionType": "nisi reprehenderit Lorem quis",
                        "promotionAmount": 250.26,
                        "commission": 58,
                        "unapportionedAmount": 70.41,
                        "deliveryOrderNo": "magna",
                        "inputSn": "reprehenderit",
                        "machineSn": "do adipisicing laboris culpa eu",
                        "cartonSn": "轿车",
                        "snArray": [
                            "in exercitation",
                            "esse cillum magna id"
                        ]
                    }
                ],
                "optStatus": 63,
                "orderReason": "exercitation"
            },
            {
                "orderId": "63",
                "originOrderNo": "pariatur Lorem id",
                "orderType": "culpa",
                "referenceNumber": "22",
                "orderDate": "yyyyMMdd",
                "dealerId": 31,
                "sapDealerCode": "86",
                "storeId": "30",
                "sapStoreCode": "6",
                "storeCountryCode": "IT",
                "storeStateCode": "云南省",
                "storeCityName": "唐立伟",
                "storeAddress": "河南省 西原市 临清市 依路6号 4号房间",
                "marketUnit": "sit dolor enim et",
                "deliveryTime": "2025-06-09 01:54:00",
                "currency": "elit commodo incididunt ipsum",
                "payerId": "67",
                "createTime": "2024-04-08 06:04:14",
                "billId": "97",
                "billToAddress": "山东省 诸阳市 汨罗市 巧路63011号 65号楼",
                "billToEmail": "ktzmzi_j6i@vip.qq.com",
                "billToPhone": "088 6938 2623",
                "billToFax": "id elit",
                "legalName": "穰治文",
                "payment": "aliquip",
                "items": [
                    {
                        "itemNumber": "69",
                        "article": "anim qui quis aliquip",
                        "modelId": "50",
                        "price": 192.39,
                        "unit": "eu qui",
                        "quantity": 7,
                        "promotionType": "eu veniam do Lorem",
                        "promotionAmount": 972.39,
                        "commission": 52,
                        "unapportionedAmount": 407.49,
                        "deliveryOrderNo": "Lorem proident quis sed",
                        "inputSn": "nisi ipsum incididunt",
                        "machineSn": "aute ullamco ipsum incididunt",
                        "cartonSn": "轿车",
                        "snArray": [
                            "ipsum sit Duis cillum",
                            "enim cillum in nisi",
                            "amet sunt sit sint"
                        ]
                    },
                    {
                        "itemNumber": "94",
                        "article": "pariatur eiusmod et",
                        "modelId": "66",
                        "price": 69.89,
                        "unit": "dolor nisi",
                        "quantity": 66,
                        "promotionType": "elit adipisicing",
                        "promotionAmount": 814.55,
                        "commission": 56,
                        "unapportionedAmount": 996.09,
                        "deliveryOrderNo": "Duis anim ea sit",
                        "inputSn": "sit nostrud pariatur sed ipsum",
                        "machineSn": "sed officia ipsum",
                        "cartonSn": "货车",
                        "snArray": [
                            "elit adipisicing dolor",
                            "incididunt"
                        ]
                    }
                ],
                "optStatus": 46,
                "orderReason": "ut enim eu nostrud et"
            }
        ]
    ]
}
修改于 2025-05-09 07:35:14
上一页
产品物料信息回传
下一页
销售订单接收状态更新
Built with