diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/linkedmall/2023-09-30/api-docs.php | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/linkedmall/2023-09-30/api-docs.php')
| -rw-r--r-- | data/zh_cn/linkedmall/2023-09-30/api-docs.php | 7855 |
1 files changed, 2662 insertions, 5193 deletions
diff --git a/data/zh_cn/linkedmall/2023-09-30/api-docs.php b/data/zh_cn/linkedmall/2023-09-30/api-docs.php index 03c88bc..5fc3873 100644 --- a/data/zh_cn/linkedmall/2023-09-30/api-docs.php +++ b/data/zh_cn/linkedmall/2023-09-30/api-docs.php @@ -1,77 +1,42 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'linkedmall', - 'version' => '2023-09-30', - ], + 'info' => ['style' => 'ROA', 'product' => 'linkedmall', 'version' => '2023-09-30'], 'directories' => [ [ - 'id' => 185821, - 'title' => '采购店铺', + 'children' => ['ListPurchaserShops', 'GetPurchaserShop'], 'type' => 'directory', - 'children' => [ - 'ListPurchaserShops', - 'GetPurchaserShop', - ], + 'title' => '采购店铺', + 'id' => 303558, ], [ - 'id' => 185824, - 'title' => '商品', + 'children' => ['GetSelectionProduct', 'ListSelectionProducts', 'GetSelectionProductSaleInfo', 'ListSelectionProductSaleInfos', 'ListSelectionSkuSaleInfos', 'ListCategories', 'SearchProducts', 'SelectionGroupAddProduct', 'SelectionGroupRemoveProduct'], 'type' => 'directory', - 'children' => [ - 'GetSelectionProduct', - 'ListSelectionProducts', - 'GetSelectionProductSaleInfo', - 'ListSelectionProductSaleInfos', - 'ListSelectionSkuSaleInfos', - 'ListCategories', - 'SearchProducts', - 'SelectionGroupAddProduct', - 'SelectionGroupRemoveProduct', - ], + 'title' => '商品', + 'id' => 303561, ], [ - 'id' => 185829, - 'title' => '采购单', + 'children' => ['SplitPurchaseOrder', 'RenderPurchaseOrder', 'CreatePurchaseOrder', 'GetPurchaseOrderStatus'], 'type' => 'directory', - 'children' => [ - 'SplitPurchaseOrder', - 'RenderPurchaseOrder', - 'CreatePurchaseOrder', - 'GetPurchaseOrderStatus', - ], + 'title' => '采购单', + 'id' => 303621, ], [ - 'id' => 185833, - 'title' => '订单', + 'children' => ['GetOrder', 'QueryOrders', 'ListLogisticsOrders', 'ConfirmDisburse'], 'type' => 'directory', - 'children' => [ - 'GetOrder', - 'QueryOrders', - 'ListLogisticsOrders', - 'ConfirmDisburse', - ], + 'title' => '订单', + 'id' => 303646, ], [ - 'id' => 185838, - 'title' => '售后单', + 'children' => ['RenderRefundOrder', 'CreateRefundOrder', 'CancelRefundOrder', 'GetRefundOrder', 'CreateGoodsShippingNotice'], 'type' => 'directory', - 'children' => [ - 'RenderRefundOrder', - 'CreateRefundOrder', - 'CancelRefundOrder', - 'GetRefundOrder', - 'CreateGoodsShippingNotice', - ], + 'title' => '售后单', + 'id' => 303664, ], [ - 'id' => 185844, - 'title' => '区域编码', + 'children' => ['QueryChildDivisionCode'], 'type' => 'directory', - 'children' => [ - 'QueryChildDivisionCode', - ], + 'title' => '区域编码', + 'id' => 303678, ], ], 'components' => [ @@ -81,49 +46,12 @@ 'description' => '收货地址', 'type' => 'object', 'properties' => [ - 'divisionCode' => [ - 'title' => '三级地址code(建议必填)', - 'description' => '四级地址code(区/县级,建议必填)', - 'type' => 'string', - 'required' => false, - 'example' => '330106', - ], - 'addressDetail' => [ - 'title' => '收货地址详细地址', - 'description' => '收货地址详细地址(建议以省/市/区县/街道/小区的格式填写完整地址信息)', - 'type' => 'string', - 'required' => true, - 'example' => '陕西省西安市新城区xx街道xxx大厦xx室', - ], - 'receiverPhone' => [ - 'title' => '收货人电话', - 'description' => '收货人电话', - 'type' => 'string', - 'required' => true, - 'example' => '182***5674', - ], - 'townDivisionCode' => [ - 'title' => '四级地址code(建议必填)', - 'description' => '五级地址code(乡镇/街道级,必填)', - 'type' => 'string', - 'required' => false, - 'example' => '330106109', - ], - 'receiver' => [ - 'title' => '收货人', - 'description' => '收货人', - 'type' => 'string', - 'required' => true, - 'example' => '任先生', - ], - 'addressId' => [ - 'title' => '地址ID', - 'description' => '地址ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'divisionCode' => ['title' => '三级地址code(建议必填)', 'description' => '四级地址code(区/县级,建议必填)', 'type' => 'string', 'required' => false, 'example' => '330106'], + 'addressDetail' => ['title' => '收货地址详细地址', 'description' => '收货地址详细地址(建议以省/市/区县/街道/小区的格式填写完整地址信息)', 'type' => 'string', 'required' => true, 'example' => '陕西省西安市新城区xx街道xxx大厦xx室'], + 'receiverPhone' => ['title' => '收货人电话', 'description' => '收货人电话', 'type' => 'string', 'required' => true, 'example' => '182***5674'], + 'townDivisionCode' => ['title' => '四级地址code(建议必填)', 'description' => '五级地址code(乡镇/街道级,必填)', 'type' => 'string', 'required' => false, 'example' => '330106109'], + 'receiver' => ['title' => '收货人', 'description' => '收货人', 'type' => 'string', 'required' => true, 'example' => '任先生'], + 'addressId' => ['title' => '地址ID', 'description' => '地址ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], ], ], 'ApplyReason' => [ @@ -131,65 +59,19 @@ 'description' => '申请退款原因', 'type' => 'object', 'properties' => [ - 'reasonTextId' => [ - 'title' => '理由ID', - 'description' => '理由ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '403769', - ], - 'reasonTips' => [ - 'title' => '理由文本', - 'description' => '理由文本', - 'type' => 'string', - 'required' => false, - 'example' => '不想要了', - ], + 'reasonTextId' => ['title' => '理由ID', 'description' => '理由ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '403769'], + 'reasonTips' => ['title' => '理由文本', 'description' => '理由文本', 'type' => 'string', 'required' => false, 'example' => '不想要了'], ], ], 'Category' => [ 'description' => '类目链', 'type' => 'object', 'properties' => [ - 'name' => [ - 'title' => '类目名称', - 'description' => '类目名称', - 'type' => 'string', - 'required' => false, - 'example' => '名称测试', - ], - 'isLeaf' => [ - 'title' => '是否叶子类目', - 'description' => '是否叶子类目', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'level' => [ - 'title' => '层级', - 'description' => '层级', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], - 'categoryId' => [ - 'title' => '类目id', - 'description' => '类目id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '201792301', - ], - 'parentId' => [ - 'title' => '父类id', - 'description' => '父类id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], + 'name' => ['title' => '类目名称', 'description' => '类目名称', 'type' => 'string', 'required' => false, 'example' => '名称测试'], + 'isLeaf' => ['title' => '是否叶子类目', 'description' => '是否叶子类目', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'level' => ['title' => '层级', 'description' => '层级', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], + 'categoryId' => ['title' => '类目id', 'description' => '类目id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '201792301'], + 'parentId' => ['title' => '父类id', 'description' => '父类id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], ], ], 'CategoryListQuery' => [ @@ -197,24 +79,13 @@ 'description' => '类目查询参数', 'type' => 'object', 'properties' => [ - 'parentCategoryId' => [ - 'title' => '父类目id', - 'description' => '父类目id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5200001', - ], + 'parentCategoryId' => ['title' => '父类目id', 'description' => '父类目id', 'type' => 'integer', 'format' => 'int64', 'example' => '5200001'], 'categoryIds' => [ 'title' => '类目id集合', 'description' => '类目id集合', 'type' => 'array', - 'items' => [ - 'description' => '类目ID'."\n" - .'> 单次查询类目ID数量上限为50个', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5200067', - ], + 'items' => ['description' => '类目ID'."\n" + .'> 单次查询类目ID数量上限为50个', 'type' => 'integer', 'format' => 'int64', 'example' => '5200067'], ], ], ], @@ -223,18 +94,12 @@ 'description' => '类目', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => '请求id', - 'description' => '请求id', - 'type' => 'string', - ], + 'requestId' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string'], 'categories' => [ 'title' => '类目集合', 'description' => '类目集合', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/Category', - ], + 'items' => ['$ref' => '#/components/schemas/Category', 'description' => ''], ], ], ], @@ -245,20 +110,9 @@ .'> - 当purchaseOrderId字段与orderId字段均传入时,系统以purchaseOrderId字段为准,即确收该采购单下所有订单。', 'type' => 'object', 'properties' => [ - 'orderId' => [ - 'title' => '主分销订单号', - 'description' => '主分销订单号', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5457', - ], - 'purchaseOrderId' => [ - 'title' => '分销交易号', - 'description' => '分销交易号', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5696', - ], + 'orderId' => ['title' => '主分销订单号', 'description' => '主分销订单号', 'type' => 'string', 'required' => false, 'example' => '6692****5457'], + 'purchaseOrderId' => ['title' => '分销交易号', 'description' => '分销交易号', 'type' => 'string', 'required' => false, 'example' => '6692****5696'], + 'disputeId' => ['type' => 'string'], ], ], 'ConfirmDisburseResult' => [ @@ -266,20 +120,8 @@ 'description' => '确认收货结果', 'type' => 'object', 'properties' => [ - 'result' => [ - 'title' => '确认收货返回结果', - 'description' => '确认收货返回结果', - 'type' => 'string', - 'required' => false, - 'example' => 'success', - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '841471F6-5D61-1331-8C38-2****B55', - ], + 'result' => ['title' => '确认收货返回结果', 'description' => '确认收货返回结果', 'type' => 'string', 'required' => false, 'example' => 'success'], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'], ], ], 'CooperationShop' => [ @@ -287,54 +129,9 @@ 'description' => '合作方店铺', 'type' => 'object', 'properties' => [ - 'shopId' => [ - 'title' => '店铺id', - 'description' => '店铺id', - 'type' => 'string', - ], - 'cooperationCompanyId' => [ - 'title' => '合作企业id', - 'description' => '合作企业id', - 'type' => 'string', - ], - 'cooperationShopId' => [ - 'title' => '合作店铺id', - 'description' => '合作店铺id', - 'type' => 'string', - ], - ], - ], - 'CreateAliPayUrlRequest' => [ - 'title' => '入参', - 'type' => 'object', - 'properties' => [ - 'shopId' => [ - 'title' => '申请的店铺id', - 'type' => 'string', - 'required' => true, - 'example' => '123', - 'minLength' => 1, - ], - ], - ], - 'CreateAliPayUrlResult' => [ - 'type' => 'object', - 'properties' => [ - 'zftWithholdSignUrl' => [ - 'title' => '支付宝代扣签约url', - 'type' => 'string', - 'required' => false, - ], - 'accountId' => [ - 'title' => 'LM账号id', - 'type' => 'string', - 'required' => false, - ], - 'memberId' => [ - 'title' => 'LM会员id', - 'type' => 'string', - 'required' => false, - ], + 'shopId' => ['title' => '店铺id', 'description' => '店铺id', 'type' => 'string'], + 'cooperationCompanyId' => ['title' => '合作企业id', 'description' => '合作企业id', 'type' => 'string'], + 'cooperationShopId' => ['title' => '合作店铺id', 'description' => '合作店铺id', 'type' => 'string'], ], ], 'DeliveryInfo' => [ @@ -342,86 +139,10 @@ 'description' => '履约信息', 'type' => 'object', 'properties' => [ - 'postFee' => [ - 'title' => '运费金额', - 'description' => '运费金额', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '0', - ], - 'serviceType' => [ - 'title' => 'serviceType', - 'description' => '邮递服务类型', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '-4', - ], - 'id' => [ - 'title' => '唯一ID', - 'description' => '唯一ID', - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], - 'displayName' => [ - 'title' => '显示名称', - 'description' => '显示名称', - 'type' => 'string', - 'required' => false, - 'example' => '快递 免邮', - ], - ], - ], - 'DistributeProductCommand' => [ - 'title' => '铺货请求', - 'description' => '铺货请求', - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'title' => '请求ID', - 'type' => 'string', - ], - 'requestUser' => [ - 'title' => '提交人', - 'type' => 'string', - ], - 'requestTime' => [ - 'title' => '提交时间', - 'type' => 'string', - 'example' => '2024-12-01 10:01:00', - ], - 'lmShopId' => [ - 'title' => 'LM店铺ID', - 'type' => 'string', - ], - 'products' => [ - 'title' => '铺货商品', - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/DistributionProduct', - ], - ], - ], - ], - 'DistributeProductResult' => [ - 'title' => 'A short description of struct', - 'description' => '铺货结果', - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'title' => '请求ID', - 'type' => 'string', - ], - 'code' => [ - 'title' => '返回码', - 'type' => 'string', - ], - 'message' => [ - 'title' => '返回消息', - 'type' => 'string', - ], + 'postFee' => ['title' => '运费金额', 'description' => '运费金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'], + 'serviceType' => ['title' => 'serviceType', 'description' => '邮递服务类型', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-4'], + 'id' => ['title' => '唯一ID', 'description' => '唯一ID', 'type' => 'string', 'required' => false, 'example' => '20'], + 'displayName' => ['title' => '显示名称', 'description' => '显示名称', 'type' => 'string', 'required' => false, 'example' => '快递 免邮'], ], ], 'DistributionMaxRefundFee' => [ @@ -429,149 +150,8 @@ 'description' => '退款费用', 'type' => 'object', 'properties' => [ - 'minRefundFee' => [ - 'title' => '本单最小可退款金额', - 'description' => '本单最小可退款金额', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'maxRefundFee' => [ - 'title' => '本单最大可退款金额', - 'description' => '本单最大可退款金额', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], - ], - ], - 'DistributionProduct' => [ - 'title' => 'A short description of struct', - 'description' => '铺货商品', - 'type' => 'object', - 'properties' => [ - 'productId' => [ - 'title' => '商品ID', - 'type' => 'string', - ], - 'channelCode' => [ - 'title' => '渠道ID', - 'type' => 'string', - ], - 'sellerId' => [ - 'title' => '卖家ID', - 'type' => 'string', - ], - 'categoryLeafId' => [ - 'title' => '叶子类目ID', - 'type' => 'integer', - 'format' => 'int64', - ], - 'categoryLeafName' => [ - 'title' => '叶子类目名称', - 'type' => 'string', - ], - 'categoryChain' => [ - 'title' => '类目链名称', - 'type' => 'string', - ], - 'title' => [ - 'title' => '商品长标题', - 'type' => 'string', - ], - 'shortTitle' => [ - 'title' => '商品短标题', - 'type' => 'string', - ], - 'picUrl' => [ - 'title' => '主图', - 'type' => 'string', - ], - 'whiteBackgroundPicUrl' => [ - 'title' => '白底图', - 'type' => 'string', - ], - 'distributeStatus' => [ - 'title' => '铺货状态', - 'type' => 'string', - ], - 'skus' => [ - 'title' => 'sku集合', - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/DistributionSku', - ], - ], - ], - ], - 'DistributionSku' => [ - 'title' => 'A short description of struct', - 'description' => '铺货SKU', - 'type' => 'object', - 'properties' => [ - 'skuId' => [ - 'title' => 'sku id', - 'type' => 'string', - ], - 'title' => [ - 'title' => '名称', - 'type' => 'string', - ], - 'aliasTitle' => [ - 'title' => '别名', - 'type' => 'string', - ], - 'picUrl' => [ - 'title' => '图片', - 'type' => 'string', - ], - 'jxPrice' => [ - 'title' => '经销供货价', - 'type' => 'integer', - 'format' => 'int64', - ], - 'dxPrice' => [ - 'title' => '代销供货价', - 'type' => 'integer', - 'format' => 'int64', - ], - 'taxCode' => [ - 'title' => '税码', - 'type' => 'string', - ], - 'taxRate' => [ - 'title' => '税率', - 'type' => 'integer', - 'format' => 'int32', - ], - 'barCode' => [ - 'title' => '条形码', - 'type' => 'string', - ], - 'skuStatus' => [ - 'title' => '状态', - 'type' => 'string', - ], - 'quantity' => [ - 'title' => '库存', - 'type' => 'integer', - 'format' => 'int32', - ], - 'hasInvoice' => [ - 'title' => '是否可开发票', - 'type' => 'boolean', - ], - 'hasCredit' => [ - 'title' => '是否支持帐期', - 'type' => 'boolean', - ], - 'creditPeriod' => [ - 'title' => '可接受的最长账期时长', - 'type' => 'integer', - 'format' => 'int32', - ], + 'minRefundFee' => ['title' => '本单最小可退款金额', 'description' => '本单最小可退款金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + 'maxRefundFee' => ['title' => '本单最大可退款金额', 'description' => '本单最大可退款金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], ], ], 'Division' => [ @@ -579,44 +159,11 @@ 'description' => 'divisionList', 'type' => 'object', 'properties' => [ - 'divisionName' => [ - 'title' => '地址名称', - 'description' => '地址名称', - 'type' => 'string', - 'required' => false, - 'example' => '上海', - ], - 'divisionCode' => [ - 'title' => '地址编码', - 'description' => '地址编码', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '310000', - ], - 'divisionLevel' => [ - 'title' => '地址等级', - 'description' => '地址等级', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - 'pinyin' => [ - 'title' => '地址拼音', - 'description' => '地址拼音', - 'type' => 'string', - 'required' => false, - 'example' => 'shang hai', - ], - 'parentId' => [ - 'title' => '父级ID', - 'description' => '父级ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'divisionName' => ['title' => '地址名称', 'description' => '地址名称', 'type' => 'string', 'required' => false, 'example' => '上海'], + 'divisionCode' => ['title' => '地址编码', 'description' => '地址编码', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '310000'], + 'divisionLevel' => ['title' => '地址等级', 'description' => '地址等级', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'], + 'pinyin' => ['title' => '地址拼音', 'description' => '地址拼音', 'type' => 'string', 'required' => false, 'example' => 'shang hai'], + 'parentId' => ['title' => '父级ID', 'description' => '父级ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], ], 'DivisionPageResult' => [ @@ -628,19 +175,10 @@ 'title' => '区域集合', 'description' => '区域集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/Division', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/Division', 'description' => ''], 'required' => false, ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '841471F6-5D61-1331-8C38-2****B55', - ], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'], ], ], 'DivisionQuery' => [ @@ -648,84 +186,60 @@ 'description' => '区域查询', 'type' => 'object', 'properties' => [ - 'divisionCode' => [ - 'title' => 'divisionCode', - 'description' => '区域码', - 'type' => 'string', - 'required' => true, - 'example' => '1', - 'default' => '1', + 'divisionCode' => ['title' => 'divisionCode', 'description' => '区域码', 'type' => 'string', 'required' => true, 'example' => '1', 'default' => '1'], + ], + ], + 'EticketInfo' => [ + 'description' => '卡券电子凭证', + 'type' => 'object', + 'properties' => [ + 'code' => ['description' => '卡券电子凭证Code', 'type' => 'string', 'example' => 'taobao******tpg'], + 'qrcodeUrl' => ['description' => '卡券电子凭证二维码图片链接'."\n" + .'> 目前该字段没有值,分销商需要根据`code`字段自行生成二维码', 'type' => 'string', 'example' => 'http://qrcode.alicdn.com/img.jpg'], + 'codeStatus' => [ + 'description' => '卡券电子凭证状态'."\n" + .'> 枚举值:'."\n" + .'> - 1(有效)'."\n" + .'> - -1(已核销)'."\n" + .'> - -2(已失效)'."\n" + .'> - -5(已失效)'."\n" + .'> - -8(已失效)', + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [1 => '有效', -1 => '已核销', -2 => '已失效', -5 => '已失效', -8 => '已失效'], + 'example' => "\n" + .'-1', ], + 'startTime' => ['description' => '卡券电子凭证有效期起始时间', 'type' => 'string', 'example' => "\n" + .'2026-02-04T00:00:00.000+08:00'], + 'endTime' => ['description' => '卡券电子凭证有效期结束时间', 'type' => 'string', 'example' => '2026-08-02T23:59:59.000+08:00'], + 'usedNum' => ['description' => '卡券电子凭证已核销份数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'useTime' => ['description' => '卡券电子凭证核销时间', 'type' => 'string', 'example' => "\n" + .'2026-02-04T15:07:59.000+08:00'], + 'lockNum' => ['description' => '锁定状态的卡券电子凭证份数', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'availableNum' => ['description' => '未核销卡券电子凭证数量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], ], ], 'GeneralBill' => [ 'description' => '账单', 'type' => 'object', 'properties' => [ - 'totalAmount' => [ - 'required' => false, - '$ref' => '#/components/schemas/Money', - ], - 'gmtModified' => [ - 'title' => '账单修改时间', - 'description' => '账单修改时间', - 'type' => 'string', - 'required' => false, - ], - 'billId' => [ - 'title' => '账单id', - 'description' => '账单id', - 'type' => 'string', - 'required' => false, - ], + 'totalAmount' => ['required' => false, '$ref' => '#/components/schemas/Money', 'description' => ''], + 'gmtModified' => ['title' => '账单修改时间', 'description' => '账单修改时间', 'type' => 'string', 'required' => false], + 'billId' => ['title' => '账单id', 'description' => '账单id', 'type' => 'string', 'required' => false], 'downloadUrl' => [ 'title' => '明细下载地址', 'description' => '明细下载地址', 'type' => 'array', - 'items' => [ - 'title' => '明细下载地址', - 'description' => '明细下载地址', - 'type' => 'string', - 'required' => false, - ], - 'required' => false, - ], - 'shopName' => [ - 'title' => '店铺名称', - 'description' => '店铺名称', - 'type' => 'string', - 'required' => false, - ], - 'startTime' => [ - 'title' => '账期开始时间', - 'description' => '账期开始时间', - 'type' => 'string', - 'required' => false, - ], - 'endTime' => [ - 'title' => '账期结束时间', - 'description' => '账期结束时间', - 'type' => 'string', - 'required' => false, - ], - 'shopId' => [ - 'title' => '店铺id', - 'description' => '店铺id', - 'type' => 'string', - 'required' => false, - ], - 'gmtCreate' => [ - 'title' => '账单创建时间', - 'description' => '账单创建时间', - 'type' => 'string', - 'required' => false, - ], - 'billPeriod' => [ - 'title' => '账期', - 'description' => '账期', - 'type' => 'string', + 'items' => ['title' => '明细下载地址', 'description' => '明细下载地址', 'type' => 'string', 'required' => false], 'required' => false, ], + 'shopName' => ['title' => '店铺名称', 'description' => '店铺名称', 'type' => 'string', 'required' => false], + 'startTime' => ['title' => '账期开始时间', 'description' => '账期开始时间', 'type' => 'string', 'required' => false], + 'endTime' => ['title' => '账期结束时间', 'description' => '账期结束时间', 'type' => 'string', 'required' => false], + 'shopId' => ['title' => '店铺id', 'description' => '店铺id', 'type' => 'string', 'required' => false], + 'gmtCreate' => ['title' => '账单创建时间', 'description' => '账单创建时间', 'type' => 'string', 'required' => false], + 'billPeriod' => ['title' => '账期', 'description' => '账期', 'type' => 'string', 'required' => false], ], ], 'GeneralBillPageQuery' => [ @@ -733,70 +247,16 @@ 'description' => '账单查询入参', 'type' => 'object', 'properties' => [ - 'asc' => [ - 'title' => 'asc', - 'description' => 'asc', - 'type' => 'boolean', - 'required' => false, - ], - 'pageNumber' => [ - 'title' => 'pageNumber', - 'description' => 'pageNumber', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'billId' => [ - 'title' => 'billId', - 'description' => 'billId', - 'type' => 'string', - 'required' => false, - ], - 'limit' => [ - 'title' => 'limit', - 'description' => 'limit', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'start' => [ - 'title' => 'start', - 'description' => 'start', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'orderBy' => [ - 'title' => 'orderBy', - 'description' => 'orderBy', - 'type' => 'string', - 'required' => false, - ], - 'orderDirection' => [ - 'title' => 'orderDirection', - 'description' => 'orderDirection', - 'type' => 'string', - 'required' => false, - ], - 'pageSize' => [ - 'title' => 'pageSize', - 'description' => 'pageSize', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'shopId' => [ - 'title' => 'shopId', - 'description' => 'shopId', - 'type' => 'string', - 'required' => false, - ], - 'billPeriod' => [ - 'title' => 'billPeriod', - 'description' => 'billPeriod', - 'type' => 'string', - 'required' => false, - ], + 'asc' => ['title' => 'asc', 'description' => 'asc', 'type' => 'boolean', 'required' => false], + 'pageNumber' => ['title' => 'pageNumber', 'description' => 'pageNumber', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'billId' => ['title' => 'billId', 'description' => 'billId', 'type' => 'string', 'required' => false], + 'limit' => ['title' => 'limit', 'description' => 'limit', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'start' => ['title' => 'start', 'description' => 'start', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'orderBy' => ['title' => 'orderBy', 'description' => 'orderBy', 'type' => 'string', 'required' => false], + 'orderDirection' => ['title' => 'orderDirection', 'description' => 'orderDirection', 'type' => 'string', 'required' => false], + 'pageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'shopId' => ['title' => 'shopId', 'description' => 'shopId', 'type' => 'string', 'required' => false], + 'billPeriod' => ['title' => 'billPeriod', 'description' => 'billPeriod', 'type' => 'string', 'required' => false], ], ], 'GeneralBillPageResult' => [ @@ -804,111 +264,28 @@ 'description' => '账单查询结果', 'type' => 'object', 'properties' => [ - 'pageSize' => [ - 'title' => '页大小', - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'total' => [ - 'title' => '总数量', - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '24', - ], - 'pageNumber' => [ - 'title' => '当前页码', - 'description' => '当前页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '3239281273464326823', - ], + 'pageSize' => ['title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'total' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '24'], + 'pageNumber' => ['title' => '当前页码', 'description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'], 'generalBills' => [ 'title' => '账单集合', 'description' => '账单集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/GeneralBill', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/GeneralBill', 'description' => ''], 'required' => false, ], ], ], - 'GetDistributionProductResult' => [ - 'title' => 'A short description of struct', - 'description' => '获取铺货商品结果', - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'title' => '请求ID', - 'type' => 'string', - ], - 'code' => [ - 'title' => '返回码', - 'type' => 'string', - ], - 'message' => [ - 'title' => '返回消息', - 'type' => 'string', - ], - 'products' => [ - 'title' => '商品信息', - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/DistributionProduct', - ], - ], - ], - ], 'Good' => [ 'description' => '货品集合', 'type' => 'object', 'properties' => [ - 'goodName' => [ - 'title' => '货品名称', - 'description' => '货品名称', - 'type' => 'string', - 'required' => false, - 'example' => '儿童学习桌', - ], - 'productId' => [ - 'title' => '商品ID', - 'description' => '商品ID', - 'type' => 'string', - 'required' => false, - 'example' => '6600****6736', - ], - 'quantity' => [ - 'title' => '数量', - 'description' => '数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'skuId' => [ - 'title' => 'skuId', - 'description' => 'skuId', - 'type' => 'string', - 'example' => '7232****2321', - ], - 'skuTitle' => [ - 'title' => 'sku标题', - 'description' => 'sku标题', - 'type' => 'string', - 'example' => '白色', - ], + 'goodName' => ['title' => '货品名称', 'description' => '货品名称', 'type' => 'string', 'required' => false, 'example' => '儿童学习桌'], + 'productId' => ['title' => '商品ID', 'description' => '商品ID', 'type' => 'string', 'required' => false, 'example' => '6600****6736'], + 'quantity' => ['title' => '数量', 'description' => '数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'skuId' => ['title' => 'skuId', 'description' => 'skuId', 'type' => 'string', 'example' => '7232****2321'], + 'skuTitle' => ['title' => 'sku标题', 'description' => 'sku标题', 'type' => 'string', 'example' => '白色'], ], ], 'GoodsShippingNoticeCreateCmd' => [ @@ -922,47 +299,14 @@ 'type' => 'string', 'required' => true, 'enumValueTitles' => [ - 'TAOBAO' => '淘宝物流', - 'YUNDA' => '韵达快递', - 'ZJS' => '宅急送', - 'FEDEX' => '联邦快递', - 'ZTKY' => '中铁物流', - 'POST' => '中国邮政', - 'DBKD' => '德邦物流', - 'EMS' => 'EMS', - 'JT' => '极兔物流', - 'QFKD' => '全峰快递', - 'POSTB' => '邮政快递包裹', - 'EYB' => '邮政电商标快EYB', - 'STO' => '申通快递', - 'OTHER' => '其他', - 'SF' => '顺丰速运', - 'ZTO' => '中通快递', - 'YTO' => '圆通快递', - 'TTKDEX' => '天天快递', - 'JDLEx' => '京东快递', - 'CNDJWL' => '菜鸟大件物流', - 'TN' => '特能', - 'HTKY' => '百世快递', - 'SHQ' => '华强物流', - 'ZMKM' => '菜鸟速递', + 'TAOBAO' => '淘宝物流', 'YUNDA' => '韵达快递', 'ZJS' => '宅急送', 'FEDEX' => '联邦快递', 'ZTKY' => '中铁物流', 'POST' => '中国邮政', 'DBKD' => '德邦物流', 'EMS' => 'EMS', 'JT' => '极兔物流', 'QFKD' => '全峰快递', + 'POSTB' => '邮政快递包裹', 'EYB' => '邮政电商标快EYB', 'STO' => '申通快递', 'OTHER' => '其他', 'SF' => '顺丰速运', 'ZTO' => '中通快递', 'YTO' => '圆通快递', 'TTKDEX' => '天天快递', 'JDLEx' => '京东快递', 'CNDJWL' => '菜鸟大件物流', + 'TN' => '特能', 'HTKY' => '百世快递', 'SHQ' => '华强物流', 'ZMKM' => '菜鸟速递', ], 'example' => 'SF', ], - 'logisticsNo' => [ - 'title' => '物流单号', - 'description' => '物流单号', - 'type' => 'string', - 'required' => true, - 'example' => 'SF145****4353', - ], - 'disputeId' => [ - 'title' => '纠纷ID', - 'description' => '纠纷ID', - 'type' => 'string', - 'required' => true, - 'example' => '6693****4352', - ], + 'logisticsNo' => ['title' => '物流单号', 'description' => '物流单号', 'type' => 'string', 'required' => true, 'example' => 'SF145****4353'], + 'disputeId' => ['title' => '纠纷ID', 'description' => '纠纷ID', 'type' => 'string', 'required' => true, 'example' => '6693****4352'], ], ], 'GoodsShippingNoticeCreateResult' => [ @@ -970,20 +314,8 @@ 'description' => '提交物流结果', 'type' => 'object', 'properties' => [ - 'result' => [ - 'title' => '提交物流信息返回结果', - 'description' => '提交物流信息返回结果', - 'type' => 'string', - 'required' => false, - 'example' => 'success', - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '841471F6-5D61-1331-8C38-2****B55', - ], + 'result' => ['title' => '提交物流信息返回结果', 'description' => '提交物流信息返回结果', 'type' => 'string', 'required' => false, 'example' => 'success'], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'], ], ], 'LeavePictureList' => [ @@ -991,20 +323,8 @@ 'description' => '凭证', 'type' => 'object', 'properties' => [ - 'picture' => [ - 'title' => '图片地址', - 'description' => '售后凭证图片><notice>如售后单渲染接口返回必传售后图片,则为必传></notice>', - 'type' => 'string', - 'required' => false, - 'example' => 'https://img.alicdn.com/imgextra/i3/221428******/O1CN01w4vomR1QYYE*******_!!221428*******.jpg', - ], - 'desc' => [ - 'title' => '描述', - 'description' => '描述><notice>如售后单渲染接口返回必传留言描述,则为必传></notice>', - 'type' => 'string', - 'required' => false, - 'example' => '外观破损了。', - ], + 'picture' => ['title' => '图片地址', 'description' => '售后凭证图片><notice>如售后单渲染接口返回必传售后图片,则为必传></notice>', 'type' => 'string', 'required' => false, 'example' => 'https://img.alicdn.com/imgextra/i3/221428******/O1CN01w4vomR1QYYE*******_!!221428*******.jpg'], + 'desc' => ['title' => '描述', 'description' => '描述><notice>如售后单渲染接口返回必传留言描述,则为必传></notice>', 'type' => 'string', 'required' => false, 'example' => '外观破损了。'], ], ], 'LimitRule' => [ @@ -1016,49 +336,21 @@ 'title' => '限购类型', 'description' => '限购类型', 'type' => 'string', - 'enumValueTitles' => [ - 'UpperNumberPerUserPeriod' => '周期总量限购', - 'LowerNumberPerBuy' => '单次限购最低购买数量', - 'UpperNumberPerBuy' => '单次限购', - 'UpperNumberPerUser' => '总量限购', - ], + 'enumValueTitles' => ['UpperNumberPerUserPeriod' => '周期总量限购', 'LowerNumberPerBuy' => '单次限购最低购买数量', 'UpperNumberPerBuy' => '单次限购', 'UpperNumberPerUser' => '总量限购'], 'example' => 'UpperNumberPerUser', ], - 'limitNum' => [ - 'title' => '限购数量', - 'description' => '限购数量'."\n" - .'> 同一时间,如有多条限购有效时,最终限购数量为最小值', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'beginTime' => [ - 'title' => '生效开始时间', - 'description' => '生效开始时间'."\n" - .'> 时间戳:毫秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1724947200000', - ], - 'endTime' => [ - 'title' => '生效截止时间', - 'description' => '生效截止时间'."\n" - .'> 时间戳:毫秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1724947200000', - ], + 'limitNum' => ['title' => '限购数量', 'description' => '限购数量'."\n" + .'> 同一时间,如有多条限购有效时,最终限购数量为最小值', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'beginTime' => ['title' => '生效开始时间', 'description' => '生效开始时间'."\n" + .'> 时间戳:毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1724947200000'], + 'endTime' => ['title' => '生效截止时间', 'description' => '生效截止时间'."\n" + .'> 时间戳:毫秒', 'type' => 'integer', 'format' => 'int64', 'example' => '1724947200000'], 'condcase' => [ 'title' => '周期条件', 'description' => '周期条件'."\n" .'> ruleType值为UpperNumberPerUserPeriod时,该字段有效', 'type' => 'string', - 'enumValueTitles' => [ - 'Null' => 'Null', - 'week' => '每周', - 'month' => '每月', - 'day' => '每天', - ], + 'enumValueTitles' => ['Null' => 'Null', 'week' => '每周', 'month' => '每月', 'day' => '每天'], 'example' => 'day', ], ], @@ -1068,20 +360,8 @@ 'description' => '物流详情集合', 'type' => 'object', 'properties' => [ - 'ocurrTimeStr' => [ - 'title' => '物流发生时间', - 'description' => '物流发生时间', - 'type' => 'string', - 'required' => false, - 'example' => '2023-09-11T12:22:24.000+08:00', - ], - 'standerdDesc' => [ - 'title' => '物流描述信息', - 'description' => '物流描述信息', - 'type' => 'string', - 'required' => false, - 'example' => '已签收', - ], + 'ocurrTimeStr' => ['title' => '物流发生时间', 'description' => '物流发生时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'], + 'standerdDesc' => ['title' => '物流描述信息', 'description' => '物流描述信息', 'type' => 'string', 'required' => false, 'example' => '已签收'], ], ], 'LogisticsInformationData' => [ @@ -1089,60 +369,15 @@ 'description' => '物流信息', 'type' => 'object', 'properties' => [ - 'purchaserId' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'example' => 'PID22000009', - ], - 'trackingCompanyCode' => [ - 'title' => '快递公司代码', - 'description' => '快递公司代码', - 'type' => 'string', - 'example' => 'SF', - ], - 'trackingCompanyName' => [ - 'title' => '快递公司名称', - 'description' => '快递公司名称', - 'type' => 'string', - 'example' => '顺丰快递', - ], - 'modifiedTime' => [ - 'title' => '更新时间 yyyy-MM-dd HH:mm:ss', - 'description' => '更新时间 yyyy-MM-dd HH:mm:ss', - 'type' => 'string', - 'example' => '1713407100321', - ], - 'orderLineId' => [ - 'title' => '子单id', - 'description' => '子单id', - 'type' => 'string', - 'example' => '6692****5458', - ], - 'trackingNumber' => [ - 'title' => '快递单号', - 'description' => '快递单号', - 'type' => 'string', - 'example' => 'SF198913131', - ], - 'outerPurchaseOrderId' => [ - 'title' => '创建采购单传入的外部采购单号', - 'description' => '创建采购单传入的外部采购单号', - 'type' => 'string', - 'example' => '233111', - ], - 'logisticsStatus' => [ - 'title' => '物流状态 2=已发货 -> 等待买家确认收货', - 'description' => '物流状态 2=已发货 -> 等待买家确认收货', - 'type' => 'string', - 'example' => '1', - ], - 'orderId' => [ - 'title' => '订单id', - 'description' => '订单id', - 'type' => 'string', - 'example' => '6696070566****8593', - ], + 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'example' => 'PID22000009'], + 'trackingCompanyCode' => ['title' => '快递公司代码', 'description' => '快递公司代码', 'type' => 'string', 'example' => 'SF'], + 'trackingCompanyName' => ['title' => '快递公司名称', 'description' => '快递公司名称', 'type' => 'string', 'example' => '顺丰快递'], + 'modifiedTime' => ['title' => '更新时间 yyyy-MM-dd HH:mm:ss', 'description' => '更新时间 yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '1713407100321'], + 'orderLineId' => ['title' => '子单id', 'description' => '子单id', 'type' => 'string', 'example' => '6692****5458'], + 'trackingNumber' => ['title' => '快递单号', 'description' => '快递单号', 'type' => 'string', 'example' => 'SF198913131'], + 'outerPurchaseOrderId' => ['title' => '创建采购单传入的外部采购单号', 'description' => '创建采购单传入的外部采购单号', 'type' => 'string', 'example' => '233111'], + 'logisticsStatus' => ['title' => '物流状态 2=已发货 -> 等待买家确认收货', 'description' => '物流状态 2=已发货 -> 等待买家确认收货', 'type' => 'string', 'example' => '1'], + 'orderId' => ['title' => '订单id', 'description' => '订单id', 'type' => 'string', 'example' => '6696070566****8593'], ], ], 'LogisticsOrderListResult' => [ @@ -1154,226 +389,98 @@ 'title' => '物流集合', 'description' => '物流集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/LogisticsOrderResult', - ], - 'required' => false, - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', + 'items' => ['required' => false, '$ref' => '#/components/schemas/LogisticsOrderResult', 'description' => ''], 'required' => false, - 'example' => '841471F6-5D61-1331-8C38-2****B55', ], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'], ], ], 'LogisticsOrderResult' => [ 'description' => '履约单', 'type' => 'object', 'properties' => [ - 'mailNo' => [ - 'title' => '物流单号', - 'description' => '物流单号', - 'type' => 'string', - 'required' => false, - 'example' => 'SF234***2345', - ], - 'dataProviderTitle' => [ - 'title' => '数据文本', - 'description' => '数据文本', - 'type' => 'string', - 'required' => false, - 'example' => '菜鸟裹裹', - ], - 'logisticsCompanyName' => [ - 'title' => '物流公司名称', - 'description' => '物流公司名称', - 'type' => 'string', - 'required' => false, - 'example' => '顺丰', - ], + 'mailNo' => ['title' => '物流单号', 'description' => '物流单号'."\n" + .'> 电子卡券的物流单号为固定值:*', 'type' => 'string', 'required' => false, 'example' => 'SF234***2345'], + 'dataProviderTitle' => ['title' => '数据文本', 'description' => '数据文本', 'type' => 'string', 'required' => false, 'example' => '菜鸟裹裹'], + 'logisticsCompanyName' => ['title' => '物流公司名称', 'description' => '物流公司名称', 'type' => 'string', 'required' => false, 'example' => '顺丰'], 'logisticsDetailList' => [ 'title' => '物流详情', 'description' => '物流详情', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/LogisticsDetail', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/LogisticsDetail', 'description' => ''], 'required' => false, ], 'goods' => [ 'title' => '货品详情', 'description' => '货品详情', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/Good', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/Good', 'description' => ''], 'required' => false, ], - 'dataProvider' => [ - 'title' => '数据来源', - 'description' => '数据来源', - 'type' => 'string', - 'required' => false, - 'example' => '菜鸟', - ], + 'dataProvider' => ['title' => '数据来源', 'description' => '数据来源', 'type' => 'string', 'required' => false, 'example' => '菜鸟'], 'logisticsCompanyCode' => [ 'title' => '物流公司代码', - 'description' => '物流公司代码', + 'description' => '物流公司代码'."\n" + .'>枚举值:'."\n" + .'> - ZTKY(中铁物流)'."\n" + .'> - POST(中国邮政)'."\n" + .'> - DBKD(德邦物流)'."\n" + .'> - JT(极兔物流)'."\n" + .'> - QFKD(全峰快递)'."\n" + .'> - EYB(邮政电商标快EYB)'."\n" + .'> - STO(申通快递)'."\n" + .'> - SF(顺丰速运)'."\n" + .'> - ZTO(中通快递)'."\n" + .'> - YTO(圆通快递)'."\n" + .'> - TTKDEX(天天快递)'."\n" + .'> - JDLEx(京东快递)'."\n" + .'> - ETICKET(电子卡券)'."\n" + .'> - HTKY(百世快递)'."\n" + .'> - SHQ(华强物流)'."\n" + .'> - TAOBAO(淘宝物流)'."\n" + .'> - YUNDA(韵达快递)'."\n" + .'> - ZJS(宅急送)'."\n" + .'> - FEDEX(联邦快递)'."\n" + .'> - EMS'."\n" + .'> - POSTB(邮政快递包裹)'."\n" + .'> - OTHER(其他)'."\n" + .'> - CNDJWL(菜鸟大件物流)'."\n" + .'> - TN(特能)'."\n" + .'> - ZMKM(菜鸟速递)', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ - 'TAOBAO' => '淘宝物流', - 'YUNDA' => '韵达快递', - 'ZJS' => '宅急送', - 'FEDEX' => '联邦快递', - 'ZTKY' => '中铁物流', - 'POST' => '中国邮政', - 'DBKD' => '德邦物流', - 'EMS' => 'EMS', - 'JT' => '极兔物流', - 'QFKD' => '全峰快递', - 'POSTB' => '邮政快递包裹', - 'EYB' => '邮政电商标快EYB', - 'STO' => '申通快递', - 'OTHER' => '其他', - 'SF' => '顺丰速运', - 'ZTO' => '中通快递', - 'YTO' => '圆通快递', - 'TTKDEX' => '天天快递', - 'JDLEx' => '京东快递', - 'CNDJWL' => '菜鸟大件物流', - 'TN' => '特能', - 'HTKY' => '百世快递', - 'SHQ' => '华强物流', - 'ZMKM' => '菜鸟速递', + 'ZTKY' => '中铁物流', 'POST' => '中国邮政', 'DBKD' => '德邦物流', 'JT' => '极兔物流', 'QFKD' => '全峰快递', 'EYB' => '邮政电商标快EYB', 'STO' => '申通快递', 'SF' => '顺丰速运', 'ZTO' => '中通快递', 'YTO' => '圆通快递', + 'TTKDEX' => '天天快递', 'JDLEx' => '京东快递', 'ETICKET' => '电子卡券', 'HTKY' => '百世快递', 'SHQ' => '华强物流', 'TAOBAO' => '淘宝物流', 'YUNDA' => '韵达快递', 'ZJS' => '宅急送', 'FEDEX' => '联邦快递', 'EMS' => 'EMS', + 'POSTB' => '邮政快递包裹', 'OTHER' => '其他', 'CNDJWL' => '菜鸟大件物流', 'TN' => '特能', 'ZMKM' => '菜鸟速递', ], 'example' => 'SF', ], ], ], - 'MemberAccountRequest' => [ - 'title' => '会员账号请求', - 'description' => '会员账号请求', - 'type' => 'object', - 'properties' => [ - 'shopId' => [ - 'title' => '店铺id', - 'type' => 'string', - 'required' => true, - 'example' => '123', - ], - ], - ], - 'MemberAccountResult' => [ - 'type' => 'object', - 'properties' => [ - 'accountNo' => [ - 'title' => '已签约并绑定的支付宝代扣账号(脱敏)', - 'type' => 'array', - 'items' => [ - 'title' => '已签约并绑定的支付宝代扣账号(脱敏)', - 'type' => 'string', - 'required' => false, - 'example' => 'yue***@newburn.cn', - ], - 'required' => false, - 'example' => '"yue***@newburn.cn"', - ], - 'shopId' => [ - 'title' => '店铺id', - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], - ], - ], 'Money' => [ 'description' => '账单金额', 'type' => 'object', 'properties' => [ - 'amount' => [ - 'title' => 'amount', - 'description' => 'amount', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'amountString' => [ - 'title' => 'amountString', - 'description' => 'amountString', - 'type' => 'string', - 'required' => false, - ], - 'cent' => [ - 'title' => 'cent', - 'description' => 'cent', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'amountAsString' => [ - 'title' => 'amountAsString', - 'description' => 'amountAsString', - 'type' => 'string', - 'required' => false, - ], + 'amount' => ['title' => 'amount', 'description' => 'amount', 'type' => 'integer', 'format' => 'int64', 'required' => false], + 'amountString' => ['title' => 'amountString', 'description' => 'amountString', 'type' => 'string', 'required' => false], + 'cent' => ['title' => 'cent', 'description' => 'cent', 'type' => 'integer', 'format' => 'int64', 'required' => false], + 'amountAsString' => ['title' => 'amountAsString', 'description' => 'amountAsString', 'type' => 'string', 'required' => false], 'currency' => [ 'title' => 'currency', 'description' => 'currency', 'type' => 'object', 'properties' => [ - 'symbol' => [ - 'title' => 'symbol', - 'description' => 'symbol', - 'type' => 'string', - 'required' => false, - ], - 'displayName' => [ - 'title' => 'displayName', - 'description' => 'displayName', - 'type' => 'string', - 'required' => false, - ], - 'currencyCode' => [ - 'title' => 'currencyCode', - 'description' => 'currencyCode', - 'type' => 'string', - 'required' => false, - ], - 'defaultFractionDigits' => [ - 'title' => 'defaultFractionDigits', - 'description' => 'defaultFractionDigits', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'numericCode' => [ - 'title' => 'numericCode', - 'description' => 'numericCode', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'symbol' => ['title' => 'symbol', 'description' => 'symbol', 'type' => 'string', 'required' => false], + 'displayName' => ['title' => 'displayName', 'description' => 'displayName', 'type' => 'string', 'required' => false], + 'currencyCode' => ['title' => 'currencyCode', 'description' => 'currencyCode', 'type' => 'string', 'required' => false], + 'defaultFractionDigits' => ['title' => 'defaultFractionDigits', 'description' => 'defaultFractionDigits', 'type' => 'integer', 'format' => 'int32', 'required' => false], + 'numericCode' => ['title' => 'numericCode', 'description' => 'numericCode', 'type' => 'integer', 'format' => 'int32', 'required' => false], ], 'required' => false, ], - 'positive' => [ - 'title' => 'positive', - 'description' => 'positive', - 'type' => 'boolean', - 'required' => false, - ], - 'currencyCode' => [ - 'title' => 'currencyCode', - 'description' => 'currencyCode', - 'type' => 'string', - 'required' => false, - ], + 'positive' => ['title' => 'positive', 'description' => 'positive', 'type' => 'boolean', 'required' => false], + 'currencyCode' => ['title' => 'currencyCode', 'description' => 'currencyCode', 'type' => 'string', 'required' => false], ], ], 'OrderLineResult' => [ @@ -1381,98 +488,36 @@ 'description' => '子订单集合', 'type' => 'object', 'properties' => [ - 'productTitle' => [ - 'title' => '商品名称', - 'description' => '商品名称', - 'type' => 'string', - 'required' => false, - 'example' => '儿童学习桌', - ], - 'number' => [ - 'title' => '数量', - 'description' => '数量', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'skuTitle' => [ - 'title' => 'sku名称', - 'description' => 'sku名称', - 'type' => 'string', - 'required' => false, - 'example' => '浅绿色', - ], - 'productId' => [ - 'title' => '商品ID', - 'description' => '商品ID', - 'type' => 'string', - 'required' => false, - 'example' => '6600****6736', - ], - 'orderId' => [ - 'title' => '订单id(主订单id)', - 'description' => '订单id(主订单id)', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5457', - ], - 'productPic' => [ - 'title' => '商品图片', - 'description' => '商品图片', - 'type' => 'string', - 'required' => false, - 'example' => '//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0', - ], - 'orderLineId' => [ - 'title' => '子订单id', - 'description' => '子订单id', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5458', - ], + 'productTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string', 'required' => false, 'example' => '儿童学习桌'], + 'number' => ['title' => '数量', 'description' => '数量', 'type' => 'string', 'required' => false, 'example' => '1'], + 'skuTitle' => ['title' => 'sku名称', 'description' => 'sku名称', 'type' => 'string', 'required' => false, 'example' => '浅绿色'], + 'productId' => ['title' => '商品ID', 'description' => '商品ID', 'type' => 'string', 'required' => false, 'example' => '6600****6736'], + 'orderId' => ['title' => '订单id(主订单id)', 'description' => '订单id(主订单id)', 'type' => 'string', 'required' => false, 'example' => '6692****5457'], + 'productPic' => ['title' => '商品图片', 'description' => '商品图片', 'type' => 'string', 'required' => false, 'example' => '//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0'], + 'orderLineId' => ['title' => '子订单id', 'description' => '子订单id', 'type' => 'string', 'required' => false, 'example' => '6692****5458'], 'logisticsStatus' => [ 'title' => '物流状态', 'description' => '物流状态', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 1 => '未发货>待卖家发货', - '已发货>待买家收货', - '已收货>确认收货', - 6 => '部分发货', - 8 => '未创建物流订单', - ], + 'enumValueTitles' => [1 => '未发货>待卖家发货', '已发货>待买家收货', '已收货>确认收货', 6 => '部分发货', 8 => '未创建物流订单'], 'example' => '1', ], - 'payFee' => [ - 'title' => '子订单应付金额', - 'description' => '子订单应付金额', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], - 'skuId' => [ - 'title' => 'skuId', - 'description' => 'skuId', - 'type' => 'string', - 'required' => false, - 'example' => '6600****6737', - ], + 'payFee' => ['title' => '子订单应付金额', 'description' => '子订单应付金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], + 'skuId' => ['title' => 'skuId', 'description' => 'skuId', 'type' => 'string', 'required' => false, 'example' => '6600****6737'], 'orderLineStatus' => [ 'title' => '子订单状态', 'description' => '子订单状态', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 1 => '待付款', - '已付款', - 4 => '退款成功', - 6 => '交易成功', - 8 => '交易关闭', - ], + 'enumValueTitles' => [1 => '待付款', '已付款', 4 => '退款成功', 6 => '交易成功', 8 => '交易关闭'], 'example' => '1', ], + 'eticketInfos' => [ + 'description' => '卡券电子凭证', + 'type' => 'array', + 'items' => ['description' => '卡券电子凭证', '$ref' => '#/components/schemas/EticketInfo'], + ], ], ], 'OrderListResult' => [ @@ -1484,27 +529,11 @@ 'title' => '订单集合', 'description' => '订单集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/OrderResult', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/OrderResult', 'description' => ''], 'required' => false, ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '841471F6-5D61-1331-8C38-2****B55', - ], - 'total' => [ - 'title' => '总数量', - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '24', - ], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'], + 'total' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '24'], ], ], 'OrderPageQuery' => [ @@ -1512,41 +541,17 @@ 'description' => '订单分页查询入参', 'type' => 'object', 'properties' => [ - 'pageSize' => [ - 'title' => '每页数量', - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'pageSize' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], 'orderIdList' => [ 'title' => '主单ID集合', 'description' => '主单ID集合', 'type' => 'array', - 'items' => [ - 'description' => '主单ID(oderId)', - 'type' => 'string', - 'required' => false, - 'example' => '8234****1234', - ], + 'items' => ['description' => '主单ID(oderId)', 'type' => 'string', 'required' => false, 'example' => '8234****1234'], 'required' => false, ], - 'pageNumber' => [ - 'title' => '页码', - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - 'purchaseOrderId' => [ - 'title' => '采购单ID', - 'description' => '采购单ID', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5696', - ], + 'pageNumber' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'purchaseOrderId' => ['title' => '采购单ID', 'description' => '采购单ID', 'type' => 'string', 'required' => false, 'example' => '6692****5696'], + 'outPurchaseOrderId' => ['type' => 'string'], ], ], 'OrderProductResult' => [ @@ -1554,84 +559,17 @@ 'description' => '商品信息', 'type' => 'object', 'properties' => [ - 'productTitle' => [ - 'title' => '商品标题', - 'description' => '商品标题', - 'type' => 'string', - 'required' => false, - 'example' => '儿童学习桌', - ], - 'features' => [ - 'title' => '商品额外信息', - 'description' => '商品额外信息', - 'type' => 'object', - 'required' => false, - ], - 'skuTitle' => [ - 'title' => 'sku标题', - 'description' => 'sku标题', - 'type' => 'string', - 'required' => false, - 'example' => '浅绿色', - ], - 'quantity' => [ - 'title' => '购买数量', - 'description' => '购买数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'productId' => [ - 'title' => '商品id', - 'description' => '商品id', - 'type' => 'string', - 'required' => false, - 'example' => '6600****6736', - ], - 'canSell' => [ - 'title' => '商品是否可售卖', - 'description' => '商品是否可售卖', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - 'price' => [ - 'title' => '商品价格(单位:分)', - 'description' => '商品价格(单位:分)', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], - 'productPicUrl' => [ - 'title' => '商品图片链接', - 'description' => '商品图片链接', - 'type' => 'string', - 'required' => false, - 'example' => '//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0', - ], - 'purchaserId' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'required' => false, - 'example' => 'PID56****2304', - ], - 'message' => [ - 'title' => '不可售原因', - 'description' => '不可售原因', - 'type' => 'string', - 'required' => false, - 'example' => '库存为0', - ], - 'skuId' => [ - 'title' => 'SKUID', - 'description' => 'SKUID', - 'type' => 'string', - 'required' => false, - 'example' => '6600****6737', - ], + 'productTitle' => ['title' => '商品标题', 'description' => '商品标题', 'type' => 'string', 'required' => false, 'example' => '儿童学习桌'], + 'features' => ['title' => '商品额外信息', 'description' => '商品额外信息', 'type' => 'object', 'required' => false], + 'skuTitle' => ['title' => 'sku标题', 'description' => 'sku标题', 'type' => 'string', 'required' => false, 'example' => '浅绿色'], + 'quantity' => ['title' => '购买数量', 'description' => '购买数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'productId' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '6600****6736'], + 'canSell' => ['title' => '商品是否可售卖', 'description' => '商品是否可售卖', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'price' => ['title' => '商品价格(单位:分)', 'description' => '商品价格(单位:分)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], + 'productPicUrl' => ['title' => '商品图片链接', 'description' => '商品图片链接', 'type' => 'string', 'required' => false, 'example' => '//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0'], + 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => false, 'example' => 'PID56****2304'], + 'message' => ['title' => '不可售原因', 'description' => '不可售原因', 'type' => 'string', 'required' => false, 'example' => '库存为0'], + 'skuId' => ['title' => 'SKUID', 'description' => 'SKUID', 'type' => 'string', 'required' => false, 'example' => '6600****6737'], ], ], 'OrderRenderProductDTO' => [ @@ -1639,35 +577,10 @@ 'description' => '商品集合', 'type' => 'object', 'properties' => [ - 'quantity' => [ - 'title' => '购买数量', - 'description' => '购买数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - 'purchaserId' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'required' => true, - 'example' => 'PID56****2304', - ], - 'productId' => [ - 'title' => '商品ID', - 'description' => '商品ID', - 'type' => 'string', - 'required' => true, - 'example' => '6600****6736', - ], - 'skuId' => [ - 'title' => 'skuID', - 'description' => 'skuID', - 'type' => 'string', - 'required' => true, - 'example' => '6600****6737', - ], + 'quantity' => ['title' => '购买数量', 'description' => '购买数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PID56****2304'], + 'productId' => ['title' => '商品ID', 'description' => '商品ID', 'type' => 'string', 'required' => true, 'example' => '6600****6736'], + 'skuId' => ['title' => 'skuID', 'description' => 'skuID', 'type' => 'string', 'required' => true, 'example' => '6600****6737'], ], ], 'OrderRenderResult' => [ @@ -1675,46 +588,23 @@ 'description' => '订单不可售列表', 'type' => 'object', 'properties' => [ - 'message' => [ - 'title' => '不可售原因', - 'description' => '不可售原因', - 'type' => 'string', - 'required' => false, - 'example' => '库存为0', - ], + 'message' => ['title' => '不可售原因', 'description' => '不可售原因', 'type' => 'string', 'required' => false, 'example' => '库存为0'], 'deliveryInfoList' => [ 'title' => '履约信息', 'description' => '履约信息', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/DeliveryInfo', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/DeliveryInfo', 'description' => ''], 'required' => false, ], - 'canSell' => [ - 'title' => '是否可售', - 'description' => '是否可售', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'canSell' => ['title' => '是否可售', 'description' => '是否可售', 'type' => 'boolean', 'required' => false, 'example' => 'true'], 'productList' => [ 'title' => '商品集合', 'description' => '商品集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/OrderProductResult', - ], - 'required' => false, - ], - 'extInfo' => [ - 'title' => '扩展信息', - 'description' => '扩展信息', - 'type' => 'object', + 'items' => ['required' => false, '$ref' => '#/components/schemas/OrderProductResult', 'description' => ''], 'required' => false, ], + 'extInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false], ], ], 'OrderResult' => [ @@ -1722,71 +612,21 @@ 'description' => '主单列表', 'type' => 'object', 'properties' => [ - 'orderAmount' => [ - 'title' => '订单金额(分)', - 'description' => '订单金额(分)', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], + 'orderAmount' => ['title' => '订单金额(分)', 'description' => '订单金额(分)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], 'orderLineList' => [ 'title' => '子订单集合', 'description' => '子订单集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/OrderLineResult', - ], + 'items' => ['description' => '子订单集合', 'required' => false, '$ref' => '#/components/schemas/OrderLineResult'], 'required' => false, ], - 'orderId' => [ - 'title' => '订单id(主订单id)', - 'description' => '订单id(主订单id)', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5457', - ], - 'distributorId' => [ - 'title' => '分销商ID', - 'description' => '分销商ID', - 'type' => 'string', - 'required' => false, - 'example' => '12****01', - ], - 'orderStatus' => [ - 'title' => '订单状态1=待支付,2=已支付,4=已退款关闭,6=交易成功,8=已关闭', - 'description' => '订单状态 1=待支付,2=已支付,4=已退款关闭,6=交易成功,8=已关闭', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'logisticsStatus' => [ - 'title' => '物流状态 1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单', - 'description' => '物流状态 1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'createDate' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'required' => false, - 'example' => '2023-09-11T12:22:24.000+08:00', - ], - 'requestId' => [ - 'title' => '请求ID', - 'description' => '请求ID', - 'type' => 'string', - 'example' => '841471F6-5D61-1331-8C38-2****B55', - ], - 'orderClosedReason' => [ - 'title' => '订单关单原因', - 'description' => '订单关单原因', - 'type' => 'string', - 'example' => '系统关单', - ], + 'orderId' => ['title' => '订单id(主订单id)', 'description' => '订单id(主订单id)', 'type' => 'string', 'required' => false, 'example' => '6692****5457'], + 'distributorId' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '12****01'], + 'orderStatus' => ['title' => '订单状态1=待支付,2=已支付,4=已退款关闭,6=交易成功,8=已关闭', 'description' => '订单状态 1=待支付,2=已支付,4=已退款关闭,6=交易成功,8=已关闭', 'type' => 'string', 'required' => false, 'example' => '1'], + 'logisticsStatus' => ['title' => '物流状态 1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单', 'description' => '物流状态 1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单', 'type' => 'string', 'required' => false, 'example' => '1'], + 'createDate' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'], + 'requestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '841471F6-5D61-1331-8C38-2****B55'], + 'orderClosedReason' => ['title' => '订单关单原因', 'description' => '订单关单原因', 'type' => 'string', 'example' => '系统关单'], ], ], 'Product' => [ @@ -1798,39 +638,23 @@ 'title' => '类目链', 'description' => '类目链', 'type' => 'array', - 'items' => [ - 'description' => '类目', - 'required' => false, - '$ref' => '#/components/schemas/Category', - ], + 'items' => ['description' => '类目', 'required' => false, '$ref' => '#/components/schemas/Category'], 'required' => false, ], 'skus' => [ 'title' => 'skus', 'description' => 'skus', 'type' => 'array', - 'items' => [ - 'description' => '商品SKU', - 'required' => false, - '$ref' => '#/components/schemas/Sku', - ], + 'items' => ['description' => '商品SKU', 'required' => false, '$ref' => '#/components/schemas/Sku'], 'required' => false, ], - 'lmItemId' => [ - 'title' => 'LM商品id', - 'description' => 'LM商品id', - 'type' => 'string', - 'example' => '2100****7-458****812', - ], + 'lmItemId' => ['title' => 'LM商品id', 'description' => 'LM商品id', 'type' => 'string', 'example' => '2100****7-458****812'], 'canSell' => [ 'title' => '商品是否可售,计算值', 'description' => '商品是否可售,计算值', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'flase' => '不可售', - 'true' => '可售', - ], + 'enumValueTitles' => ['flase' => '不可售', 'true' => '可售'], 'example' => 'true', ], 'fuzzyQuantity' => [ @@ -1838,83 +662,32 @@ 'description' => '模糊库存', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '有货' => '有货', - '库存紧张' => '库存紧张', - '无货' => '无货', - ], + 'enumValueTitles' => ['有货' => '有货', '库存紧张' => '库存紧张', '无货' => '无货'], 'example' => '有货', ], - 'title' => [ - 'title' => '标题', - 'description' => '标题', - 'type' => 'string', - 'required' => false, - 'example' => '发财树', - ], + 'title' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'required' => false, 'example' => '发财树'], 'extendProperties' => [ 'title' => '商品扩展属性', 'description' => '商品扩展属性', 'type' => 'array', - 'items' => [ - 'description' => '商品扩展属性', - '$ref' => '#/components/schemas/ProductExtendProperty', - ], + 'items' => ['description' => '商品扩展属性', '$ref' => '#/components/schemas/ProductExtendProperty'], ], 'servicePromises' => [ 'title' => '服务承诺', 'description' => '服务承诺><notice>服务承诺均由供应商维护,如供应商维护、更新不及时,可能会造成部分商品服务承诺标不够准确,请分销商面向自己的客户群体时谨慎透出。></notice>', 'type' => 'array', - 'items' => [ - 'title' => 'SEVEN_DAYS:7天无理由退货', - 'description' => 'SEVEN_DAYS:7天无理由退货', - 'type' => 'string', - ], - ], - 'soldQuantity' => [ - 'title' => '销量', - 'description' => '销量', - 'type' => 'string', - 'required' => false, - 'example' => '100+', - ], - 'picUrl' => [ - 'title' => '商品主图', - 'description' => '商品主图', - 'type' => 'string', - 'required' => false, - 'example' => 'https://img.alicdn.com/imgextra/i3/221*******988/O1CN01w4vomR1QYYEx6nyr5_!!221******988.jpg', - ], - 'categoryLeafId' => [ - 'title' => '类目id', - 'description' => '类目id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '201****501', - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '3239281273******823', - ], - 'shopId' => [ - 'title' => '渠道店铺id', - 'description' => '渠道店铺id', - 'type' => 'string', - 'required' => false, - 'example' => '210*****7', + 'items' => ['title' => 'SEVEN_DAYS:7天无理由退货', 'description' => 'SEVEN_DAYS:7天无理由退货', 'type' => 'string'], ], + 'soldQuantity' => ['title' => '销量', 'description' => '销量', 'type' => 'string', 'required' => false, 'example' => '100+'], + 'picUrl' => ['title' => '商品主图', 'description' => '商品主图', 'type' => 'string', 'required' => false, 'example' => 'https://img.alicdn.com/imgextra/i3/221*******988/O1CN01w4vomR1QYYEx6nyr5_!!221******988.jpg'], + 'categoryLeafId' => ['title' => '类目id', 'description' => '类目id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '201****501'], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273******823'], + 'shopId' => ['title' => '渠道店铺id', 'description' => '渠道店铺id', 'type' => 'string', 'required' => false, 'example' => '210*****7'], 'inGroup' => [ 'title' => '是否入库', 'description' => '商品入库状态', 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '已入库', - 'false' => '已出库', - ], + 'enumValueTitles' => ['true' => '已入库', 'false' => '已出库'], 'example' => 'True', ], 'productType' => [ @@ -1922,56 +695,27 @@ 'description' => '商品类型', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['Virtual' => '虚拟类型,如电子卡券。', 'Normal' => '普通商品'], 'example' => 'Normal', - 'enum' => [ - 'Normal', - 'Virtual', - ], + 'enum' => ['Normal', 'Virtual'], ], 'images' => [ 'title' => 'images', 'description' => 'images', 'type' => 'array', - 'items' => [ - 'description' => '图片链接', - 'type' => 'string', - 'required' => false, - 'example' => '[]', - ], + 'items' => ['description' => '图片链接', 'type' => 'string', 'required' => false, 'example' => '[]'], 'required' => false, ], - 'brandName' => [ - 'title' => '品牌名称', - 'description' => '品牌名称', - 'type' => 'string', - 'example' => 'Apple/苹果', - ], - 'quantity' => [ - 'title' => '库存', - 'description' => '库存'."\n" - .'> '."\n" - .'> - 该字段目前为固定值-1,可忽略', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '-1', - ], - 'productId' => [ - 'title' => '商品id', - 'description' => '商品id', - 'type' => 'string', - 'required' => false, - 'example' => '660460842******080', - ], + 'brandName' => ['title' => '品牌名称', 'description' => '品牌名称', 'type' => 'string', 'example' => 'Apple/苹果'], + 'quantity' => ['title' => '库存', 'description' => '库存'."\n" + .'> '."\n" + .'> - 该字段目前为固定值-1,可忽略', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'], + 'productId' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '660460842******080'], 'productSpecs' => [ 'title' => 'productSpecs', 'description' => '商品规格', 'type' => 'array', - 'items' => [ - 'description' => '商品规格', - 'required' => false, - '$ref' => '#/components/schemas/ProductSpec', - ], + 'items' => ['description' => '商品规格', 'required' => false, '$ref' => '#/components/schemas/ProductSpec'], 'required' => false, ], 'productStatus' => [ @@ -1979,59 +723,24 @@ 'description' => '商品状态', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Offline' => '下架状态', - 'Online' => '上架状态', - ], + 'enumValueTitles' => ['Offline' => '下架状态', 'Online' => '上架状态'], 'example' => 'Online', ], - 'taxCode' => [ - 'title' => '税码', - 'description' => '税码', - 'type' => 'string', - 'required' => false, - 'example' => '3040203000*******000', - ], - 'divisionCode' => [ - 'title' => '区域码', - 'description' => '区域码', - 'type' => 'string', - 'required' => false, - 'example' => '110000', - ], - 'taxRate' => [ - 'title' => '税率', - 'description' => '税率', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '600', - ], + 'taxCode' => ['title' => '税码', 'description' => '税码', 'type' => 'string', 'required' => false, 'example' => '3040203000*******000'], + 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '110000'], + 'taxRate' => ['title' => '税率', 'description' => '税率', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '600'], 'limitRules' => [ 'title' => '限购配置', 'description' => '限购规则', 'type' => 'array', - 'items' => [ - 'description' => '限购规则', - '$ref' => '#/components/schemas/LimitRule', - ], - ], - 'descPath' => [ - 'title' => '商品详情链接', - 'description' => '商品详情链接', - 'type' => 'string', - 'required' => false, - 'example' => 'https://img.alicdn.com/descpath/O1CN01wciRDp22AEU1*******f34', + 'items' => ['description' => '限购规则', '$ref' => '#/components/schemas/LimitRule'], ], + 'descPath' => ['title' => '商品详情链接', 'description' => '商品详情链接', 'type' => 'string', 'required' => false, 'example' => 'https://img.alicdn.com/descpath/O1CN01wciRDp22AEU1*******f34'], 'properties' => [ 'title' => '商品属性', 'description' => '商品属性', 'type' => 'array', - 'items' => [ - 'description' => '商品属性', - 'required' => false, - '$ref' => '#/components/schemas/ProductProperty', - ], + 'items' => ['description' => '商品属性', 'required' => false, '$ref' => '#/components/schemas/ProductProperty'], 'required' => false, ], ], @@ -2041,43 +750,11 @@ 'description' => '商品集合', 'type' => 'object', 'properties' => [ - 'quantity' => [ - 'title' => '购买数量', - 'description' => '购买数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - 'purchaserId' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'required' => true, - 'example' => '56****2304', - ], - 'productId' => [ - 'title' => '商品ID', - 'description' => '商品ID', - 'type' => 'string', - 'required' => true, - 'example' => '6600****6736', - ], - 'price' => [ - 'title' => '商品价格(单位:分)', - 'description' => '商品价格(单位:分)><notice>建议必传></notice>', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], - 'skuId' => [ - 'title' => 'SKUID', - 'description' => 'SKUID', - 'type' => 'string', - 'required' => true, - 'example' => '6600****6737', - ], + 'quantity' => ['title' => '购买数量', 'description' => '购买数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => '56****2304'], + 'productId' => ['title' => '商品ID', 'description' => '商品ID', 'type' => 'string', 'required' => true, 'example' => '6600****6736'], + 'price' => ['title' => '商品价格(单位:分)', 'description' => '商品价格(单位:分)><notice>建议必传></notice>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], + 'skuId' => ['title' => 'SKUID', 'description' => 'SKUID', 'type' => 'string', 'required' => true, 'example' => '6600****6737'], ], ], 'ProductExtendProperty' => [ @@ -2087,26 +764,32 @@ 'properties' => [ 'key' => [ 'title' => '属性key', - 'description' => '属性key', + 'description' => '属性key'."\n" + .'> 枚举值:'."\n" + .'> - - ss_picture_scene(氛围图)'."\n" + .'> - - ss_picture_white_background(白底图)'."\n" + .'> - - extraPeriod(保质期)'."\n" + .'> - - itemBoundaryInventoryZeroTag(保留字段,请忽略)'."\n" + .'> - - shoppingShowTitle(商品导购标题)'."\n" + .'> - - itemCCStatus(保留字段,请忽略)'."\n" + .'> - - brandLogo(品牌Logo图)'."\n" + .'> - - multipleBuyLimit(购买倍数)'."\n" + .'> - - eticket_type(电子卡券类型)'."\n" + .'> - - eticket_upper_buy_limit(电子卡券每单采购数量上限)'."\n" + .'> - - validity_type(电子卡券有效期类型)'."\n" + .'> - - etc_expiry_date(电子卡券有效期持续时间,validity_type=1时有效)'."\n" + .'> - - etc_duration_date(电子卡券有效期持续时间,validity_type=2/3/5时有效)'."\n" + .'> - - f_refund(电子卡券售中自动退款比例)'."\n" + .'> - - refund(电子卡券过期自动退比例)'."\n" + .'> - - writeoff(保留字段,请忽略)', 'type' => 'string', 'enumValueTitles' => [ - 'ss_picture_scene' => '氛围图', - 'ss_picture_white_background' => '白底图', - 'extraPeriod' => '保质期', - 'itemBoundaryInventoryZeroTag' => '保留字段,请忽略', - 'itemCCStatus' => '保留字段,请忽略', - 'brandLogo' => '品牌Logo图', - 'multipleBuyLimit' => '购买倍数', - 'shoppingShowTitle' => '商品导购标题', + 'writeoff' => '保留字段,请忽略', 'ss_picture_scene' => '氛围图', 'ss_picture_white_background' => '白底图', 'validity_type' => '电子卡券有效期类型', 'extraPeriod' => '保质期', 'itemBoundaryInventoryZeroTag' => '保留字段,请忽略', 'etc_expiry_date' => '电子卡券有效期持续时间,validity_type=1时有效', 'eticket_type' => '电子卡券类型', 'eticket_upper_buy_limit' => '电子卡券每单采购数量上限', 'shoppingShowTitle' => '商品导购标题', + 'etc_duration_date' => '电子卡券有效期持续时间,validity_type=2/3/5时有效', 'itemCCStatus' => '保留字段,请忽略', 'brandLogo' => '品牌Logo图', 'f_refund' => '电子卡券售中自动退款比例', 'multipleBuyLimit' => '购买倍数', 'refund' => '电子卡券过期自动退比例', ], 'example' => 'ss_picture_scene', ], - 'value' => [ - 'title' => '属性值', - 'description' => '属性值', - 'type' => 'string', - 'example' => '场景图', - ], + 'value' => ['title' => '属性值', 'description' => '属性值', 'type' => 'string', 'example' => '场景图'], ], ], 'ProductPageResult' => [ @@ -2114,45 +797,15 @@ 'description' => '分页查询商品结果', 'type' => 'object', 'properties' => [ - 'pageSize' => [ - 'title' => '页大小', - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], - 'total' => [ - 'title' => '总数量', - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '24', - ], - 'pageNumber' => [ - 'title' => '当前页码', - 'description' => '当前页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '3239281273464326823', - ], + 'pageSize' => ['title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], + 'total' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '24'], + 'pageNumber' => ['title' => '当前页码', 'description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'], 'products' => [ 'title' => '商品集合', 'description' => '商品集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/Product', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/Product', 'description' => ''], 'required' => false, ], ], @@ -2162,13 +815,7 @@ 'description' => '商品价格', 'type' => 'object', 'properties' => [ - 'fundAmountMoney' => [ - 'title' => '应付金额', - 'description' => '应付金额', - 'type' => 'string', - 'required' => false, - 'example' => '120', - ], + 'fundAmountMoney' => ['title' => '应付金额', 'description' => '应付金额', 'type' => 'string', 'required' => false, 'example' => '120'], ], ], 'ProductProperty' => [ @@ -2176,22 +823,12 @@ 'description' => '商品属性', 'type' => 'object', 'properties' => [ - 'text' => [ - 'title' => '属性文本', - 'description' => '属性文本', - 'type' => 'string', - 'required' => false, - 'example' => '颜色', - ], + 'text' => ['title' => '属性文本', 'description' => '属性文本', 'type' => 'string', 'required' => false, 'example' => '颜色'], 'values' => [ 'title' => '属性值集合', 'description' => '属性值集合', 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - 'example' => '白色', - ], + 'items' => ['type' => 'string', 'required' => false, 'example' => '白色', 'description' => ''], 'required' => false, ], ], @@ -2201,20 +838,8 @@ 'description' => '商品查询参数', 'type' => 'object', 'properties' => [ - 'divisionCode' => [ - 'title' => '区域码', - 'description' => '区域码', - 'type' => 'string', - 'required' => false, - 'example' => '110000', - ], - 'distributorShopId' => [ - 'title' => '分销店铺id', - 'description' => '分销店铺id', - 'type' => 'string', - 'required' => true, - 'example' => '22000009', - ], + 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '110000'], + 'distributorShopId' => ['title' => '分销店铺id', 'description' => '分销店铺id', 'type' => 'string', 'required' => true, 'example' => '22000009'], ], ], 'ProductSaleInfo' => [ @@ -2222,98 +847,35 @@ 'description' => '商品', 'type' => 'object', 'properties' => [ - 'divisionCode' => [ - 'title' => '区域码', - 'description' => '区域码', - 'type' => 'string', - 'required' => false, - 'example' => '330106109', - ], - 'quantity' => [ - 'title' => '库存', - 'description' => '库存', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '330106109'], + 'quantity' => ['title' => '库存', 'description' => '库存', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], 'skus' => [ 'title' => 'sku集合', 'description' => 'sku集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/SkuSaleInfo', - ], - 'required' => false, - ], - 'productId' => [ - 'title' => '商品id', - 'description' => '商品id', - 'type' => 'string', - 'required' => false, - 'example' => '660460842235822080', - ], - 'canSell' => [ - 'title' => '商品是否可售,计算值', - 'description' => '商品是否可售,计算值', - 'type' => 'boolean', + 'items' => ['required' => false, '$ref' => '#/components/schemas/SkuSaleInfo', 'description' => ''], 'required' => false, - 'example' => 'true', - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '3239281273464326823', ], + 'productId' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '660460842235822080'], + 'canSell' => ['title' => '商品是否可售,计算值', 'description' => '商品是否可售,计算值', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'], 'fuzzyQuantity' => [ 'title' => '模糊库存', 'description' => '模糊库存', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '有货' => '有货', - '库存紧张' => '库存紧张', - '无货' => '无货', - ], + 'enumValueTitles' => ['有货' => '有货', '库存紧张' => '库存紧张', '无货' => '无货'], 'example' => '有货', ], - 'productStatus' => [ - 'title' => '商品状态', - 'description' => '商品状态', - 'type' => 'string', - 'required' => false, - 'example' => 'Online', - ], - 'shopId' => [ - 'title' => '渠道店铺id', - 'description' => '渠道店铺id', - 'type' => 'string', - 'required' => false, - 'example' => '21000017', - ], - 'title' => [ - 'title' => '标题', - 'description' => '标题', - 'type' => 'string', - 'required' => false, - 'example' => '发财树', - ], - 'lmItemId' => [ - 'title' => 'LM商品id', - 'description' => 'LM商品id', - 'type' => 'string', - 'example' => '21000017-4580902812', - ], + 'productStatus' => ['title' => '商品状态', 'description' => '商品状态', 'type' => 'string', 'required' => false, 'example' => 'Online'], + 'shopId' => ['title' => '渠道店铺id', 'description' => '渠道店铺id', 'type' => 'string', 'required' => false, 'example' => '21000017'], + 'title' => ['title' => '标题', 'description' => '标题', 'type' => 'string', 'required' => false, 'example' => '发财树'], + 'lmItemId' => ['title' => 'LM商品id', 'description' => 'LM商品id', 'type' => 'string', 'example' => '21000017-4580902812'], 'limitRules' => [ 'title' => '限购配置', 'description' => '限购配置', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/LimitRule', - ], + 'items' => ['$ref' => '#/components/schemas/LimitRule', 'description' => ''], ], ], ], @@ -2322,33 +884,15 @@ 'description' => '商品销售信息查询参数', 'type' => 'object', 'properties' => [ - 'divisionCode' => [ - 'title' => '区域码', - 'description' => '区域码(建议为五级乡镇/街道级地址code)', - 'type' => 'string', - 'required' => false, - 'example' => '330106109', - ], + 'divisionCode' => ['title' => '区域码', 'description' => '区域码(建议为五级乡镇/街道级地址code)', 'type' => 'string', 'required' => false, 'example' => '330106109'], 'productIds' => [ 'title' => '查询商品id集合', 'description' => '查询商品id集合,支持[1,10]个批量查询', 'type' => 'array', - 'items' => [ - 'title' => '查询商品id集合', - 'description' => '查询商品id集合', - 'type' => 'string', - 'required' => true, - 'example' => '660460842235822080', - ], - 'required' => true, - ], - 'purchaserId' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', + 'items' => ['title' => '查询商品id集合', 'description' => '查询商品id集合', 'type' => 'string', 'required' => true, 'example' => '660460842235822080'], 'required' => true, - 'example' => '22000009', ], + 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => '22000009'], ], 'required' => true, ], @@ -2357,21 +901,12 @@ 'description' => '商品销售信息查询结果', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '3239281273464326823', - ], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'], 'productSaleInfos' => [ 'title' => '商品销售信息', 'description' => '商品销售信息', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/ProductSaleInfo', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/ProductSaleInfo', 'description' => ''], 'required' => false, ], ], @@ -2381,20 +916,8 @@ 'description' => '商品销售信息查询参数', 'type' => 'object', 'properties' => [ - 'divisionCode' => [ - 'title' => '区域码', - 'description' => '区域码', - 'type' => 'string', - 'required' => false, - 'example' => '110000', - ], - 'distributorShopId' => [ - 'title' => '分销店铺id', - 'description' => '分销店铺id', - 'type' => 'string', - 'required' => true, - 'example' => '22000009', - ], + 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '110000'], + 'distributorShopId' => ['title' => '分销店铺id', 'description' => '分销店铺id', 'type' => 'string', 'required' => true, 'example' => '22000009'], ], ], 'ProductSpec' => [ @@ -2402,29 +925,13 @@ 'description' => '商品规格(销售属性)', 'type' => 'object', 'properties' => [ - 'keyId' => [ - 'title' => '规格', - 'description' => '规格', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1000', - ], - 'key' => [ - 'title' => '规格key名称', - 'description' => '规格key名称', - 'type' => 'string', - 'required' => false, - 'example' => '颜色分类', - ], + 'keyId' => ['title' => '规格', 'description' => '规格', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'], + 'key' => ['title' => '规格key名称', 'description' => '规格key名称', 'type' => 'string', 'required' => false, 'example' => '颜色分类'], 'values' => [ 'title' => '规则key取值', 'description' => '规则key取值', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/ProductSpecValue', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/ProductSpecValue', 'description' => ''], 'required' => false, ], ], @@ -2434,27 +941,9 @@ 'description' => '商品规格值', 'type' => 'object', 'properties' => [ - 'value' => [ - 'title' => '规格值', - 'description' => '规格值', - 'type' => 'string', - 'required' => false, - 'example' => '白色', - ], - 'valueId' => [ - 'title' => '规则值id', - 'description' => '规则值id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1000', - ], - 'valueAlias' => [ - 'title' => '规格值别名', - 'description' => '规格值别名', - 'type' => 'string', - 'example' => '秘色', - ], + 'value' => ['title' => '规格值', 'description' => '规格值', 'type' => 'string', 'required' => false, 'example' => '白色'], + 'valueId' => ['title' => '规则值id', 'description' => '规则值id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'], + 'valueAlias' => ['title' => '规格值别名', 'description' => '规格值别名', 'type' => 'string', 'example' => '秘色'], ], ], 'PurchaseOrderCreateCmd' => [ @@ -2462,46 +951,21 @@ 'description' => '采购单创建入参', 'type' => 'object', 'properties' => [ - 'outerPurchaseOrderId' => [ - 'title' => '分销商业务中的订单ID,分销商自定义', - 'description' => '分销商业务中的订单ID,分销商自定义。', - 'type' => 'string', - 'required' => true, - 'example' => 'outer123456', - ], - 'buyerId' => [ - 'title' => '分销商业务中的用户ID,分销商自定义。', - 'description' => '分销商业务中的用户ID,分销商自定义'."\n" - ."\n" - .'><notice>请为不同的买家分配不同的buyerId></notice>', - 'type' => 'string', - 'required' => true, - 'example' => 'buyer123456', - ], - 'deliveryAddress' => [ - 'title' => '地址信息', - 'description' => '地址信息', - 'required' => true, - '$ref' => '#/components/schemas/AddressInfo', - ], + 'outerPurchaseOrderId' => ['title' => '分销商业务中的订单ID,分销商自定义', 'description' => '分销商业务中的订单ID,分销商自定义。', 'type' => 'string', 'required' => true, 'example' => 'outer123456'], + 'buyerId' => ['title' => '分销商业务中的用户ID,分销商自定义。', 'description' => '分销商业务中的用户ID,分销商自定义'."\n" + ."\n" + .'><notice>请为不同的买家分配不同的buyerId></notice>', 'type' => 'string', 'required' => true, 'example' => 'buyer123456'], + 'deliveryAddress' => ['title' => '地址信息', 'description' => '地址信息', 'required' => true, '$ref' => '#/components/schemas/AddressInfo'], 'productList' => [ 'title' => '商品集合', 'description' => '商品集合'."\n" .'> 单个采购单最大采购SKU个数:20', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/ProductDTO', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/ProductDTO', 'description' => ''], 'required' => true, 'minItems' => 1, ], - 'extInfo' => [ - 'title' => '扩展信息', - 'description' => '扩展信息', - 'type' => 'object', - 'required' => false, - ], + 'extInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false], ], ], 'PurchaseOrderCreateResult' => [ @@ -2509,20 +973,8 @@ 'description' => '采购单创建返回', 'type' => 'object', 'properties' => [ - 'purchaseOrderId' => [ - 'title' => '采购单ID', - 'description' => '采购单ID', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5696', - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '841471F6-5D61-1331-8C38-2****B55', - ], + 'purchaseOrderId' => ['title' => '采购单ID', 'description' => '采购单ID', 'type' => 'string', 'required' => false, 'example' => '6692****5696'], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'], ], ], 'PurchaseOrderRenderQuery' => [ @@ -2530,38 +982,18 @@ 'description' => '采购单渲染入参', 'type' => 'object', 'properties' => [ - 'buyerId' => [ - 'title' => '分销真实买家ID', - 'description' => '分销真实买家ID><notice>请为不同的买家分配不同的ID,勿使用同一ID></notice>', - 'type' => 'string', - 'required' => true, - 'example' => 'test1234567', - ], - 'deliveryAddress' => [ - 'title' => '地址信息', - 'description' => '地址信息', - 'required' => true, - '$ref' => '#/components/schemas/AddressInfo', - ], + 'buyerId' => ['title' => '分销真实买家ID', 'description' => '分销真实买家ID><notice>请为不同的买家分配不同的ID,勿使用同一ID></notice>', 'type' => 'string', 'required' => true, 'example' => 'test1234567'], + 'deliveryAddress' => ['title' => '地址信息', 'description' => '地址信息', 'required' => true, '$ref' => '#/components/schemas/AddressInfo'], 'productList' => [ 'title' => '商品集合', 'description' => '商品集合'."\n" .'> 单个采购单最大采购SKU个数:20', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/OrderRenderProductDTO', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/OrderRenderProductDTO', 'description' => ''], 'required' => true, 'minItems' => 1, ], - 'extInfo' => [ - 'title' => '扩展信息', - 'description' => '扩展信息', - 'type' => 'object', - 'required' => false, - 'example' => '{}', - ], + 'extInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false, 'example' => '{}'], ], ], 'PurchaseOrderRenderResult' => [ @@ -2573,59 +1005,27 @@ 'title' => '地址集合', 'description' => '地址集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/AddressInfo', - ], - 'required' => false, - ], - 'canSell' => [ - 'title' => '是否可售', - 'description' => '是否可售', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', + 'items' => ['required' => false, '$ref' => '#/components/schemas/AddressInfo', 'description' => ''], 'required' => false, - 'example' => '841471F6-5D61-1331-8C38-2****B55', ], + 'canSell' => ['title' => '是否可售', 'description' => '是否可售', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'], 'orderList' => [ 'title' => '可售主单集合', 'description' => '可售主单集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/OrderRenderResult', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/OrderRenderResult', 'description' => ''], 'required' => false, ], 'unsellableOrderList' => [ 'title' => '不可售主单集合', 'description' => '不可售主单集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/OrderRenderResult', - ], - 'required' => false, - ], - 'message' => [ - 'title' => '不可售原因', - 'description' => '不可售原因', - 'type' => 'string', - 'required' => false, - 'example' => '库存为0', - ], - 'extInfo' => [ - 'title' => '扩展信息', - 'description' => '扩展信息', - 'type' => 'object', + 'items' => ['required' => false, '$ref' => '#/components/schemas/OrderRenderResult', 'description' => ''], 'required' => false, ], + 'message' => ['title' => '不可售原因', 'description' => '不可售原因', 'type' => 'string', 'required' => false, 'example' => '库存为0'], + 'extInfo' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'object', 'required' => false], ], ], 'PurchaseOrderStatusResult' => [ @@ -2633,30 +1033,13 @@ 'description' => '采购单状态', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '3239281273464326823', - ], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'], 'status' => [ 'title' => '采购单状态', 'description' => '采购单状态', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 1 => '采购单创建中', - 10 => '采购中', - 20 => '采购成功,待发货', - '采购成功,部分发货', - '采购成功,全部发货', - 30 => '部分采购成功,待发货', - '部分采购成功,部分发货', - '部分采购成功,全部发货', - 80 => '交易失败', - 99 => '交易成功', - ], + 'enumValueTitles' => [1 => '采购单创建中', 10 => '采购中', 20 => '采购成功,待发货', '采购成功,部分发货', '采购成功,全部发货', 30 => '部分采购成功,待发货', '部分采购成功,部分发货', '部分采购成功,全部发货', 80 => '交易失败', 99 => '交易成功'], 'example' => '10', ], ], @@ -2666,22 +1049,8 @@ 'description' => '退费区间', 'type' => 'object', 'properties' => [ - 'minRefundFee' => [ - 'title' => '最小金额(分)', - 'description' => '最小金额(分)', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'maxRefundFee' => [ - 'title' => '最大金额(分)', - 'description' => '最大金额(分)', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], + 'minRefundFee' => ['title' => '最小金额(分)', 'description' => '最小金额(分)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + 'maxRefundFee' => ['title' => '最大金额(分)', 'description' => '最大金额(分)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], ], ], 'RefundOrderCmd' => [ @@ -2689,82 +1058,26 @@ 'description' => '创建逆向', 'type' => 'object', 'properties' => [ - 'applyRefundCount' => [ - 'title' => '退货数量', - 'description' => '退货数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - 'bizClaimType' => [ - 'title' => '退款类型', - 'description' => '退款类型'."\n" - .'1 仅退款 '."\n" - .'3 退货退款', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - 'goodsStatus' => [ - 'title' => '货物状态', - 'description' => '货物状态'."\n" - .'4: 未发货 '."\n" - .'1: 未收到货'."\n" - .'2: 已收到货', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - 'leaveMessage' => [ - 'title' => '留言', - 'description' => '留言', - 'type' => 'string', - 'required' => false, - 'example' => '不想要了', - ], - 'applyReasonTextId' => [ - 'title' => '退款原因ID', - 'description' => '退款原因ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '47821', - ], - 'applyReasonTips' => [ - 'title' => '退款原因文本', - 'description' => '退款原因文本', - 'type' => 'string', - 'required' => false, - 'example' => '不想要了', - ], - 'applyRefundFee' => [ - 'title' => '申请退款金额(分)', - 'description' => '申请退款金额(分)', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '100', - ], + 'applyRefundCount' => ['title' => '退货数量', 'description' => '退货数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'bizClaimType' => ['title' => '退款类型', 'description' => '退款类型'."\n" + .'1 仅退款 '."\n" + .'3 退货退款', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'goodsStatus' => ['title' => '货物状态', 'description' => '货物状态'."\n" + .'4: 未发货 '."\n" + .'1: 未收到货'."\n" + .'2: 已收到货', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'leaveMessage' => ['title' => '留言', 'description' => '留言', 'type' => 'string', 'required' => false, 'example' => '不想要了'], + 'applyReasonTextId' => ['title' => '退款原因ID', 'description' => '退款原因ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '47821'], + 'applyReasonTips' => ['title' => '退款原因文本', 'description' => '退款原因文本', 'type' => 'string', 'required' => false, 'example' => '不想要了'], + 'applyRefundFee' => ['title' => '申请退款金额(分)', 'description' => '申请退款金额(分)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '100'], 'leavePictureLists' => [ 'title' => '图片集合', 'description' => '图片集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/LeavePictureList', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/LeavePictureList', 'description' => ''], 'required' => false, ], - 'orderLineId' => [ - 'title' => '子分销订单ID', - 'description' => '子分销订单ID', - 'type' => 'string', - 'required' => true, - 'example' => '6692****5458', - ], + 'orderLineId' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => true, 'example' => '6692****5458'], ], ], 'RefundOrderResult' => [ @@ -2772,42 +1085,17 @@ 'description' => '逆向操作结果', 'type' => 'object', 'properties' => [ - 'orderLineId' => [ - 'title' => '当前发起逆向的子分销订单号', - 'description' => '当前发起逆向的子分销订单号', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5458', - ], - 'disputeId' => [ - 'title' => '纠纷id', - 'description' => '纠纷id', - 'type' => 'string', - 'required' => false, - 'example' => '6693****4352', - ], - 'disputeStatus' => [ - 'title' => '逆向的状态', - 'description' => '逆向的状态'."\n" - .'1-退货待处理'."\n" - .'2-待买家退货'."\n" - .'3-待商家收货'."\n" - .'4-退款关闭'."\n" - .'5-退款成功'."\n" - .'6-已拒绝退款'."\n" - .'17-取消退款中', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '841471F6-5D61-1331-8C38-2****B55', - ], + 'orderLineId' => ['title' => '当前发起逆向的子分销订单号', 'description' => '当前发起逆向的子分销订单号', 'type' => 'string', 'required' => false, 'example' => '6692****5458'], + 'disputeId' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'string', 'required' => false, 'example' => '6693****4352'], + 'disputeStatus' => ['title' => '逆向的状态', 'description' => '逆向的状态'."\n" + .'1-退货待处理'."\n" + .'2-待买家退货'."\n" + .'3-待商家收货'."\n" + .'4-退款关闭'."\n" + .'5-退款成功'."\n" + .'6-已拒绝退款'."\n" + .'17-取消退款中', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'], ], ], 'RefundReason' => [ @@ -2815,34 +1103,10 @@ 'description' => '退款理由', 'type' => 'object', 'properties' => [ - 'reasonTextId' => [ - 'title' => '理由文本id', - 'description' => '理由文本id', - 'type' => 'string', - 'required' => false, - 'example' => '47683', - ], - 'proofRequired' => [ - 'title' => '是否要求上传凭证', - 'description' => '是否要求上传凭证', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - 'reasonTips' => [ - 'title' => '理由文本', - 'description' => '理由文本', - 'type' => 'string', - 'required' => false, - 'example' => '不想要了', - ], - 'refundDescRequired' => [ - 'title' => '是否要求留言', - 'description' => '是否要求留言', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'reasonTextId' => ['title' => '理由文本id', 'description' => '理由文本id', 'type' => 'string', 'required' => false, 'example' => '47683'], + 'proofRequired' => ['title' => '是否要求上传凭证', 'description' => '是否要求上传凭证', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'reasonTips' => ['title' => '理由文本', 'description' => '理由文本', 'type' => 'string', 'required' => false, 'example' => '不想要了'], + 'refundDescRequired' => ['title' => '是否要求留言', 'description' => '是否要求留言', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'RefundRenderCmd' => [ @@ -2850,29 +1114,9 @@ 'description' => '逆向创建入参', 'type' => 'object', 'properties' => [ - 'bizClaimType' => [ - 'title' => '退款类型 1 仅退款,3 退货退款', - 'description' => '退款类型 1 仅退款,3 退货退款', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - 'goodsStatus' => [ - 'title' => '货物状态 4: 未发货, 1: 未收到货, 2: 已收到货', - 'description' => '货物状态 4: 未发货, 1: 未收到货, 2: 已收到货', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '4', - ], - 'orderLineId' => [ - 'title' => '子分销订单ID', - 'description' => '子分销订单ID', - 'type' => 'string', - 'required' => true, - 'example' => '6692****5458', - ], + 'bizClaimType' => ['title' => '退款类型 1 仅退款,3 退货退款', 'description' => '退款类型 1 仅退款,3 退货退款', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'goodsStatus' => ['title' => '货物状态 4: 未发货, 1: 未收到货, 2: 已收到货', 'description' => '货物状态 4: 未发货, 1: 未收到货, 2: 已收到货', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4'], + 'orderLineId' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => true, 'example' => '6692****5458'], ], ], 'RefundRenderResult' => [ @@ -2880,42 +1124,17 @@ 'description' => '逆向渲染结果', 'type' => 'object', 'properties' => [ - 'maxRefundFeeData' => [ - 'required' => false, - '$ref' => '#/components/schemas/DistributionMaxRefundFee', - ], + 'maxRefundFeeData' => ['required' => false, '$ref' => '#/components/schemas/DistributionMaxRefundFee', 'description' => ''], 'refundReasonList' => [ 'title' => '逆向理由集合', 'description' => '逆向理由集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/RefundReason', - ], - 'required' => false, - ], - 'bizClaimType' => [ - 'title' => '支持的订单退货方式', - 'description' => '支持的订单退货方式', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'orderLineId' => [ - 'title' => '子分销订单号', - 'description' => '子分销订单号', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5458', - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', + 'items' => ['required' => false, '$ref' => '#/components/schemas/RefundReason', 'description' => ''], 'required' => false, - 'example' => '841471F6-5D61-1331-8C38-2****B55', ], + 'bizClaimType' => ['title' => '支持的订单退货方式', 'description' => '支持的订单退货方式', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'orderLineId' => ['title' => '子分销订单号', 'description' => '子分销订单号', 'type' => 'string', 'required' => false, 'example' => '6692****5458'], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'], ], ], 'RefundResult' => [ @@ -2923,183 +1142,49 @@ 'description' => '逆向信息', 'type' => 'object', 'properties' => [ - 'refundFee' => [ - 'title' => '退费金额', - 'description' => '退费金额', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'refundFeeData' => [ - 'title' => '退费区间', - 'description' => '退费区间', - 'required' => false, - '$ref' => '#/components/schemas/RefundFeeData', - ], - 'applyDisputeDesc' => [ - 'title' => '当前买家申请退款说明', - 'description' => '当前买家申请退款说明', - 'type' => 'string', - 'required' => false, - 'example' => '多拍不想要', - ], - 'refunderTel' => [ - 'title' => '退货联系方式', - 'description' => '退货联系方式', - 'type' => 'string', - 'required' => false, - 'example' => '182****1334', - ], - 'bizClaimType' => [ - 'title' => '订单退货方式 1, 标识仅退款,3,标识退货退款', - 'description' => '订单退货方式 '."\n" - .'1-标识仅退款'."\n" - .'3-标识退货退款', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'disputeDesc' => [ - 'title' => '申请逆向描述', - 'description' => '申请逆向描述', - 'type' => 'string', - 'required' => false, - 'example' => '多拍不想要', - ], - 'sellerRefuseReason' => [ - 'title' => '商家拒绝原因', - 'description' => '商家拒绝原因', - 'type' => 'string', - 'required' => false, - 'example' => '商品没问题,买家举证无效', - ], - 'orderId' => [ - 'title' => '主单ID', - 'description' => '主单ID', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5457', - ], - 'refunderName' => [ - 'title' => '退货收货人', - 'description' => '退货收货人', - 'type' => 'string', - 'required' => false, - 'example' => '赵先生', - ], - 'applyReason' => [ - 'title' => '申请理由', - 'description' => '申请理由', - 'required' => false, - '$ref' => '#/components/schemas/ApplyReason', - ], - 'refunderAddress' => [ - 'title' => '商家退货地址', - 'description' => '商家退货地址(disputeStatus=2,待买家退货状态时可获取退货地址,如需保存退货地址请在此状态时保存)', - 'type' => 'string', - 'required' => false, - 'example' => '阿里云云谷', - ], - 'refunderZipCode' => [ - 'title' => '退货地址邮编', - 'description' => '退货地址邮编', - 'type' => 'string', - 'required' => false, - 'example' => '331001', - ], - 'disputeEndTime' => [ - 'title' => '逆向结束时间', - 'description' => '逆向结束时间', - 'type' => 'string', - 'required' => false, - 'example' => '2023-09-15T19:23:59.000+08:00', - ], - 'sellerRefuseAgreementMessage' => [ - 'title' => '卖家拒绝的留言说明', - 'description' => '卖家拒绝的留言说明', - 'type' => 'string', - 'required' => false, - 'example' => '不同意退款', - ], - 'disputeId' => [ - 'title' => '逆向单ID', - 'description' => '逆向单ID', - 'type' => 'string', - 'required' => false, - 'example' => '6693****4352', - ], - 'disputeStatus' => [ - 'title' => '逆向单状态', - 'description' => '逆向的状态 '."\n" - .'1-退货待处理 '."\n" - .'2-待买家退货 '."\n" - .'3-待商家收货 '."\n" - .'4-退款关闭 '."\n" - .'5-退款成功 '."\n" - .'6-已拒绝退款 '."\n" - .'17-取消退款中', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'returnGoodLogisticsStatus' => [ - 'title' => '退货物流状态', - 'description' => '退货物流状态'."\n" - .'0-未退货'."\n" - .'1-等待揽收'."\n" - .'2-快件已揽收'."\n" - .'3-物流走件中'."\n" - .'4-派送中'."\n" - .'5-已签收'."\n" - .'6-签收失败', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], - 'orderLogisticsStatus' => [ - 'title' => '订单物流状态', - 'description' => '订单物流状态'."\n" - .'1-未发货 -> 等待卖家发货'."\n" - .'2-已发货 -> 等待买家确认收货'."\n" - .'3-已收货 -> 交易成功'."\n" - .'6-部分发货中'."\n" - .'8-还未创建物流订单', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'disputeCreateTime' => [ - 'title' => '逆向创建时间', - 'description' => '逆向创建时间', - 'type' => 'string', - 'required' => false, - 'example' => '2023-09-15T19:23:59.000+08:00', - ], - 'orderLineId' => [ - 'title' => '子订单ID', - 'description' => '子订单ID', - 'type' => 'string', - 'required' => false, - 'example' => '6692****5458', - ], - 'sellerAgreeMsg' => [ - 'title' => '卖家同意退货说明,真实的退货地址会在这个字段进行返回。', - 'description' => '卖家同意退货说明', - 'type' => 'string', - 'required' => false, - 'example' => '同意退款', - ], - 'requestId' => [ - 'title' => '请求ID', - 'description' => '请求ID', - 'type' => 'string', - 'example' => '841471F6-5D61-1331-8C38-2****B55', - ], + 'refundFee' => ['title' => '退费金额', 'description' => '退费金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + 'refundFeeData' => ['title' => '退费区间', 'description' => '退费区间', 'required' => false, '$ref' => '#/components/schemas/RefundFeeData'], + 'applyDisputeDesc' => ['title' => '当前买家申请退款说明', 'description' => '当前买家申请退款说明', 'type' => 'string', 'required' => false, 'example' => '多拍不想要'], + 'refunderTel' => ['title' => '退货联系方式', 'description' => '退货联系方式', 'type' => 'string', 'required' => false, 'example' => '182****1334'], + 'bizClaimType' => ['title' => '订单退货方式 1, 标识仅退款,3,标识退货退款', 'description' => '订单退货方式 '."\n" + .'1-标识仅退款'."\n" + .'3-标识退货退款', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'disputeDesc' => ['title' => '申请逆向描述', 'description' => '申请逆向描述', 'type' => 'string', 'required' => false, 'example' => '多拍不想要'], + 'sellerRefuseReason' => ['title' => '商家拒绝原因', 'description' => '商家拒绝原因', 'type' => 'string', 'required' => false, 'example' => '商品没问题,买家举证无效'], + 'orderId' => ['title' => '主单ID', 'description' => '主单ID', 'type' => 'string', 'required' => false, 'example' => '6692****5457'], + 'refunderName' => ['title' => '退货收货人', 'description' => '退货收货人', 'type' => 'string', 'required' => false, 'example' => '赵先生'], + 'applyReason' => ['title' => '申请理由', 'description' => '申请理由', 'required' => false, '$ref' => '#/components/schemas/ApplyReason'], + 'refunderAddress' => ['title' => '商家退货地址', 'description' => '商家退货地址(disputeStatus=2,待买家退货状态时可获取退货地址,如需保存退货地址请在此状态时保存)', 'type' => 'string', 'required' => false, 'example' => '阿里云云谷'], + 'refunderZipCode' => ['title' => '退货地址邮编', 'description' => '退货地址邮编', 'type' => 'string', 'required' => false, 'example' => '331001'], + 'disputeEndTime' => ['title' => '逆向结束时间', 'description' => '逆向结束时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-15T19:23:59.000+08:00'], + 'sellerRefuseAgreementMessage' => ['title' => '卖家拒绝的留言说明', 'description' => '卖家拒绝的留言说明', 'type' => 'string', 'required' => false, 'example' => '不同意退款'], + 'disputeId' => ['title' => '逆向单ID', 'description' => '逆向单ID', 'type' => 'string', 'required' => false, 'example' => '6693****4352'], + 'disputeStatus' => ['title' => '逆向单状态', 'description' => '逆向的状态 '."\n" + .'1-退货待处理 '."\n" + .'2-待买家退货 '."\n" + .'3-待商家收货 '."\n" + .'4-退款关闭 '."\n" + .'5-退款成功 '."\n" + .'6-已拒绝退款 '."\n" + .'17-取消退款中', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'returnGoodLogisticsStatus' => ['title' => '退货物流状态', 'description' => '退货物流状态'."\n" + .'0-未退货'."\n" + .'1-等待揽收'."\n" + .'2-快件已揽收'."\n" + .'3-物流走件中'."\n" + .'4-派送中'."\n" + .'5-已签收'."\n" + .'6-签收失败', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], + 'orderLogisticsStatus' => ['title' => '订单物流状态', 'description' => '订单物流状态'."\n" + .'1-未发货 -> 等待卖家发货'."\n" + .'2-已发货 -> 等待买家确认收货'."\n" + .'3-已收货 -> 交易成功'."\n" + .'6-部分发货中'."\n" + .'8-还未创建物流订单', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'disputeCreateTime' => ['title' => '逆向创建时间', 'description' => '逆向创建时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-15T19:23:59.000+08:00'], + 'orderLineId' => ['title' => '子订单ID', 'description' => '子订单ID', 'type' => 'string', 'required' => false, 'example' => '6692****5458'], + 'sellerAgreeMsg' => ['title' => '卖家同意退货说明,真实的退货地址会在这个字段进行返回。', 'description' => '卖家同意退货说明', 'type' => 'string', 'required' => false, 'example' => '同意退款'], + 'requestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '841471F6-5D61-1331-8C38-2****B55'], ], ], 'Shop' => [ @@ -3107,131 +1192,23 @@ 'description' => '店铺详情', 'type' => 'object', 'properties' => [ - 'endDate' => [ - 'title' => '结束时间', - 'description' => '结束时间', - 'type' => 'string', - 'required' => false, - 'example' => '2023-09-11T12:22:24.000+08:00', - ], - 'distributorId' => [ - 'title' => '分销商id', - 'description' => '分销商id', - 'type' => 'string', - 'required' => false, - 'example' => '12****09', - ], - 'shopName' => [ - 'title' => '店铺名称', - 'description' => '店铺名称', - 'type' => 'string', - 'required' => false, - 'example' => '儿童分销店铺', - ], - 'shopId' => [ - 'title' => '店铺id', - 'description' => '店铺id', - 'type' => 'string', - 'required' => false, - 'example' => '22****09', - ], - 'shopType' => [ - 'title' => '店铺类型', - 'description' => '店铺类型', - 'type' => 'string', - 'required' => false, - 'example' => 'DistributorQYG', - ], + 'endDate' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'], + 'distributorId' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'required' => false, 'example' => '12****09'], + 'shopName' => ['title' => '店铺名称', 'description' => '店铺名称', 'type' => 'string', 'required' => false, 'example' => '儿童分销店铺'], + 'shopId' => ['title' => '店铺id', 'description' => '店铺id', 'type' => 'string', 'required' => false, 'example' => '22****09'], + 'shopType' => ['title' => '店铺类型', 'description' => '店铺类型', 'type' => 'string', 'required' => false, 'example' => 'DistributorQYG'], 'cooperationShops' => [ 'title' => '合作方店铺', 'description' => '合作方店铺', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/CooperationShop', - ], + 'items' => ['$ref' => '#/components/schemas/CooperationShop', 'description' => ''], 'required' => false, 'example' => '12***01', ], - 'startDate' => [ - 'title' => '开始时间', - 'description' => '开始时间', - 'type' => 'string', - 'required' => false, - 'example' => '2023-09-11T12:22:24.000+08:00', - ], - 'status' => [ - 'title' => '店铺状态', - 'description' => '店铺状态', - 'type' => 'string', - 'required' => false, - 'example' => 'Working', - ], - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'example' => '48A34399-A72C-1E23-8388-7E63****E927', - ], - 'purchaserId' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'example' => 'PID56****2304', - ], - ], - ], - 'ShopCreateRequest' => [ - 'type' => 'object', - 'properties' => [ - 'description' => [ - 'title' => '店铺描述', - 'type' => 'string', - 'required' => true, - 'example' => '店铺描述', - 'maxLength' => 500, - ], - 'shopName' => [ - 'title' => '店铺名称', - 'type' => 'string', - 'required' => true, - 'example' => '店铺名称', - 'maxLength' => 100, - ], - 'afterSaleDingTalkId' => [ - 'title' => '售后钉钉号', - 'type' => 'string', - 'required' => false, - 'example' => '12344335', - ], - 'operatorDingTalkId' => [ - 'title' => '运营钉钉号', - 'type' => 'string', - 'required' => true, - 'example' => '12344335', - ], - 'preSaleDingTalkId' => [ - 'title' => '售前钉钉号', - 'type' => 'string', - 'required' => false, - 'example' => '12344335', - ], - ], - ], - 'ShopCreateResult' => [ - 'type' => 'object', - 'properties' => [ - 'shopStatus' => [ - 'title' => '店铺状态', - 'type' => 'string', - 'required' => false, - 'example' => 'WORKING', - ], - 'shopId' => [ - 'title' => '店铺id', - 'type' => 'string', - 'required' => false, - 'example' => '123', - ], + 'startDate' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'], + 'status' => ['title' => '店铺状态', 'description' => '店铺状态', 'type' => 'string', 'required' => false, 'example' => 'Working'], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'example' => '48A34399-A72C-1E23-8388-7E63****E927'], + 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'example' => 'PID56****2304'], ], ], 'ShopPageDataResult' => [ @@ -3239,64 +1216,21 @@ 'description' => '店铺分页结果', 'type' => 'object', 'properties' => [ - 'endDate' => [ - 'title' => '结束时间', - 'description' => '结束时间', - 'type' => 'string', - 'required' => false, - 'example' => '2023-09-11T12:22:24.000+08:00', - ], - 'shopName' => [ - 'title' => '店铺名称', - 'description' => '店铺名称', - 'type' => 'string', - 'required' => false, - 'example' => '儿童座椅分销店铺', - ], - 'shopId' => [ - 'title' => '店铺id', - 'description' => '店铺id', - 'type' => 'string', - 'required' => false, - 'example' => '22****09', - ], - 'shopType' => [ - 'title' => '店铺类型', - 'description' => '店铺类型', - 'type' => 'string', - 'required' => false, - 'example' => 'DistributorQYG', - ], + 'endDate' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'], + 'shopName' => ['title' => '店铺名称', 'description' => '店铺名称', 'type' => 'string', 'required' => false, 'example' => '儿童座椅分销店铺'], + 'shopId' => ['title' => '店铺id', 'description' => '店铺id', 'type' => 'string', 'required' => false, 'example' => '22****09'], + 'shopType' => ['title' => '店铺类型', 'description' => '店铺类型', 'type' => 'string', 'required' => false, 'example' => 'DistributorQYG'], 'cooperationShops' => [ 'title' => '合作方店铺', 'description' => '合作方店铺', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/CooperationShop', - ], + 'items' => ['$ref' => '#/components/schemas/CooperationShop', 'description' => ''], 'required' => false, 'example' => '12****01', ], - 'startDate' => [ - 'title' => '开始时间', - 'description' => '开始时间', - 'type' => 'string', - 'required' => false, - 'example' => '2023-09-11T12:22:24.000+08:00', - ], - 'status' => [ - 'title' => '店铺状态', - 'description' => '店铺状态', - 'type' => 'string', - 'required' => false, - 'example' => 'Working', - ], - 'purchaserId' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'example' => 'PID56****2304', - ], + 'startDate' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'required' => false, 'example' => '2023-09-11T12:22:24.000+08:00'], + 'status' => ['title' => '店铺状态', 'description' => '店铺状态', 'type' => 'string', 'required' => false, 'example' => 'Working'], + 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'example' => 'PID56****2304'], ], ], 'ShopPageResult' => [ @@ -3304,214 +1238,56 @@ 'description' => '店铺分页查询返回', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '841471F6-5D61-1331-8C38-2****B55', - ], - 'total' => [ - 'title' => '总数量', - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '24', - ], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '841471F6-5D61-1331-8C38-2****B55'], + 'total' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '24'], 'shopList' => [ 'title' => '店铺集合', 'description' => '店铺集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/ShopPageDataResult', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/ShopPageDataResult', 'description' => ''], 'required' => false, ], ], ], - 'ShopStatusChangeRequest' => [ - 'type' => 'object', - 'properties' => [ - 'shopStatus' => [ - 'title' => '店铺状态', - 'type' => 'string', - 'required' => true, - 'example' => 'WORKING', - ], - 'shopId' => [ - 'title' => '店铺id', - 'type' => 'string', - 'required' => true, - 'example' => '123', - ], - ], - ], - 'ShopStatusChangeResult' => [ - 'type' => 'object', - 'properties' => [ - 'operate' => [ - 'title' => '操作是否成功', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - ], 'Sku' => [ 'description' => 'SKU列表', 'type' => 'object', 'properties' => [ - 'quantity' => [ - 'title' => '可售库存', - 'description' => '可售库存><notice>目前该字段值统一为:-1,无实际意义。></notice>', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '-1', - ], - 'productId' => [ - 'title' => '商品Id', - 'description' => '商品Id', - 'type' => 'string', - 'required' => false, - 'example' => '660460842235822080', - ], - 'canSell' => [ - 'title' => 'sku是否可售', - 'description' => 'sku是否可售', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'quantity' => ['title' => '可售库存', 'description' => '可售库存><notice>目前该字段值统一为:-1,无实际意义。></notice>', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'], + 'productId' => ['title' => '商品Id', 'description' => '商品Id', 'type' => 'string', 'required' => false, 'example' => '660460842235822080'], + 'canSell' => ['title' => 'sku是否可售', 'description' => 'sku是否可售', 'type' => 'boolean', 'required' => false, 'example' => 'true'], 'fuzzyQuantity' => [ 'title' => '模糊可售库存', 'description' => '模糊可售库存', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '有货' => '有货', - '库存紧张' => '库存紧张', - '无货' => '无货', - ], + 'enumValueTitles' => ['有货' => '有货', '库存紧张' => '库存紧张', '无货' => '无货'], 'example' => '有货'."\n" .'无货'."\n" .'库存紧张', ], - 'skuStatus' => [ - 'title' => 'sku管控状态', - 'description' => 'sku管控状态', - 'type' => 'string', - 'required' => false, - 'example' => 'Online', - ], - 'skuSpecsCode' => [ - 'title' => 'sku销售规格,辅助前端来筛选', - 'description' => 'sku销售规格,辅助前端来筛选', - 'type' => 'string', - 'required' => false, - 'example' => '颜色分类:天蓝色', - ], - 'platformPrice' => [ - 'title' => '平台当前售价, 单位分', - 'description' => '建议零售价, 单位分', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '999900', - ], - 'title' => [ - 'title' => 'sku标题', - 'description' => 'sku标题><notice>建议分销商取SkuSpec结构体中的value值或valueAlias值(当valueAlias有值时)拼接SKU标题对客展示。不建议直接使用本字段作为SKU标题对客展示。></notice>', - 'type' => 'string', - 'required' => false, - 'example' => '天蓝色', - ], - 'divisionCode' => [ - 'title' => '区域码', - 'description' => '区域码', - 'type' => 'string', - 'required' => false, - 'example' => '110000', - ], - 'picUrl' => [ - 'title' => 'sku图片', - 'description' => 'sku图片', - 'type' => 'string', - 'required' => false, - 'example' => 'https:////img.alicdn.com/imgextra///img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png', - ], - 'markPrice' => [ - 'title' => '划线价, 单位分', - 'description' => '划线价, 单位分', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '999900', - ], + 'skuStatus' => ['title' => 'sku管控状态', 'description' => 'sku管控状态', 'type' => 'string', 'required' => false, 'example' => 'Online'], + 'skuSpecsCode' => ['title' => 'sku销售规格,辅助前端来筛选', 'description' => 'sku销售规格,辅助前端来筛选', 'type' => 'string', 'required' => false, 'example' => '颜色分类:天蓝色'], + 'platformPrice' => ['title' => '平台当前售价, 单位分', 'description' => '建议零售价, 单位分', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '999900'], + 'title' => ['title' => 'sku标题', 'description' => 'sku标题><notice>建议分销商取SkuSpec结构体中的value值或valueAlias值(当valueAlias有值时)拼接SKU标题对客展示。不建议直接使用本字段作为SKU标题对客展示。></notice>', 'type' => 'string', 'required' => false, 'example' => '天蓝色'], + 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '110000'], + 'picUrl' => ['title' => 'sku图片', 'description' => 'sku图片', 'type' => 'string', 'required' => false, 'example' => 'https:////img.alicdn.com/imgextra///img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png'], + 'markPrice' => ['title' => '划线价, 单位分', 'description' => '划线价, 单位分', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '999900'], 'skuSpecs' => [ 'title' => 'sku', 'description' => 'sku', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/SkuSpec', - ], - 'required' => false, - ], - 'price' => [ - 'title' => '售价,单位分', - 'description' => '分销商采购价,单位分', - 'type' => 'integer', - 'format' => 'int64', + 'items' => ['required' => false, '$ref' => '#/components/schemas/SkuSpec', 'description' => ''], 'required' => false, - 'example' => '19800', - ], - 'shopId' => [ - 'title' => '店铺Id', - 'description' => '店铺Id', - 'type' => 'string', - 'required' => false, - 'example' => '21000017', - ], - 'skuId' => [ - 'title' => 'skuId', - 'description' => 'skuId', - 'type' => 'string', - 'required' => false, - 'example' => '660460842235822081', - ], - 'barcode' => [ - 'title' => '69码', - 'description' => '69码', - 'type' => 'string', - 'example' => '6922454329176', - ], - 'rankValue' => [ - 'title' => 'SKU排序', - 'description' => 'SKU排序', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'suggestedRetailPrice' => [ - 'title' => '建议零售价(无优惠)', - 'description' => '保留字段', - 'type' => 'integer', - 'format' => 'int64', - ], - 'discountRetailPrice' => [ - 'title' => '建议零售价(券后)', - 'description' => '保留字段', - 'type' => 'integer', - 'format' => 'int64', - ], - 'skuAlias' => [ - 'title' => 'sku别名', - 'description' => 'sku备注', - 'type' => 'string', ], + 'price' => ['title' => '售价,单位分', 'description' => '分销商采购价,单位分', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '19800'], + 'shopId' => ['title' => '店铺Id', 'description' => '店铺Id', 'type' => 'string', 'required' => false, 'example' => '21000017'], + 'skuId' => ['title' => 'skuId', 'description' => 'skuId', 'type' => 'string', 'required' => false, 'example' => '660460842235822081'], + 'barcode' => ['title' => '69码', 'description' => '69码', 'type' => 'string', 'example' => '6922454329176'], + 'rankValue' => ['title' => 'SKU排序', 'description' => 'SKU排序', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'suggestedRetailPrice' => ['title' => '建议零售价(无优惠)', 'description' => '保留字段', 'type' => 'integer', 'format' => 'int64'], + 'discountRetailPrice' => ['title' => '建议零售价(券后)', 'description' => '保留字段', 'type' => 'integer', 'format' => 'int64'], + 'skuAlias' => ['title' => 'sku别名', 'description' => 'sku备注', 'type' => 'string'], ], ], 'SkuQueryParam' => [ @@ -3519,27 +1295,9 @@ 'description' => '查询商品参数', 'type' => 'object', 'properties' => [ - 'productId' => [ - 'title' => '商品id', - 'description' => '商品id', - 'type' => 'string', - 'required' => true, - 'example' => '660460842235822080', - ], - 'skuId' => [ - 'title' => 'skuid', - 'description' => 'skuid', - 'type' => 'string', - 'required' => true, - 'example' => '660460842235822081', - ], - 'buyAmount' => [ - 'title' => '购买数量', - 'description' => '购买数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'productId' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => true, 'example' => '660460842235822080'], + 'skuId' => ['title' => 'skuid', 'description' => 'skuid', 'type' => 'string', 'required' => true, 'example' => '660460842235822081'], + 'buyAmount' => ['title' => '购买数量', 'description' => '购买数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], 'SkuSaleInfo' => [ @@ -3547,97 +1305,25 @@ 'description' => 'SKU详细信息', 'type' => 'object', 'properties' => [ - 'divisionCode' => [ - 'title' => '区域码', - 'description' => '区域码', - 'type' => 'string', - 'required' => false, - 'example' => '330106109', - ], - 'markPrice' => [ - 'title' => '划线价, 单位分', - 'description' => '划线价, 单位分', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '999900', - ], - 'quantity' => [ - 'title' => '可售库存', - 'description' => '可售库存', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '-1', - ], - 'productId' => [ - 'title' => '商品Id', - 'description' => '商品Id', - 'type' => 'string', - 'required' => false, - 'example' => '660460842235822080', - ], - 'canSell' => [ - 'title' => 'sku是否可售', - 'description' => 'sku是否可售', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - 'price' => [ - 'title' => '售价,单位分', - 'description' => '分销商采购价,单位分', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '19800', - ], + 'divisionCode' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '330106109'], + 'markPrice' => ['title' => '划线价, 单位分', 'description' => '划线价, 单位分', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '999900'], + 'quantity' => ['title' => '可售库存', 'description' => '可售库存', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'], + 'productId' => ['title' => '商品Id', 'description' => '商品Id', 'type' => 'string', 'required' => false, 'example' => '660460842235822080'], + 'canSell' => ['title' => 'sku是否可售', 'description' => 'sku是否可售', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'price' => ['title' => '售价,单位分', 'description' => '分销商采购价,单位分', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '19800'], 'fuzzyQuantity' => [ 'title' => '模糊可售库存', 'description' => '模糊可售库存', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '有货' => '有货', - '库存紧张' => '库存紧张', - '无货' => '无货', - ], + 'enumValueTitles' => ['有货' => '有货', '库存紧张' => '库存紧张', '无货' => '无货'], 'example' => '有货', ], - 'skuStatus' => [ - 'title' => 'sku管控状态', - 'description' => 'sku管控状态', - 'type' => 'string', - 'required' => false, - 'example' => 'Online', - ], - 'shopId' => [ - 'title' => '店铺Id', - 'description' => '店铺Id', - 'type' => 'string', - 'required' => false, - 'example' => '21000017', - ], - 'title' => [ - 'title' => 'sku标题', - 'description' => 'sku标题', - 'type' => 'string', - 'required' => false, - 'example' => '天蓝色', - ], - 'skuId' => [ - 'title' => 'skuId', - 'description' => 'skuId', - 'type' => 'string', - 'required' => false, - 'example' => '660460842235822081', - ], - 'canNotSellReason' => [ - 'title' => '不可售原因', - 'description' => '不可售原因', - 'type' => 'string', - 'example' => '不可售', - ], + 'skuStatus' => ['title' => 'sku管控状态', 'description' => 'sku管控状态', 'type' => 'string', 'required' => false, 'example' => 'Online'], + 'shopId' => ['title' => '店铺Id', 'description' => '店铺Id', 'type' => 'string', 'required' => false, 'example' => '21000017'], + 'title' => ['title' => 'sku标题', 'description' => 'sku标题', 'type' => 'string', 'required' => false, 'example' => '天蓝色'], + 'skuId' => ['title' => 'skuId', 'description' => 'skuId', 'type' => 'string', 'required' => false, 'example' => '660460842235822081'], + 'canNotSellReason' => ['title' => '不可售原因', 'description' => '不可售原因', 'type' => 'string', 'example' => '不可售'], ], ], 'SkuSaleInfoListQuery' => [ @@ -3645,29 +1331,14 @@ 'description' => 'SKU销售信息查询参数', 'type' => 'object', 'properties' => [ - 'divisionCode' => [ - 'title' => '区域码', - 'description' => '区域码(建议为五级乡镇/街道级地址 code)', - 'type' => 'string', - 'required' => false, - 'example' => '330106109', - ], - 'purchaserId' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'required' => true, - 'example' => '21000017', - ], + 'divisionCode' => ['title' => '区域码', 'description' => '区域码(建议为五级乡镇/街道级地址 code)', 'type' => 'string', 'required' => false, 'example' => '330106109'], + 'purchaserId' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => '21000017'], 'skuQueryParams' => [ 'title' => '查询商品参数', 'description' => '查询商品参数'."\n" .'> 单次最大查询SKU个数为20', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/SkuQueryParam', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/SkuQueryParam', 'description' => ''], 'required' => true, ], ], @@ -3678,21 +1349,12 @@ 'description' => '商品销售信息查询结果', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => '接口请求requestId', - 'description' => '接口请求requestId', - 'type' => 'string', - 'required' => false, - 'example' => '3239281273464326823', - ], + 'requestId' => ['title' => '接口请求requestId', 'description' => '接口请求requestId', 'type' => 'string', 'required' => false, 'example' => '3239281273464326823'], 'skuSaleInfos' => [ 'title' => 'sku库存集合', 'description' => 'sku库存集合', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/SkuSaleInfo', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/SkuSaleInfo', 'description' => ''], 'required' => false, ], ], @@ -3702,274 +1364,605 @@ 'description' => 'sku规格(销售属性)', 'type' => 'object', 'properties' => [ - 'keyId' => [ - 'title' => '规格id', - 'description' => '规格id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1000', - ], - 'valueId' => [ - 'title' => '规格值id', - 'description' => '规格值id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1000', - ], - 'value' => [ - 'title' => '规格值', - 'description' => '规格值', - 'type' => 'string', - 'required' => false, - 'example' => '天蓝色', - ], - 'key' => [ - 'title' => '规格键', - 'description' => '规格键', - 'type' => 'string', - 'required' => false, - 'example' => '颜色分类', - ], - 'valueAlias' => [ - 'title' => '规格值别名', - 'description' => '规格值别名(建议:当此字段不为空(null)时,取此字段值作为前端展示规格;当此字段为空(null)时,取value字段作为前端展示规格。)', - 'type' => 'string', - 'example' => '秘色', - ], + 'keyId' => ['title' => '规格id', 'description' => '规格id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'], + 'valueId' => ['title' => '规格值id', 'description' => '规格值id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000'], + 'value' => ['title' => '规格值', 'description' => '规格值', 'type' => 'string', 'required' => false, 'example' => '天蓝色'], + 'key' => ['title' => '规格键', 'description' => '规格键', 'type' => 'string', 'required' => false, 'example' => '颜色分类'], + 'valueAlias' => ['title' => '规格值别名', 'description' => '规格值别名(建议:当此字段不为空(null)时,取此字段值作为前端展示规格;当此字段为空(null)时,取value字段作为前端展示规格。)', 'type' => 'string', 'example' => '秘色'], ], ], - 'StopDistributionCommand' => [ - 'title' => 'A short description of struct', - 'description' => '取消铺货请求', - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'title' => '请求ID', - 'type' => 'string', - ], - 'requestUser' => [ - 'title' => '提交人', - 'type' => 'string', - ], - 'requestTime' => [ - 'title' => '提交时间', - 'type' => 'string', - 'example' => '2024-12-01 10:01:00', - ], - 'lmShopId' => [ - 'title' => 'LM店铺ID', - 'type' => 'string', - ], - 'productId' => [ - 'title' => '商品ID', - 'type' => 'string', - ], + ], + ], + 'apis' => [ + 'CancelRefundOrder' => [ + 'summary' => '取消售后单。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/{disputeId}/commands/cancel', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], ], ], - 'StopDistributionResult' => [ - 'title' => 'A short description of struct', - 'description' => '取消铺货结果', - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'title' => '请求ID', - 'type' => 'string', - ], - 'code' => [ - 'title' => '返回码', - 'type' => 'string', - ], - 'message' => [ - 'title' => '返回消息', - 'type' => 'string', - ], - 'products' => [ - 'title' => '商品信息', - 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/DistributionProduct', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'disputeId', + 'in' => 'path', + 'allowEmptyValue' => true, + 'schema' => ['description' => '售后单ID', 'type' => 'string', 'required' => false, 'example' => '601853367760207872'], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => ['description' => '售后单资源', 'required' => false, '$ref' => '#/components/schemas/RefundOrderResult'], + 'examples' => [], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]', + 'title' => '取消售后单', + 'description' => '取消售后单', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "0F5BFCA7-98B9-1D59-80C2-30622***CFB1",'."\n" + .' "orderLineId": "66931024438***7746",'."\n" + .' "disputeStatus": 1,'."\n" + .' "disputeId": "66931163166***4352"'."\n" + .'}'."\n" + .'```', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CancelRefundOrder'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkedmall:CancelRefundOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], ], - ], - 'apis' => [ - 'ListPurchaserShops' => [ - 'summary' => '获取采购方店铺列表。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaserShops', - 'methods' => [ - 'get', + 'ConfirmDisburse' => [ + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/commands/confirmDisburse', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => true, + 'schema' => ['title' => '确认收货(订单)', 'description' => '确认收货入参', 'required' => true, '$ref' => '#/components/schemas/ConfirmDisburseCmd'], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '确认收货结果', 'required' => false, '$ref' => '#/components/schemas/ConfirmDisburseResult'], + 'examples' => [], + ], ], - 'schemes' => [ - 'https', + 'title' => '确认收货', + 'summary' => '确认收货。', + 'description' => '确认收货', + 'requestParamsDescription' => '```'."\n" + .'{'."\n" + .' "orderId": "6696667996****5953"'."\n" + .'}', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "FF83DFBE-CBF2-1D73-83A3-5010****C402",'."\n" + .' "result": "success"'."\n" + .'}', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '150', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ConfirmDisburse'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkedmall:ConfirmDisburse', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": \\"success\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]', + ], + 'CreateGoodsShippingNotice' => [ + 'summary' => '回填运单信息。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/command/createGoodsShippingNotice', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => [], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => true, + 'schema' => ['title' => '提交逆向物流信息', 'description' => '提交运单信息', 'required' => true, '$ref' => '#/components/schemas/GoodsShippingNoticeCreateCmd'], + 'examples' => [], + ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => ['description' => '操作返回结果', 'required' => false, '$ref' => '#/components/schemas/GoodsShippingNoticeCreateResult'], + 'examples' => [], + ], ], - 'parameters' => [ + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": \\"success\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]', + 'title' => '回填运单信息', + 'description' => '回填运单信息', + 'requestParamsDescription' => '```'."\n" + .'{'."\n" + .' "cpCode": "YUNDA",'."\n" + .' "disputeId": "6696233432****5024",'."\n" + .' "logisticsNo": "4334027****6583"'."\n" + .'}', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "FA53BE49-2740-1AE1-BCBE-3640****5BE5",'."\n" + .' "result": "success"'."\n" + .'}', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'pageNumber', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '请求页码', - 'description' => '请求页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '1', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkedmall:CreateGoodsShippingNotice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], + ], + ], + ], + 'CreatePurchaseOrder' => [ + 'summary' => '创建采购单,返回采购单号,具体订单创建结果由消息侧通知。订单创建完成之后,客户可以通过订单接口查询采购单下附属的订单信息。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => true, + 'schema' => ['title' => '创建采购单', 'description' => '创建采购单', 'required' => true, '$ref' => '#/components/schemas/PurchaseOrderCreateCmd'], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => ['description' => '采购单创建结果(返回采购单号)。'."\n" + .'><warning>请注意,因采购单创建为异步任务,如分销商调用本接口返回异常时(如503错误码),建议勿立即执行业务侧的toC退款;请分销商等待并消费PurchaseOrderCreate消息(采购单创建结果消息)后正常判断订单状态(如消费订单状态同步消息判断订单状态)后再处理业务逻辑,以免造成资损。></warning>', 'required' => false, '$ref' => '#/components/schemas/PurchaseOrderCreateResult'], 'examples' => [], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"purchaseOrderId\\": \\"6692****5696\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]', + 'title' => '创建采购单', + 'description' => '创建采购单,返回采购单号,具体订单创建结果由消息侧通知。订单创建完成之后,客户可以通过订单接口查询采购单下附属的订单信息。'."\n" + .'><warning>请注意,因采购单创建为异步任务,如分销商调用本接口返回异常时(如503错误码),建议勿立即执行业务侧的toC退款;请分销商等待并消费PurchaseOrderCreate消息(采购单创建结果消息)后正常判断订单状态(如消费订单状态同步消息判断订单状态)后再处理业务逻辑,以免造成资损。></warning>'."\n" + .'><notice>调用采购单创建接口后如未接收到PurchaseOrderCreate消息(采购单创建结果消息),请在技术对接群中提交工单查询原因。></notice>', + 'requestParamsDescription' => '```'."\n" + .'{'."\n" + .' "outerPurchaseOrderId": "outer00****0",'."\n" + .' "deliveryAddress": {'."\n" + .' "divisionCode": "610102",'."\n" + .' "addressDetail": "陕西省西安市***大厦",'."\n" + .' "receiverPhone": "187****1553",'."\n" + .' "receiver": "闫先生",'."\n" + .' "townDivisionCode": "61010212"'."\n" + .' },'."\n" + .' "buyerId": "yt12345085",'."\n" + .' "productList": ['."\n" + .' {'."\n" + .' "quantity": 1,'."\n" + .' "productId": "6600622091****6736",'."\n" + .' "purchaserId": "PID2****09",'."\n" + .' "skuId": "6600622091****6737"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "48A34399-A72C-1E23-8388-7E63****E927",'."\n" + .' "purchaseOrderId": "6696070481****5680"'."\n" + .'}', + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'pageSize', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '每页数量范围', - 'description' => '每页数量范围', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => true, - 'example' => '10', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkedmall:CreatePurchaseOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], + ], + ], + ], + 'CreateRefundOrder' => [ + 'summary' => '创建售后单。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => true, + 'schema' => ['title' => '创建逆向单', 'description' => '创建逆向单', 'required' => true, '$ref' => '#/components/schemas/RefundOrderCmd'], 'examples' => [], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '店铺列表信息', - '$ref' => '#/components/schemas/ShopPageResult', + 'description' => '成功', + 'schema' => ['description' => '售后单资源', 'required' => false, '$ref' => '#/components/schemas/RefundOrderResult'], + 'examples' => [], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]', + 'title' => '创建售后单', + 'description' => '创建售后单', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "4DFA4CBA-AB08-13E2-9E25-0A26****72F2",'."\n" + .' "orderLineId": "6696070566****8594",'."\n" + .' "disputeStatus": 1,'."\n" + .' "disputeId": "6696233432****5024"'."\n" + .'}', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkedmall:CreateRefundOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + ], + 'GetOrder' => [ + 'summary' => '查询主单详情。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/{orderId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"total\\": 24,\\n \\"shopList\\": [\\n {\\n \\"endDate\\": \\"2023-09-01 00:00:00\\",\\n \\"shopName\\": \\"儿童座椅分销店铺\\",\\n \\"shopId\\": \\"22****09\\",\\n \\"shopType\\": \\"DistributorQYG\\",\\n \\"cooperationShops\\": [\\n {\\n \\"shopId\\": \\"\\",\\n \\"cooperationCompanyId\\": \\"\\",\\n \\"cooperationShopId\\": \\"\\"\\n }\\n ],\\n \\"startDate\\": \\"2023-09-01 00:00:00\\",\\n \\"status\\": \\"Working\\",\\n \\"purchaserId\\": \\"PID56****2304\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取采购方店铺列表', - 'description' => '获取采购方店铺列表。', + 'produces' => ['application/json'], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'orderId', + 'in' => 'path', + 'allowEmptyValue' => true, + 'schema' => ['title' => '订单id', 'description' => '订单id', 'type' => 'string', 'required' => true, 'example' => '669607056****8593'], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => ['description' => '订单资源返回', 'required' => false, '$ref' => '#/components/schemas/OrderResult'], + 'examples' => [], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderAmount\\": 100,\\n \\"orderLineList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"number\\": \\"1\\",\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"productPic\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"payFee\\": 100,\\n \\"skuId\\": \\"6600****6737\\",\\n \\"orderLineStatus\\": \\"1\\",\\n \\"eticketInfos\\": [\\n {\\n \\"code\\": \\"taobao******tpg\\",\\n \\"qrcodeUrl\\": \\"http://qrcode.alicdn.com/img.jpg\\",\\n \\"codeStatus\\": -1,\\n \\"startTime\\": \\"\\\\n2026-02-04T00:00:00.000+08:00\\",\\n \\"endTime\\": \\"2026-08-02T23:59:59.000+08:00\\",\\n \\"usedNum\\": 1,\\n \\"useTime\\": \\"\\\\n2026-02-04T15:07:59.000+08:00\\",\\n \\"lockNum\\": 0,\\n \\"availableNum\\": 0\\n }\\n ]\\n }\\n ],\\n \\"orderId\\": \\"6692****5457\\",\\n \\"distributorId\\": \\"12****01\\",\\n \\"orderStatus\\": \\"1\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"createDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderClosedReason\\": \\"系统关单\\"\\n}","type":"json"}]', + 'title' => '获取订单详情', 'responseParamsDescription' => '```'."\n" .'{'."\n" - .' "requestId": "AEE64C1D-7FBD-1F10-B8C7-12A854A1D6B4",'."\n" - .' "total": 6,'."\n" - .' "shopList": ['."\n" + .' "createDate": "2023-09-09 10:57:23",'."\n" + .' "distributorId": "6599775553****9296",'."\n" + .' "logisticsStatus": "1",'."\n" + .' "orderId": "6696070566****8593",'."\n" + .' "orderAmount": "1",'."\n" + .' "orderStatus": "2",'."\n" + .' "orderLineList": ['."\n" .' {'."\n" - .' "shopId": "22000019",'."\n" - .' "purchaserId": "PID22000019",'."\n" - .' "shopName": "店铺名称001",'."\n" - .' "cooperationShops": ['."\n" + .' "productPic": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0DYLWA_!!2216003305543.jpg",'."\n" + .' "productPrice": ['."\n" .' {'."\n" - .' "shopId": "22000019",'."\n" - .' "cooperationCompanyId": "11200003",'."\n" - .' "cooperationShopId": "21000026"'."\n" + .' "fundAmountMoney": "1" //订单应付金额'."\n" .' }'."\n" .' ],'."\n" - .' "shopType": "DistributorQYG",'."\n" - .' "startDate": null,'."\n" - .' "endDate": null,'."\n" - .' "status": "WORKING"'."\n" - .' },'."\n" - .' {'."\n" - .' "shopId": "22000018",'."\n" - .' "purchaserId": "PID22000018",'."\n" - .' "shopName": "店铺名称002",'."\n" - .' "cooperationShops": [],'."\n" - .' "shopType": "DistributorQYG",'."\n" - .' "startDate": null,'."\n" - .' "endDate": null,'."\n" - .' "status": "APPROVED"'."\n" - .' },'."\n" - .' {'."\n" - .' "shopId": "22000017",'."\n" - .' "purchaserId": "PID22000017",'."\n" - .' "shopName": "分销店铺0817",'."\n" - .' "cooperationShops": [],'."\n" - .' "shopType": "DistributorQYG",'."\n" - .' "startDate": null,'."\n" - .' "endDate": null,'."\n" - .' "status": "TO_BE_APPROVED"'."\n" + .' "productTitle": "儿童学习桌",'."\n" + .' "productId": "6600622091****6736",'."\n" + .' "number": "1",'."\n" + .' "orderLineStatus": "2",'."\n" + .' "logisticsStatus": "1",'."\n" + .' "skuId": "6600622091****6737",'."\n" + .' "skuTitle": "浅灰色",'."\n" + .' "orderLineId": "6696070566****8594",'."\n" + .' "orderId": "6696070566****8593"'."\n" .' }'."\n" .' ]'."\n" .'}', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '550', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetOrder'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetPurchaseOrderStatus' => [ + 'summary' => '获取采购单状态。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders/{purchaseOrderId}/status', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'purchaseOrderId', + 'in' => 'path', + 'allowEmptyValue' => true, + 'schema' => ['title' => '采购单ID', 'description' => '采购单ID', 'type' => 'string', 'required' => true, 'example' => '6696070481****5680'], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'description' => '交易单状态', + 'required' => false, + 'enumValueTitles' => [], + '$ref' => '#/components/schemas/PurchaseOrderStatusResult', + ], + 'examples' => [], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"status\\": \\"10\\"\\n}","type":"json"}]', + 'title' => '获取采购单状态', + 'description' => '获取交易单状态。', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "AC85D1AE-3015-1024-B17C-D056****3583",'."\n" + .' "status": "20"'."\n" + .'}', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetPurchaseOrderStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'GetPurchaserShop' => [ 'summary' => '获取采购方店铺。', 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaserShops/{purchaserId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'purchaserId', 'in' => 'path', - 'schema' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'required' => true, - 'example' => 'PID22000016', - ], + 'schema' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PID22000016'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'title' => '店铺详情', - 'description' => '店铺详情', - '$ref' => '#/components/schemas/Shop', - ], + 'schema' => ['title' => '店铺详情', 'description' => '店铺详情', '$ref' => '#/components/schemas/Shop'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"endDate\\": \\"2024-09-09 00:00:00\\",\\n \\"distributorId\\": \\"12****09\\",\\n \\"shopName\\": \\"儿童分销店铺\\",\\n \\"shopId\\": \\"22****09\\",\\n \\"shopType\\": \\"DistributorQYG\\",\\n \\"cooperationShops\\": [\\n {\\n \\"shopId\\": \\"\\",\\n \\"cooperationCompanyId\\": \\"\\",\\n \\"cooperationShopId\\": \\"\\"\\n }\\n ],\\n \\"startDate\\": \\"2023-09-09 00:00:00\\",\\n \\"status\\": \\"Working\\",\\n \\"requestId\\": \\"48A34399-A72C-1E23-8388-7E63****E927\\",\\n \\"purchaserId\\": \\"PID56****2304\\"\\n}","type":"json"}]', 'title' => '获取采购方店铺', 'description' => '获取采购方店铺。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetPurchaserShop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetRefundOrder' => [ + 'summary' => '获取售后单详情。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/{disputeId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'disputeId', + 'in' => 'path', + 'allowEmptyValue' => true, + 'schema' => ['description' => '售后单id', 'type' => 'string', 'required' => false, 'example' => '6696233432****5024'], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => ['description' => '售后单结果', 'required' => false, '$ref' => '#/components/schemas/RefundResult'], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"refundFee\\": 1,\\n \\"refundFeeData\\": {\\n \\"minRefundFee\\": 1,\\n \\"maxRefundFee\\": 100\\n },\\n \\"applyDisputeDesc\\": \\"多拍不想要\\",\\n \\"refunderTel\\": \\"182****1334\\",\\n \\"bizClaimType\\": 1,\\n \\"disputeDesc\\": \\"多拍不想要\\",\\n \\"sellerRefuseReason\\": \\"商品没问题,买家举证无效\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"refunderName\\": \\"赵先生\\",\\n \\"applyReason\\": {\\n \\"reasonTextId\\": 403769,\\n \\"reasonTips\\": \\"不想要了\\"\\n },\\n \\"refunderAddress\\": \\"阿里云云谷\\",\\n \\"refunderZipCode\\": \\"331001\\",\\n \\"disputeEndTime\\": \\"2023-09-15T19:23:59.000+08:00\\",\\n \\"sellerRefuseAgreementMessage\\": \\"不同意退款\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"returnGoodLogisticsStatus\\": 0,\\n \\"orderLogisticsStatus\\": 1,\\n \\"disputeCreateTime\\": \\"2023-09-15T19:23:59.000+08:00\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"sellerAgreeMsg\\": \\"同意退款\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]', + 'title' => '获取售后单详情', + 'description' => '获取售后单详情', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "applyDisputeDesc": null,'."\n" + .' "applyReason": {'."\n" + .' "reasonTextId": 403883,'."\n" + .' "reasonTips": "商品成分描述不符"'."\n" + .' },'."\n" + .' "bizClaimType": 3,'."\n" + .' "disputeCreateTime": "2023-09-09 12:00:35",'."\n" + .' "disputeDesc": null,'."\n" + .' "disputeEndTime": null,'."\n" + .' "disputeId": "6696233432****5024",'."\n" + .' "disputeStatus": 3,'."\n" + .' "disputeType": 1,'."\n" + .' "orderId": "6696070566****8593",'."\n" + .' "refundFeeData": {'."\n" + .' "maxRefundFee": null,'."\n" + .' "minRefundFee": null'."\n" + .' },'."\n" + .' "orderLogisticsStatus": 2,'."\n" + .' "refundFee": 1,'."\n" + .' "refunderAddress": null,'."\n" + .' "refunderName": null,'."\n" + .' "refunderTel": null,'."\n" + .' "refunderZipCode": null,'."\n" + .' "returnGoodCount": null,'."\n" + .' "returnGoodLogisticsStatus": null,'."\n" + .' "sellerAgreeMsg": null,'."\n" + .' "sellerRefuseAgreementMessage": null,'."\n" + .' "sellerRefuseReason": null,'."\n" + .' "orderLineId": "6696070566****8594"'."\n" + .'}', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetRefundOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'GetSelectionProduct' => [ 'summary' => '查询选品池商品详情。', 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products/{productId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'tags' => [], 'security' => [ [ @@ -3977,60 +1970,38 @@ ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'productId', 'in' => 'path', 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '商品id', - 'type' => 'string', - 'required' => true, - 'example' => '660460842235822080', - ], + 'schema' => ['description' => '商品id', 'type' => 'string', 'required' => true, 'example' => '660460842235822080'], 'examples' => [], ], [ 'name' => 'purchaserId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'required' => true, - 'example' => 'PID22000009', - ], + 'schema' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PID22000009'], 'examples' => [], ], [ 'name' => 'divisionCode', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域码(建议四级乡镇/街道级地址code)', - 'description' => '区域码(建议为五级乡镇/街道级地址code)', - 'type' => 'string', - 'required' => false, - 'example' => '330106109', - ], + 'schema' => ['title' => '区域码(建议四级乡镇/街道级地址code)', 'description' => '区域码(建议为五级乡镇/街道级地址code)', 'type' => 'string', 'required' => false, 'example' => '330106109'], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功', - 'schema' => [ - 'description' => '商品详情', - '$ref' => '#/components/schemas/Product', - ], + 'schema' => ['description' => '商品详情', '$ref' => '#/components/schemas/Product'], 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"categoryChain\\": [\\n {\\n \\"name\\": \\"方便面/拉面/挂面/轻食面速食\\",\\n \\"isLeaf\\": false,\\n \\"level\\": 2,\\n \\"categoryId\\": 201792301,\\n \\"parentId\\": 50016422\\n }\\n ],\\n \\"skus\\": [\\n {\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"skuSpecsCode\\": \\"颜色分类:天蓝色\\",\\n \\"platformPrice\\": 999900,\\n \\"title\\": \\"天蓝色\\",\\n \\"divisionCode\\": \\"110000\\",\\n \\"picUrl\\": \\"https:////img.alicdn.com/imgextra///img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png\\",\\n \\"markPrice\\": 999900,\\n \\"skuSpecs\\": [\\n {\\n \\"keyId\\": 1000,\\n \\"valueId\\": 1000,\\n \\"value\\": \\"天蓝色\\",\\n \\"key\\": \\"颜色分类\\",\\n \\"valueAlias\\": \\"秘色\\"\\n }\\n ],\\n \\"price\\": 19800,\\n \\"shopId\\": \\"21000017\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"barcode\\": \\"6922454329176\\",\\n \\"rankValue\\": 3,\\n \\"suggestedRetailPrice\\": 0,\\n \\"discountRetailPrice\\": 0,\\n \\"skuAlias\\": \\"\\"\\n }\\n ],\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"canSell\\": true,\\n \\"fuzzyQuantity\\": \\"100+\\",\\n \\"title\\": \\"发财树\\",\\n \\"extendProperties\\": [\\n {\\n \\"key\\": \\"ss_picture_scene\\",\\n \\"value\\": \\"场景图\\"\\n }\\n ],\\n \\"servicePromises\\": [\\n \\"\\"\\n ],\\n \\"soldQuantity\\": \\"100+\\",\\n \\"picUrl\\": \\"https://img.alicdn.com/imgextra/i3/2214281521988/O1CN01w4vomR1QYYEx6nyr5_!!2214281521988.jpg\\",\\n \\"categoryLeafId\\": 201856501,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"inGroup\\": true,\\n \\"productType\\": \\"Normal\\",\\n \\"images\\": [\\n \\"\\"\\n ],\\n \\"brandName\\": \\"Apple/苹果\\",\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"productSpecs\\": [\\n {\\n \\"keyId\\": 1000,\\n \\"key\\": \\"颜色分类\\",\\n \\"values\\": [\\n {\\n \\"value\\": \\"白色\\",\\n \\"valueId\\": 1000,\\n \\"valueAlias\\": \\"秘色\\"\\n }\\n ]\\n }\\n ],\\n \\"productStatus\\": \\"Online\\",\\n \\"taxCode\\": \\"3040203000000000000\\",\\n \\"divisionCode\\": \\"110000\\",\\n \\"taxRate\\": 600,\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"\\",\\n \\"limitNum\\": 0,\\n \\"beginTime\\": 0,\\n \\"endTime\\": 0,\\n \\"condcase\\": \\"\\"\\n }\\n ],\\n \\"descPath\\": \\"https://img.alicdn.com/descpath/O1CN01wciRDp22AEU14435dsf34\\",\\n \\"properties\\": [\\n {\\n \\"text\\": \\"颜色\\",\\n \\"values\\": [\\n \\"白色\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{}","type":"json"}]', 'title' => '查询选品池商品详情', 'description' => '通过商品id查询选品池商品详情,支持输入区域码查询商品区域库存。', 'requestParamsDescription' => '```'."\n" @@ -4188,77 +2159,584 @@ .' "soldQuantity": "2",'."\n" .' "divisionCode": "330106109"'."\n" .'}', + 'changeSet' => [ + ['createdAt' => '2024-03-29T03:14:22.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetSelectionProduct'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetSelectionProduct', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], - 'ListSelectionProducts' => [ - 'summary' => '查询选品池商品列表。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products', - 'methods' => [ - 'get', + 'GetSelectionProductSaleInfo' => [ + 'summary' => '查询选品池商品销售信息。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products/{productId}/saleInfo', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'productId', + 'in' => 'path', + 'allowEmptyValue' => true, + 'schema' => ['description' => '商品id', 'type' => 'string', 'required' => true, 'example' => '660460842235822080'], + 'examples' => [], + ], + [ + 'name' => 'purchaserId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PID22000009'], + 'examples' => [], + ], + [ + 'name' => 'divisionCode', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '区域码', 'description' => '区域码(建议为五级乡镇/街道级地址code)', 'type' => 'string', 'required' => false, 'example' => '330106109'], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => ['description' => '商品销售信息', '$ref' => '#/components/schemas/ProductSaleInfo'], + 'examples' => [], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"divisionCode\\": \\"330106109\\",\\n \\"quantity\\": 10,\\n \\"skus\\": [\\n {\\n \\"divisionCode\\": \\"330106109\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ],\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"productStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"发财树\\",\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"UpperNumberPerUser\\",\\n \\"limitNum\\": 1,\\n \\"beginTime\\": 1724947200000,\\n \\"endTime\\": 1724947200000,\\n \\"condcase\\": \\"day\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询选品池商品销售信息', + 'description' => '查询选品池商品销售信息:分销商可调用此接口查询商品销售信息,如商品状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参查询商品在该区域是否可售。', + 'requestParamsDescription' => '```'."\n" + .'{'."\n" + .' "productId": "660460842235822080",'."\n" + .' "purchaserId": "PID22000009",'."\n" + .' "divisionCode": "330106109"'."\n" + .'}', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "33D4B4FC-E37F-1CB1-A4DD-F953B7F296DB",'."\n" + .' "shopId": "21000019",'."\n" + .' "divisionCode": "330106109",'."\n" + .' "productId": "660460842235822080",'."\n" + .' "title": "发财树5--我用下小蚁这个商品-qhh 不用你其他商品",'."\n" + .' "skus": ['."\n" + .' {'."\n" + .' "shopId": "21000019",'."\n" + .' "divisionCode": "330106109",'."\n" + .' "productId": "660460842235822080",'."\n" + .' "skuId": "660460842235822081",'."\n" + .' "title": "天蓝色",'."\n" + .' "skuStatus": "Online",'."\n" + .' "canSell": false,'."\n" + .' "quantity": -1,'."\n" + .' "fuzzyQuantity": "无货",'."\n" + .' "price": 1,'."\n" + .' "markPrice": 999900'."\n" + .' },'."\n" + .' {'."\n" + .' "shopId": "21000019",'."\n" + .' "divisionCode": "330106109",'."\n" + .' "productId": "660460842235822080",'."\n" + .' "skuId": "660460842235822082",'."\n" + .' "title": "红色",'."\n" + .' "skuStatus": "Online",'."\n" + .' "canSell": true,'."\n" + .' "quantity": -1,'."\n" + .' "fuzzyQuantity": "有货",'."\n" + .' "price": 2,'."\n" + .' "markPrice": 999900'."\n" + .' },'."\n" + .' {'."\n" + .' "shopId": "21000019",'."\n" + .' "divisionCode": "330106109",'."\n" + .' "productId": "660460842235822080",'."\n" + .' "skuId": "660460842235822083",'."\n" + .' "title": "黑色",'."\n" + .' "skuStatus": "Online",'."\n" + .' "canSell": false,'."\n" + .' "quantity": -1,'."\n" + .' "fuzzyQuantity": "无货",'."\n" + .' "price": 1,'."\n" + .' "markPrice": 999900'."\n" + .' }'."\n" + .' ],'."\n" + .' "canSell": true,'."\n" + .' "productStatus": "Online",'."\n" + .' "quantity": -1,'."\n" + .' "fuzzyQuantity": "有货"'."\n" + .'}', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetSelectionProductSaleInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListCategories' => [ + 'summary' => '查询类目列表。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/categories/commands/list', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'tags' => [], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '类目查询参数', 'required' => false, '$ref' => '#/components/schemas/CategoryListQuery'], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => ['description' => '类目', '$ref' => '#/components/schemas/CategoryListResult'], + 'examples' => [], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"categories\\": [\\n {\\n \\"name\\": \\"名称测试\\",\\n \\"isLeaf\\": false,\\n \\"level\\": 0,\\n \\"categoryId\\": 201792301,\\n \\"parentId\\": 0\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询类目列表', + 'description' => '根据父类目id查询所有子类目信息,或者根据类目id查询类目信息。'."\n" + ."\n" + .'当父类目id(parentCategoryId)为0时,则返回根类目下的一级类目。', + 'requestParamsDescription' => '```'."\n" + .'// 查询类目(parentCategoryId)下的所有子类目'."\n" + .'{'."\n" + .' "body": {'."\n" + .' "parentCategoryId": "50016422"'."\n" + .' }'."\n" + .'}'."\n" + ."\n" + .'// 根据入参类目id(categoryIds)批量查询类目'."\n" + .'{'."\n" + .' "body": {'."\n" + .' "categoryIds": ['."\n" + .' "202007601",'."\n" + .' "201792301"'."\n" + .' ]'."\n" + .' }', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "4D1FC14F-CE54-1A1F-A322-D6DC87D49AFE",'."\n" + .' "categories": ['."\n" + .' {'."\n" + .' "categoryId": 201792301,'."\n" + .' "name": "方便面/拉面/挂面/轻食面速食",'."\n" + .' "parentId": 50016422,'."\n" + .' "level": 2,'."\n" + .' "isLeaf": false'."\n" + .' },'."\n" + .' {'."\n" + .' "categoryId": 202007601,'."\n" + .' "name": "方便速食/速冻食品类卡券",'."\n" + .' "parentId": 50016422,'."\n" + .' "level": 2,'."\n" + .' "isLeaf": false'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListCategories', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListLogisticsOrders' => [ + 'summary' => '查询订单物流信息。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/{orderId}/logisticsOrders', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'list', + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ + [ + 'name' => 'orderId', + 'in' => 'path', + 'allowEmptyValue' => true, + 'schema' => ['title' => '订单id', 'description' => '订单id', 'type' => 'string', 'required' => true, 'example' => '6696070566****8593'], + 'examples' => [], + ], ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => ['description' => '物流信息', 'required' => false, '$ref' => '#/components/schemas/LogisticsOrderListResult'], + 'examples' => [], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"logisticsOrderList\\": [\\n {\\n \\"mailNo\\": \\"SF234***2345\\",\\n \\"dataProviderTitle\\": \\"菜鸟裹裹\\",\\n \\"logisticsCompanyName\\": \\"顺丰\\",\\n \\"logisticsDetailList\\": [\\n {\\n \\"ocurrTimeStr\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"standerdDesc\\": \\"已签收\\"\\n }\\n ],\\n \\"goods\\": [\\n {\\n \\"goodName\\": \\"儿童学习桌\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"quantity\\": 1,\\n \\"skuId\\": \\"7232****2321\\",\\n \\"skuTitle\\": \\"白色\\"\\n }\\n ],\\n \\"dataProvider\\": \\"菜鸟\\",\\n \\"logisticsCompanyCode\\": \\"SF\\"\\n }\\n ],\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]', + 'title' => '查询订单物流信息', + 'description' => '查询订单物流信息', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "ED080FA8-F005-10B1-A9AB-CCFD****9149",'."\n" + .' "logisticsOrderList": ['."\n" + .' {'."\n" + .' "dataProvider": "菜鸟裹裹",'."\n" + .' "dataProviderTitle": "本数据由菜鸟裹裹提供",'."\n" + .' "goods": ['."\n" + .' {'."\n" + .' "goodName": "儿童学习桌",'."\n" + .' "productId": 2384738123****7238,'."\n" + .' "quantity": 1'."\n" + .' }'."\n" + .' ],'."\n" + .' "logisticsCompanyCode": "SF",'."\n" + .' "logisticsCompanyName": "顺丰速运",'."\n" + .' "logisticsDetailList": ['."\n" + .' {'."\n" + .' "ocurrTimeStr": "2023-06-06 14:44:45",'."\n" + .' "standerdDesc": "顺丰速运 已收取快件"'."\n" + .' },'."\n" + .' {'."\n" + .' "ocurrTimeStr": "2023-06-06 14:44:46",'."\n" + .' "standerdDesc": "快件在【加工厂店】完成分拣,准备发往 【沈阳****中转场】"'."\n" + .' },'."\n" + .' {'."\n" + .' "ocurrTimeStr": "2023-06-06 18:24:09",'."\n" + .' "standerdDesc": "快件到达 【沈阳****中转场】"'."\n" + .' },'."\n" + .' {'."\n" + .' "ocurrTimeStr": "2023-06-06 18:28:26",'."\n" + .' "standerdDesc": "快件在【沈阳****中转场】完成分拣,准备发往 【西安****中转场】"'."\n" + .' },'."\n" + .' {'."\n" + .' "ocurrTimeStr": "2023-06-07 05:40:35",'."\n" + .' "standerdDesc": "快件已发车"'."\n" + .' }'."\n" + .' ],'."\n" + .' "mailNo": "SF162546****599"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListLogisticsOrders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListPurchaserShops' => [ + 'summary' => '获取采购方店铺列表。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaserShops', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ + 'name' => 'pageNumber', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '请求页码', 'description' => '请求页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + 'examples' => [], + ], + [ 'name' => 'pageSize', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '分页大小', - 'description' => '分页大小,区间[1,20]', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', + 'schema' => ['title' => '每页数量范围', 'description' => '每页数量范围', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '店铺列表信息', '$ref' => '#/components/schemas/ShopPageResult'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"total\\": 24,\\n \\"shopList\\": [\\n {\\n \\"endDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"shopName\\": \\"儿童座椅分销店铺\\",\\n \\"shopId\\": \\"22****09\\",\\n \\"shopType\\": \\"DistributorQYG\\",\\n \\"cooperationShops\\": [\\n {\\n \\"shopId\\": \\"\\",\\n \\"cooperationCompanyId\\": \\"\\",\\n \\"cooperationShopId\\": \\"\\"\\n }\\n ],\\n \\"startDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"status\\": \\"Working\\",\\n \\"purchaserId\\": \\"PID56****2304\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取采购方店铺列表', + 'description' => '获取采购方店铺列表。', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "AEE64C1D-7FBD-1F10-B8C7-12A854A1D6B4",'."\n" + .' "total": 6,'."\n" + .' "shopList": ['."\n" + .' {'."\n" + .' "shopId": "22000019",'."\n" + .' "purchaserId": "PID22000019",'."\n" + .' "shopName": "店铺名称001",'."\n" + .' "cooperationShops": ['."\n" + .' {'."\n" + .' "shopId": "22000019",'."\n" + .' "cooperationCompanyId": "11200003",'."\n" + .' "cooperationShopId": "21000026"'."\n" + .' }'."\n" + .' ],'."\n" + .' "shopType": "DistributorQYG",'."\n" + .' "startDate": null,'."\n" + .' "endDate": null,'."\n" + .' "status": "WORKING"'."\n" + .' },'."\n" + .' {'."\n" + .' "shopId": "22000018",'."\n" + .' "purchaserId": "PID22000018",'."\n" + .' "shopName": "店铺名称002",'."\n" + .' "cooperationShops": [],'."\n" + .' "shopType": "DistributorQYG",'."\n" + .' "startDate": null,'."\n" + .' "endDate": null,'."\n" + .' "status": "APPROVED"'."\n" + .' },'."\n" + .' {'."\n" + .' "shopId": "22000017",'."\n" + .' "purchaserId": "PID22000017",'."\n" + .' "shopName": "分销店铺0817",'."\n" + .' "cooperationShops": [],'."\n" + .' "shopType": "DistributorQYG",'."\n" + .' "startDate": null,'."\n" + .' "endDate": null,'."\n" + .' "status": "TO_BE_APPROVED"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListPurchaserShops', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'ListSelectionProductSaleInfos' => [ + 'summary' => '批量查询选品池商品销售信息。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products/saleInfo/commands/list', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'operationType' => 'read', + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => true, + 'schema' => ['title' => '批量查询商品库存参数', 'description' => '批量查询商品销售信息参数', 'required' => true, '$ref' => '#/components/schemas/ProductSaleInfoListQuery'], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => ['description' => '商品销售信息', '$ref' => '#/components/schemas/ProductSaleInfoListResult'], + 'examples' => [], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"productSaleInfos\\": [\\n {\\n \\"divisionCode\\": \\"330106109\\",\\n \\"quantity\\": 10,\\n \\"skus\\": [\\n {\\n \\"divisionCode\\": \\"330106109\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ],\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"productStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"发财树\\",\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"UpperNumberPerUser\\",\\n \\"limitNum\\": 1,\\n \\"beginTime\\": 1724947200000,\\n \\"endTime\\": 1724947200000,\\n \\"condcase\\": \\"day\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => '批量查询选品池商品销售信息', + 'description' => '批量查询选品池商品销售信息:分销商可调用此接口批量查询商品销售信息,如商品状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参批量查询商品在该区域是否可售。', + 'requestParamsDescription' => '```'."\n" + .'{'."\n" + .' "purchaserId":"PID22000009", '."\n" + .' "divisionCode":"330106109", '."\n" + .' "productIds":['."\n" + .' "660460842235822080"'."\n" + .' ]'."\n" + .'}', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "1556385F-6098-114E-84F8-14B383EF5AA8",'."\n" + .' "productSaleInfos": ['."\n" + .' {'."\n" + .' "requestId": null,'."\n" + .' "shopId": "21000019",'."\n" + .' "divisionCode": "330106109",'."\n" + .' "productId": "660460842235822080",'."\n" + .' "title": "发财树5--我用下小蚁这个商品-qhh 不用你其他商品",'."\n" + .' "skus": ['."\n" + .' {'."\n" + .' "shopId": "21000019",'."\n" + .' "divisionCode": "330106109",'."\n" + .' "productId": "660460842235822080",'."\n" + .' "skuId": "660460842235822081",'."\n" + .' "title": "天蓝色",'."\n" + .' "skuStatus": "Online",'."\n" + .' "canSell": false,'."\n" + .' "quantity": -1,'."\n" + .' "fuzzyQuantity": "无货",'."\n" + .' "price": 1,'."\n" + .' "markPrice": 999900'."\n" + .' },'."\n" + .' {'."\n" + .' "shopId": "21000019",'."\n" + .' "divisionCode": "330106109",'."\n" + .' "productId": "660460842235822080",'."\n" + .' "skuId": "660460842235822082",'."\n" + .' "title": "红色",'."\n" + .' "skuStatus": "Online",'."\n" + .' "canSell": true,'."\n" + .' "quantity": -1,'."\n" + .' "fuzzyQuantity": "有货",'."\n" + .' "price": 2,'."\n" + .' "markPrice": 999900'."\n" + .' },'."\n" + .' {'."\n" + .' "shopId": "21000019",'."\n" + .' "divisionCode": "330106109",'."\n" + .' "productId": "660460842235822080",'."\n" + .' "skuId": "660460842235822083",'."\n" + .' "title": "黑色",'."\n" + .' "skuStatus": "Online",'."\n" + .' "canSell": false,'."\n" + .' "quantity": -1,'."\n" + .' "fuzzyQuantity": "无货",'."\n" + .' "price": 1,'."\n" + .' "markPrice": 999900'."\n" + .' }'."\n" + .' ],'."\n" + .' "canSell": true,'."\n" + .' "productStatus": "Online",'."\n" + .' "quantity": -1,'."\n" + .' "fuzzyQuantity": "有货"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListSelectionProductSaleInfos'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListSelectionProductSaleInfos', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListSelectionProducts' => [ + 'summary' => '查询选品池商品列表。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ + [ + 'name' => 'pageSize', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['title' => '分页大小', 'description' => '分页大小,区间[1,20]', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], + ], [ 'name' => 'pageNumber', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '当前页面序号,从1开始', - 'description' => '当前页面序号,从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['title' => '当前页面序号,从1开始', 'description' => '当前页面序号,从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'purchaserId', 'in' => 'query', 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'required' => true, - 'example' => 'PID22000009', - ], + 'schema' => ['title' => '采购方id', 'description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PID22000009'], ], ], 'responses' => [ 200 => [ 'description' => '成功', - 'schema' => [ - 'description' => '商品详情', - '$ref' => '#/components/schemas/ProductPageResult', - ], + 'schema' => ['description' => '商品详情', '$ref' => '#/components/schemas/ProductPageResult'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageSize\\": 10,\\n \\"total\\": 24,\\n \\"pageNumber\\": 1,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"products\\": [\\n {\\n \\"categoryChain\\": [\\n {\\n \\"name\\": \\"方便面/拉面/挂面/轻食面速食\\",\\n \\"isLeaf\\": false,\\n \\"level\\": 2,\\n \\"categoryId\\": 201792301,\\n \\"parentId\\": 50016422\\n }\\n ],\\n \\"skus\\": [\\n {\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"skuSpecsCode\\": \\"颜色分类:天蓝色\\",\\n \\"platformPrice\\": 999900,\\n \\"title\\": \\"天蓝色\\",\\n \\"divisionCode\\": \\"110000\\",\\n \\"picUrl\\": \\"https:////img.alicdn.com/imgextra///img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png\\",\\n \\"markPrice\\": 999900,\\n \\"skuSpecs\\": [\\n {\\n \\"keyId\\": 1000,\\n \\"valueId\\": 1000,\\n \\"value\\": \\"天蓝色\\",\\n \\"key\\": \\"颜色分类\\",\\n \\"valueAlias\\": \\"秘色\\"\\n }\\n ],\\n \\"price\\": 19800,\\n \\"shopId\\": \\"21000017\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"barcode\\": \\"6922454329176\\",\\n \\"rankValue\\": 3,\\n \\"suggestedRetailPrice\\": 0,\\n \\"discountRetailPrice\\": 0,\\n \\"skuAlias\\": \\"\\"\\n }\\n ],\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"canSell\\": true,\\n \\"fuzzyQuantity\\": \\"100+\\",\\n \\"title\\": \\"发财树\\",\\n \\"extendProperties\\": [\\n {\\n \\"key\\": \\"ss_picture_scene\\",\\n \\"value\\": \\"场景图\\"\\n }\\n ],\\n \\"servicePromises\\": [\\n \\"\\"\\n ],\\n \\"soldQuantity\\": \\"100+\\",\\n \\"picUrl\\": \\"https://img.alicdn.com/imgextra/i3/2214281521988/O1CN01w4vomR1QYYEx6nyr5_!!2214281521988.jpg\\",\\n \\"categoryLeafId\\": 201856501,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"inGroup\\": true,\\n \\"productType\\": \\"Normal\\",\\n \\"images\\": [\\n \\"\\"\\n ],\\n \\"brandName\\": \\"Apple/苹果\\",\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"productSpecs\\": [\\n {\\n \\"keyId\\": 1000,\\n \\"key\\": \\"颜色分类\\",\\n \\"values\\": [\\n {\\n \\"value\\": \\"白色\\",\\n \\"valueId\\": 1000,\\n \\"valueAlias\\": \\"秘色\\"\\n }\\n ]\\n }\\n ],\\n \\"productStatus\\": \\"Online\\",\\n \\"taxCode\\": \\"3040203000000000000\\",\\n \\"divisionCode\\": \\"110000\\",\\n \\"taxRate\\": 600,\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"\\",\\n \\"limitNum\\": 0,\\n \\"beginTime\\": 0,\\n \\"endTime\\": 0,\\n \\"condcase\\": \\"\\"\\n }\\n ],\\n \\"descPath\\": \\"https://img.alicdn.com/descpath/O1CN01wciRDp22AEU14435dsf34\\",\\n \\"properties\\": [\\n {\\n \\"text\\": \\"颜色\\",\\n \\"values\\": [\\n \\"白色\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageSize\\": 10,\\n \\"total\\": 24,\\n \\"pageNumber\\": 1,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"products\\": []\\n}","type":"json"}]', 'title' => '查询选品池商品列表', 'requestParamsDescription' => '```'."\n" .'{'."\n" @@ -4419,107 +2897,69 @@ .' }'."\n" .' ]'."\n" .'}', - ], - 'GetSelectionProductSaleInfo' => [ - 'summary' => '查询选品池商品销售信息。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products/{productId}/saleInfo', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListSelectionProducts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListSelectionSkuSaleInfos' => [ + 'summary' => '批量查询选品池SKU销售信息。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/skus/saleInfo/commands/list', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'tags' => [], 'security' => [ [ 'AK' => [], ], ], + 'consumes' => ['application/json'], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'list'], 'parameters' => [ [ - 'name' => 'productId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '商品id', - 'type' => 'string', - 'required' => true, - 'example' => '660460842235822080', - ], - 'examples' => [], - ], - [ - 'name' => 'purchaserId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '采购方id', - 'description' => '采购方id', - 'type' => 'string', - 'required' => true, - 'example' => 'PID22000009', - ], - 'examples' => [], - ], - [ - 'name' => 'divisionCode', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '区域码', - 'description' => '区域码(建议为五级乡镇/街道级地址code)', - 'type' => 'string', - 'required' => false, - 'example' => '330106109', - ], + 'schema' => ['title' => '批量查询SKU库存参数', 'description' => '批量查询SKU销售信息参数', 'required' => true, '$ref' => '#/components/schemas/SkuSaleInfoListQuery'], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功', - 'schema' => [ - 'description' => '商品销售信息', - '$ref' => '#/components/schemas/ProductSaleInfo', - ], + 'schema' => ['description' => 'SKU销售信息', '$ref' => '#/components/schemas/SkuSaleInfoListResult'], 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"divisionCode\\": \\"110000\\",\\n \\"quantity\\": 10,\\n \\"skus\\": [\\n {\\n \\"divisionCode\\": \\"110000\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ],\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"productStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"发财树\\",\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"\\",\\n \\"limitNum\\": 0,\\n \\"beginTime\\": 0,\\n \\"endTime\\": 0,\\n \\"condcase\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询选品池商品销售信息', - 'description' => '查询选品池商品销售信息:分销商可调用此接口查询商品销售信息,如商品状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参查询商品在该区域是否可售。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"skuSaleInfos\\": [\\n {\\n \\"divisionCode\\": \\"330106109\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '批量查询选品池SKU销售信息', + 'description' => '批量查询选品池SKU销售信息:分销商可调用此接口批量查询SKU销售信息,如SKU状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参批量查询SKU在该区域是否可售', 'requestParamsDescription' => '```'."\n" .'{'."\n" - .' "productId": "660460842235822080",'."\n" - .' "purchaserId": "PID22000009",'."\n" - .' "divisionCode": "330106109"'."\n" + .' "divisionCode": "330106109",'."\n" + .' "purchaserId": "PID22000009",'."\n" + .' "skuQueryParams": ['."\n" + .' {'."\n" + .' "productId": "660460842235822080",'."\n" + .' "skuId": "660460842235822082"'."\n" + .' }'."\n" + .' ]'."\n" .'}', 'responseParamsDescription' => '```'."\n" .'{'."\n" - .' "requestId": "33D4B4FC-E37F-1CB1-A4DD-F953B7F296DB",'."\n" - .' "shopId": "21000019",'."\n" - .' "divisionCode": "330106109",'."\n" - .' "productId": "660460842235822080",'."\n" - .' "title": "发财树5--我用下小蚁这个商品-qhh 不用你其他商品",'."\n" - .' "skus": ['."\n" - .' {'."\n" - .' "shopId": "21000019",'."\n" - .' "divisionCode": "330106109",'."\n" - .' "productId": "660460842235822080",'."\n" - .' "skuId": "660460842235822081",'."\n" - .' "title": "天蓝色",'."\n" - .' "skuStatus": "Online",'."\n" - .' "canSell": false,'."\n" - .' "quantity": -1,'."\n" - .' "fuzzyQuantity": "无货",'."\n" - .' "price": 1,'."\n" - .' "markPrice": 999900'."\n" - .' },'."\n" + .' "requestId": "6F3A5B0A-AC2B-1083-A2ED-ACE62BF1C100",'."\n" + .' "skuSaleInfos": ['."\n" .' {'."\n" .' "shopId": "21000019",'."\n" .' "divisionCode": "330106109",'."\n" @@ -4532,337 +2972,647 @@ .' "fuzzyQuantity": "有货",'."\n" .' "price": 2,'."\n" .' "markPrice": 999900'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListSelectionSkuSaleInfos', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'QueryChildDivisionCode' => [ + 'summary' => '查询子区域编码。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/division/commands/queryChildDivisionCode', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'tags' => [], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'allowEmptyValue' => true, + 'schema' => ['title' => '查询地址divisionCode', 'description' => '查询子区域编码', 'required' => true, '$ref' => '#/components/schemas/DivisionQuery'], + 'examples' => [], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => ['description' => '子区域编码', 'required' => false, '$ref' => '#/components/schemas/DivisionPageResult'], + 'examples' => [], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"divisionList\\": [\\n {\\n \\"divisionName\\": \\"上海\\",\\n \\"divisionCode\\": 310000,\\n \\"divisionLevel\\": 2,\\n \\"pinyin\\": \\"shang hai\\",\\n \\"parentId\\": 1\\n }\\n ],\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]', + 'title' => '查询子区域编码', + 'description' => '查询子区域编码', + 'requestParamsDescription' => '```'."\n" + .'{'."\n" + .' "divisionCode": "1"'."\n" + .'}', + 'responseParamsDescription' => '```'."\n" + .'{'."\n" + .' "requestId": "85144A43-F418-1094-9A40-B8CE****8F30",'."\n" + .' "divisionList": ['."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 310000,'."\n" + .' "divisionName": "上海",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "shang hai"'."\n" .' },'."\n" .' {'."\n" - .' "shopId": "21000019",'."\n" - .' "divisionCode": "330106109",'."\n" - .' "productId": "660460842235822080",'."\n" - .' "skuId": "660460842235822083",'."\n" - .' "title": "黑色",'."\n" - .' "skuStatus": "Online",'."\n" - .' "canSell": false,'."\n" - .' "quantity": -1,'."\n" - .' "fuzzyQuantity": "无货",'."\n" - .' "price": 1,'."\n" - .' "markPrice": 999900'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 530000,'."\n" + .' "divisionName": "云南省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "yun nan sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 150000,'."\n" + .' "divisionName": "内蒙古自治区",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "nei meng gu zi zhi qu"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 110000,'."\n" + .' "divisionName": "北京",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "bei jing"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 220000,'."\n" + .' "divisionName": "吉林省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "ji lin sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 510000,'."\n" + .' "divisionName": "四川省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "si chuan sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 120000,'."\n" + .' "divisionName": "天津",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "tian jin"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 640000,'."\n" + .' "divisionName": "宁夏回族自治区",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "ning xia hui zu zi zhi qu"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 340000,'."\n" + .' "divisionName": "安徽省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "an hui sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 370000,'."\n" + .' "divisionName": "山东省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "shan dong sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 140000,'."\n" + .' "divisionName": "山西省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "shan xi sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 440000,'."\n" + .' "divisionName": "广东省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "guang dong sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 450000,'."\n" + .' "divisionName": "广西壮族自治区",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "guang xi zhuang zu zi zhi qu"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 650000,'."\n" + .' "divisionName": "新疆维吾尔自治区",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "xin jiang wei wu er zi zhi qu"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 320000,'."\n" + .' "divisionName": "江苏省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "jiang su sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 360000,'."\n" + .' "divisionName": "江西省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "jiang xi sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 130000,'."\n" + .' "divisionName": "河北省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "he bei sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 410000,'."\n" + .' "divisionName": "河南省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "he nan sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 330000,'."\n" + .' "divisionName": "浙江省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "zhe jiang sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 460000,'."\n" + .' "divisionName": "海南省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "hai nan sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 420000,'."\n" + .' "divisionName": "湖北省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "hu bei sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 430000,'."\n" + .' "divisionName": "湖南省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "hu nan sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 620000,'."\n" + .' "divisionName": "甘肃省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "gan su sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 350000,'."\n" + .' "divisionName": "福建省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "fu jian sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 540000,'."\n" + .' "divisionName": "西藏自治区",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "xi zang zi zhi qu"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 520000,'."\n" + .' "divisionName": "贵州省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "gui zhou sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 210000,'."\n" + .' "divisionName": "辽宁省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "liao ning sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 500000,'."\n" + .' "divisionName": "重庆",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "chong qing"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 610000,'."\n" + .' "divisionName": "陕西省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "shan xi sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 630000,'."\n" + .' "divisionName": "青海省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "qing hai sheng"'."\n" + .' },'."\n" + .' {'."\n" + .' "parentId": 1,'."\n" + .' "divisionCode": 230000,'."\n" + .' "divisionName": "黑龙江省",'."\n" + .' "divisionLevel": 2,'."\n" + .' "pinyin": "hei long jiang sheng"'."\n" .' }'."\n" - .' ],'."\n" - .' "canSell": true,'."\n" - .' "productStatus": "Online",'."\n" - .' "quantity": -1,'."\n" - .' "fuzzyQuantity": "有货"'."\n" + .' ]'."\n" .'}', - ], - 'ListSelectionProductSaleInfos' => [ - 'summary' => '批量查询选品池商品销售信息。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products/saleInfo/commands/list', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'QueryChildDivisionCode'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:QueryChildDivisionCode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'QueryOrders' => [ + 'summary' => '查询订单列表', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/commands/query', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'tags' => [], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '批量查询商品库存参数', - 'description' => '批量查询商品销售信息参数', - 'required' => true, - '$ref' => '#/components/schemas/ProductSaleInfoListQuery', - ], + 'schema' => ['title' => '查询主单列表', 'description' => '查询主单列表', 'required' => true, '$ref' => '#/components/schemas/OrderPageQuery'], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功', - 'schema' => [ - 'description' => '商品销售信息', - '$ref' => '#/components/schemas/ProductSaleInfoListResult', - ], + 'schema' => ['description' => '订单列表', 'required' => false, '$ref' => '#/components/schemas/OrderListResult'], 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"productSaleInfos\\": [\\n {\\n \\"divisionCode\\": \\"110000\\",\\n \\"quantity\\": 10,\\n \\"skus\\": [\\n {\\n \\"divisionCode\\": \\"110000\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ],\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"productStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"发财树\\",\\n \\"lmItemId\\": \\"21000017-4580902812\\",\\n \\"limitRules\\": [\\n {\\n \\"ruleType\\": \\"\\",\\n \\"limitNum\\": 0,\\n \\"beginTime\\": 0,\\n \\"endTime\\": 0,\\n \\"condcase\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '批量查询选品池商品销售信息', - 'description' => '批量查询选品池商品销售信息:分销商可调用此接口批量查询商品销售信息,如商品状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参批量查询商品在该区域是否可售。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderList\\": [\\n {\\n \\"orderAmount\\": 100,\\n \\"orderLineList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"number\\": \\"1\\",\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"productPic\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"payFee\\": 100,\\n \\"skuId\\": \\"6600****6737\\",\\n \\"orderLineStatus\\": \\"1\\",\\n \\"eticketInfos\\": [\\n {\\n \\"code\\": \\"taobao******tpg\\",\\n \\"qrcodeUrl\\": \\"http://qrcode.alicdn.com/img.jpg\\",\\n \\"codeStatus\\": -1,\\n \\"startTime\\": \\"\\\\n2026-02-04T00:00:00.000+08:00\\",\\n \\"endTime\\": \\"2026-08-02T23:59:59.000+08:00\\",\\n \\"usedNum\\": 1,\\n \\"useTime\\": \\"\\\\n2026-02-04T15:07:59.000+08:00\\",\\n \\"lockNum\\": 0,\\n \\"availableNum\\": 0\\n }\\n ]\\n }\\n ],\\n \\"orderId\\": \\"6692****5457\\",\\n \\"distributorId\\": \\"12****01\\",\\n \\"orderStatus\\": \\"1\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"createDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderClosedReason\\": \\"系统关单\\"\\n }\\n ],\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"total\\": 24\\n}","type":"json"}]', + 'title' => '查询订单列表', + 'description' => '查询订单列表', 'requestParamsDescription' => '```'."\n" .'{'."\n" - .' "purchaserId":"PID22000009", '."\n" - .' "divisionCode":"330106109", '."\n" - .' "productIds":['."\n" - .' "660460842235822080"'."\n" - .' ]'."\n" + .' "pageNumber": 1,'."\n" + .' "pageSize": 10,'."\n" + .' "orderIdList": ['."\n" + .' "6696070566****8593"'."\n" + .' ],'."\n" + .' "purchaseOrderId": "6696070566****8593",'."\n" + .' "outPurchaseOrderId": "6696070566****8512"'."\n" .'}', 'responseParamsDescription' => '```'."\n" .'{'."\n" - .' "requestId": "1556385F-6098-114E-84F8-14B383EF5AA8",'."\n" - .' "productSaleInfos": ['."\n" + .' "requestId": "15BC537F-26F7-1AD0-AC3C-B79****D540",'."\n" + .' "total": 10,'."\n" + .' "orderList": ['."\n" .' {'."\n" .' "requestId": null,'."\n" - .' "shopId": "21000019",'."\n" - .' "divisionCode": "330106109",'."\n" - .' "productId": "660460842235822080",'."\n" - .' "title": "发财树5--我用下小蚁这个商品-qhh 不用你其他商品",'."\n" - .' "skus": ['."\n" - .' {'."\n" - .' "shopId": "21000019",'."\n" - .' "divisionCode": "330106109",'."\n" - .' "productId": "660460842235822080",'."\n" - .' "skuId": "660460842235822081",'."\n" - .' "title": "天蓝色",'."\n" - .' "skuStatus": "Online",'."\n" - .' "canSell": false,'."\n" - .' "quantity": -1,'."\n" - .' "fuzzyQuantity": "无货",'."\n" - .' "price": 1,'."\n" - .' "markPrice": 999900'."\n" - .' },'."\n" - .' {'."\n" - .' "shopId": "21000019",'."\n" - .' "divisionCode": "330106109",'."\n" - .' "productId": "660460842235822080",'."\n" - .' "skuId": "660460842235822082",'."\n" - .' "title": "红色",'."\n" - .' "skuStatus": "Online",'."\n" - .' "canSell": true,'."\n" - .' "quantity": -1,'."\n" - .' "fuzzyQuantity": "有货",'."\n" - .' "price": 2,'."\n" - .' "markPrice": 999900'."\n" - .' },'."\n" + .' "createDate": "2023-09-09 10:57:23",'."\n" + .' "distributorId": "12****01",'."\n" + .' "logisticsStatus": "2",'."\n" + .' "orderId": "6696070566****8593",'."\n" + .' "orderAmount": "1",'."\n" + .' "orderStatus": "2",'."\n" + .' "orderLineList": ['."\n" .' {'."\n" - .' "shopId": "21000019",'."\n" - .' "divisionCode": "330106109",'."\n" - .' "productId": "660460842235822080",'."\n" - .' "skuId": "660460842235822083",'."\n" - .' "title": "黑色",'."\n" - .' "skuStatus": "Online",'."\n" - .' "canSell": false,'."\n" - .' "quantity": -1,'."\n" - .' "fuzzyQuantity": "无货",'."\n" - .' "price": 1,'."\n" - .' "markPrice": 999900'."\n" + .' "productPic": "//img.alicdn.com/imgextra/i4/2216****05543/O1CN01bip3Un1qo****YLWA_!!2216003****43.jpg",'."\n" + .' "productPrice": ['."\n" + .' {'."\n" + .' "fundAmountMoney": "1"'."\n" + .' }'."\n" + .' ],'."\n" + .' "productTitle": "儿童学习桌",'."\n" + .' "productId": "6600622091****6736",'."\n" + .' "number": "1",'."\n" + .' "orderLineStatus": "2",'."\n" + .' "logisticsStatus": "2",'."\n" + .' "skuId": "6600622091****6737",'."\n" + .' "skuTitle": "浅灰色",'."\n" + .' "orderLineId": "6696070566****8594",'."\n" + .' "orderId": "6696070566****8593"'."\n" .' }'."\n" - .' ],'."\n" - .' "canSell": true,'."\n" - .' "productStatus": "Online",'."\n" - .' "quantity": -1,'."\n" - .' "fuzzyQuantity": "有货"'."\n" + .' ]'."\n" .' }'."\n" .' ]'."\n" .'}', - ], - 'ListSelectionSkuSaleInfos' => [ - 'summary' => '批量查询选品池SKU销售信息。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/skus/saleInfo/commands/list', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 10, 'regionId' => '*', 'api' => 'QueryOrders'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'linkedmall:QueryOrders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'RenderPurchaseOrder' => [ + 'summary' => '采购单渲染,会返回可售商品和不可售商品,客户可以选择可售商品进行采购单下单。', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders/commands/render', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'tags' => [], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '批量查询SKU库存参数', - 'description' => '批量查询SKU销售信息参数', - 'required' => true, - '$ref' => '#/components/schemas/SkuSaleInfoListQuery', - ], + 'schema' => ['title' => '渲染采购单', 'description' => '渲染采购单', 'required' => true, '$ref' => '#/components/schemas/PurchaseOrderRenderQuery'], 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功', - 'schema' => [ - 'description' => 'SKU销售信息', - '$ref' => '#/components/schemas/SkuSaleInfoListResult', - ], + 'schema' => ['description' => '采购单渲染结果', 'required' => false, '$ref' => '#/components/schemas/PurchaseOrderRenderResult'], 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"skuSaleInfos\\": [\\n {\\n \\"divisionCode\\": \\"110000\\",\\n \\"markPrice\\": 999900,\\n \\"quantity\\": -1,\\n \\"productId\\": \\"660460842235822080\\",\\n \\"canSell\\": true,\\n \\"price\\": 19800,\\n \\"fuzzyQuantity\\": \\"有货\\",\\n \\"skuStatus\\": \\"Online\\",\\n \\"shopId\\": \\"21000017\\",\\n \\"title\\": \\"天蓝色\\",\\n \\"skuId\\": \\"660460842235822081\\",\\n \\"canNotSellReason\\": \\"不可售\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '批量查询选品池SKU销售信息', - 'description' => '批量查询选品池SKU销售信息:分销商可调用此接口批量查询SKU销售信息,如SKU状态等;通过divisionCode(建议传入五级地址(乡镇/街道) Code) 入参批量查询SKU在该区域是否可售', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"addressList\\": [\\n {\\n \\"divisionCode\\": \\"330106\\",\\n \\"addressDetail\\": \\"陕西省西安市新城区xx街道xxx大厦xx室\\",\\n \\"receiverPhone\\": \\"182***5674\\",\\n \\"townDivisionCode\\": \\"330106109\\",\\n \\"receiver\\": \\"任先生\\",\\n \\"addressId\\": 0\\n }\\n ],\\n \\"canSell\\": true,\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"PID56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"unsellableOrderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"PID56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"message\\": \\"库存为0\\",\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]', + 'title' => '采购单渲染', + 'description' => '><warning>本接口即将下线,采购单渲染请使用SplitPurchaseOrder - 采购单渲染并拆单接口></warning>', 'requestParamsDescription' => '```'."\n" .'{'."\n" - .' "divisionCode": "330106109",'."\n" - .' "purchaserId": "PID22000009",'."\n" - .' "skuQueryParams": ['."\n" - .' {'."\n" - .' "productId": "660460842235822080",'."\n" - .' "skuId": "660460842235822082"'."\n" - .' }'."\n" - .' ]'."\n" + .' "deliveryAddress": {'."\n" + .' "divisionCode": "610102",'."\n" + .' "addressDetail": "陕西省西安市***大厦",'."\n" + .' "receiverPhone": "187****1553",'."\n" + .' "receiver": "闫先生",'."\n" + .' "townDivisionCode": "61010212"'."\n" + .' },'."\n" + .' "buyerId": "test1234****679",'."\n" + .' "productList": ['."\n" + .' {'."\n" + .' "quantity": 1,'."\n" + .' "productId": "6600622091****6736",'."\n" + .' "purchaserId": "22000009",'."\n" + .' "skuId": "6600622091****6737"'."\n" + .' }'."\n" + .' ]'."\n" .'}', 'responseParamsDescription' => '```'."\n" .'{'."\n" - .' "requestId": "6F3A5B0A-AC2B-1083-A2ED-ACE62BF1C100",'."\n" - .' "skuSaleInfos": ['."\n" + .' "requestId": "0928251D-713B-17A1-A2B0-1A57****90B4",'."\n" + .' "orderList": ['."\n" .' {'."\n" - .' "shopId": "21000019",'."\n" - .' "divisionCode": "330106109",'."\n" - .' "productId": "660460842235822080",'."\n" - .' "skuId": "660460842235822082",'."\n" - .' "title": "红色",'."\n" - .' "skuStatus": "Online",'."\n" + .' "productList": ['."\n" + .' {'."\n" + .' "productId": "6600622091****6736",'."\n" + .' "productTitle": "儿童学习桌",'."\n" + .' "skuTitle": "浅灰色",'."\n" + .' "skuId": "6600622091****6737",'."\n" + .' "purchaserId": "22***09",'."\n" + .' "promotionFee": null,'."\n" + .' "quantity": 1,'."\n" + .' "productUrl": null,'."\n" + .' "productPicUrl": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0DYLWA_!!2216003305543.jpg",'."\n" + .' "price": 1,'."\n" + .' "canSell": true,'."\n" + .' "message": null,'."\n" + .' "features": null'."\n" + .' }'."\n" + .' ],'."\n" + .' "deliveryInfoList": ['."\n" + .' {'."\n" + .' "id": "20",'."\n" + .' "displayName": "快递 免邮",'."\n" + .' "postFee": 0,'."\n" + .' "serviceType": -4'."\n" + .' }'."\n" + .' ],'."\n" + .' "invoiceInfo": null,'."\n" + .' "extInfo": null,'."\n" .' "canSell": true,'."\n" - .' "quantity": -1,'."\n" - .' "fuzzyQuantity": "有货",'."\n" - .' "price": 2,'."\n" - .' "markPrice": 999900'."\n" + .' "message": null'."\n" .' }'."\n" - .' ]'."\n" + .' ],'."\n" + .' "unsellableOrderList": ['."\n" + .' {'."\n" + .' "productList": [],'."\n" + .' "deliveryInfoList": null,'."\n" + .' "invoiceInfo": null,'."\n" + .' "extInfo": null,'."\n" + .' "canSell": false,'."\n" + .' "message": null'."\n" + .' }'."\n" + .' ],'."\n" + .' "addressList": ['."\n" + .' {'."\n" + .' "addressId": 0,'."\n" + .' "receiver": "闫先生",'."\n" + .' "receiverPhone": "187****1553",'."\n" + .' "addressDetail": "陕西省西安市***大厦",'."\n" + .' "divisionCode": "610102",'."\n" + .' "townDivisionCode": "610102002"'."\n" + .' }'."\n" + .' ],'."\n" + .' "extInfo": null,'."\n" + .' "canSell": true,'."\n" + .' "message": null'."\n" .'}', - ], - 'ListCategories' => [ - 'summary' => '查询类目列表。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/categories/commands/list', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'linkedmall:RenderPurchaseOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'RenderRefundOrder' => [ + 'summary' => '逆向单渲染', + 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/commands/render', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'tags' => [], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'list', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '类目查询参数', - 'required' => false, - '$ref' => '#/components/schemas/CategoryListQuery', - ], + 'allowEmptyValue' => true, + 'schema' => ['title' => '逆向单渲染', 'description' => '逆向单渲染', 'required' => true, '$ref' => '#/components/schemas/RefundRenderCmd'], + 'examples' => [], ], ], 'responses' => [ 200 => [ 'description' => '成功', - 'schema' => [ - 'description' => '类目', - '$ref' => '#/components/schemas/CategoryListResult', - ], + 'schema' => ['description' => '售后单渲染结果', 'required' => false, '$ref' => '#/components/schemas/RefundRenderResult'], 'examples' => [], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"categories\\": [\\n {\\n \\"name\\": \\"方便面/拉面/挂面/轻食面速食\\",\\n \\"isLeaf\\": false,\\n \\"level\\": 2,\\n \\"categoryId\\": 201792301,\\n \\"parentId\\": 50016422\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询类目列表', - 'description' => '根据父类目id查询所有子类目信息,或者根据类目id查询类目信息。'."\n" - ."\n" - .'当父类目id(parentCategoryId)为0时,则返回根类目下的一级类目。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxRefundFeeData\\": {\\n \\"minRefundFee\\": 1,\\n \\"maxRefundFee\\": 100\\n },\\n \\"refundReasonList\\": [\\n {\\n \\"reasonTextId\\": \\"47683\\",\\n \\"proofRequired\\": true,\\n \\"reasonTips\\": \\"不想要了\\",\\n \\"refundDescRequired\\": true\\n }\\n ],\\n \\"bizClaimType\\": 1,\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]', + 'title' => '售后单渲染', + 'description' => '售后单渲染', 'requestParamsDescription' => '```'."\n" - .'// 查询类目(parentCategoryId)下的所有子类目'."\n" - .'{'."\n" - .' "body": {'."\n" - .' "parentCategoryId": "50016422"'."\n" - .' }'."\n" - .'}'."\n" - ."\n" - .'// 根据入参类目id(categoryIds)批量查询类目'."\n" .'{'."\n" - .' "body": {'."\n" - .' "categoryIds": ['."\n" - .' "202007601",'."\n" - .' "201792301"'."\n" - .' ]'."\n" - .' }', - 'responseParamsDescription' => '```'."\n" + .' "bizClaimType": 3,'."\n" + .' "goodsStatus": 2,'."\n" + .' "orderLineId": "6696070566****8594"'."\n" + .'}', + 'responseParamsDescription' => '````'."\n" .'{'."\n" - .' "requestId": "4D1FC14F-CE54-1A1F-A322-D6DC87D49AFE",'."\n" - .' "categories": ['."\n" + .' "requestId": "6D7C43A1-2EFC-185E-816E-A8CB****36EB",'."\n" + .' "orderLineId": "6696070566****8594",'."\n" + .' "bizClaimType": 3,'."\n" + .' "maxRefundFeeData": {'."\n" + .' "maxRefundFee": 1,'."\n" + .' "minRefundFee": 0'."\n" + .' },'."\n" + .' "refundReasonList": ['."\n" .' {'."\n" - .' "categoryId": 201792301,'."\n" - .' "name": "方便面/拉面/挂面/轻食面速食",'."\n" - .' "parentId": 50016422,'."\n" - .' "level": 2,'."\n" - .' "isLeaf": false'."\n" + .' "reasonTextId": "402652",'."\n" + .' "proofRequired": false,'."\n" + .' "reasonTips": "拍错/多拍/不喜欢",'."\n" + .' "refundDescRequired": false'."\n" .' },'."\n" .' {'."\n" - .' "categoryId": 202007601,'."\n" - .' "name": "方便速食/速冻食品类卡券",'."\n" - .' "parentId": 50016422,'."\n" - .' "level": 2,'."\n" - .' "isLeaf": false'."\n" + .' "reasonTextId": "403883",'."\n" + .' "proofRequired": false,'."\n" + .' "reasonTips": "商品成分描述不符",'."\n" + .' "refundDescRequired": false'."\n" + .' },'."\n" + .' {'."\n" + .' "reasonTextId": "402641",'."\n" + .' "proofRequired": false,'."\n" + .' "reasonTips": "尺寸/规格不符",'."\n" + .' "refundDescRequired": false'."\n" + .' },'."\n" + .' {'."\n" + .' "reasonTextId": "402649",'."\n" + .' "proofRequired": false,'."\n" + .' "reasonTips": "颜色/款式/包装与商品描述不符",'."\n" + .' "refundDescRequired": false'."\n" + .' },'."\n" + .' {'."\n" + .' "reasonTextId": "402645",'."\n" + .' "proofRequired": false,'."\n" + .' "reasonTips": "收到商品少件/破损/变形等",'."\n" + .' "refundDescRequired": false'."\n" + .' },'."\n" + .' {'."\n" + .' "reasonTextId": "402638",'."\n" + .' "proofRequired": false,'."\n" + .' "reasonTips": "枯萎/死亡",'."\n" + .' "refundDescRequired": false'."\n" .' }'."\n" .' ]'."\n" .'}', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'linkedmall:RenderRefundOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'SearchProducts' => [ 'summary' => '商品搜索接口,提供按不同条件搜索合适商品的分页接口。', 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/selection-group/product/command/searchProduct', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ @@ -4870,9 +3620,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '263793', - 'abilityTreeNodes' => [ - 'FEATURElinkedmallMY1IED', - ], + 'abilityTreeNodes' => ['FEATURElinkedmallMY1IED'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ @@ -4884,199 +3632,72 @@ 'description' => '请求Body', 'type' => 'object', 'properties' => [ - 'purchaserId' => [ - 'description' => '采购方id', - 'type' => 'string', - 'required' => true, - 'example' => 'PIDxxxx', - ], + 'purchaserId' => ['description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PIDxxxx'], 'categoryIds' => [ 'description' => '类目id集合', 'type' => 'array', - 'items' => [ - 'description' => '类目id', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx', - ], + 'items' => ['description' => '类目id', 'type' => 'string', 'required' => false, 'example' => 'xxx'], 'required' => false, ], 'productStatus' => [ 'description' => '商品状态', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Unsellable' => '不可售卖', - 'Sellable' => '可售卖', - ], + 'enumValueTitles' => ['Unsellable' => '不可售卖', 'Sellable' => '可售卖'], 'example' => 'Sellable', ], - 'productName' => [ - 'description' => '商品名称', - 'type' => 'string', - 'required' => false, - 'example' => '绿植', - ], - 'productId' => [ - 'description' => '商品Id', - 'type' => 'string', - 'required' => false, - 'example' => 'xxxxxxx', - ], - 'lmItemId' => [ - 'description' => 'LM商品id', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx-xxxxx', - ], + 'productName' => ['description' => '商品名称', 'type' => 'string', 'required' => false, 'example' => '绿植'], + 'productId' => ['description' => '商品Id', 'type' => 'string', 'required' => false, 'example' => 'xxxxxxx'], + 'lmItemId' => ['description' => 'LM商品id', 'type' => 'string', 'required' => false, 'example' => 'xxx-xxxxx'], 'inGroup' => [ 'description' => '是否入库', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'true' => '已入库', - 'false' => '未入库', - ], + 'enumValueTitles' => ['true' => '已入库', 'false' => '未入库'], 'example' => 'true', ], 'inventoryRiskLevel' => [ 'description' => '库存风险等级', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'High' => '高', - 'Low' => '低', - ], + 'enumValueTitles' => ['High' => '高', 'Low' => '低'], 'example' => 'Low', ], - 'distributionLowPrice' => [ - 'description' => '经销采购价下限', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100(单位:分)', - ], - 'distributionHighPrice' => [ - 'description' => '经销采购价上限', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100(单位:分)', - ], - 'distributionLowPriceRatio' => [ - 'description' => '经销溢价率下限', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '133(1.33%)', - ], - 'distributionHighPriceRatio' => [ - 'description' => '经销溢价率上限', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '244(2.44%)', - ], - 'lowMarkPrice' => [ - 'description' => '划线价下限', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100(单位:分)', - ], - 'highMarkPrice' => [ - 'description' => '划线价上限', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100(单位:分)', - ], - 'lowPrice' => [ - 'description' => '建议零售价下限', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100(单位:分)', - ], - 'highPrice' => [ - 'description' => '建议零售价上限', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100(单位:分)', - ], + 'distributionLowPrice' => ['description' => '经销采购价下限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'], + 'distributionHighPrice' => ['description' => '经销采购价上限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'], + 'distributionLowPriceRatio' => ['description' => '经销溢价率下限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '133(1.33%)'], + 'distributionHighPriceRatio' => ['description' => '经销溢价率上限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '244(2.44%)'], + 'lowMarkPrice' => ['description' => '划线价下限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'], + 'highMarkPrice' => ['description' => '划线价上限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'], + 'lowPrice' => ['description' => '建议零售价下限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'], + 'highPrice' => ['description' => '建议零售价上限', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100(单位:分)'], 'platform' => [ 'description' => '来源平台', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Cbu' => '1688分销货盘', - 'Tmall' => '天猫', - 'Taobao' => '淘宝', - ], + 'enumValueTitles' => ['Cbu' => '1688分销货盘', 'Tmall' => '天猫', 'Taobao' => '淘宝'], 'example' => 'Taobao(来源淘宝)'."\n" .'Tmall(来源天猫)'."\n" .'Cbu(来源1688分销货盘)', ], - 'brandName' => [ - 'description' => '品牌名称', - 'type' => 'string', - 'required' => false, - 'example' => '绿植', - ], - 'inGroupStartTime' => [ - 'description' => '入库起始时间', - 'type' => 'string', - 'required' => false, - 'example' => '2025-01-02 12:23:34'."\n" - .'(yyyy-MM-dd HH:mm:ss)', - ], - 'inGroupEndTime' => [ - 'description' => '入库结束时间', - 'type' => 'string', - 'required' => false, - 'example' => '2025-01-02 12:23:34'."\n" - .'(yyyy-MM-dd HH:mm:ss)', - ], - 'modifyStartTime' => [ - 'description' => '修改起始时间', - 'type' => 'string', - 'required' => false, - 'example' => '2025-01-02 12:23:34'."\n" - .'(yyyy-MM-dd HH:mm:ss)', - ], - 'modifyEndTime' => [ - 'description' => '修改结束时间', - 'type' => 'string', - 'required' => false, - 'example' => '2025-01-02 12:23:34'."\n" - .'(yyyy-MM-dd HH:mm:ss)', - ], - 'createStartTime' => [ - 'description' => '创建起始时间', - 'type' => 'string', - 'required' => false, - 'example' => '2025-01-02 12:23:34'."\n" - .'(yyyy-MM-dd HH:mm:ss)', - ], - 'createEndTime' => [ - 'description' => '创建结束时间', - 'type' => 'string', - 'required' => false, - 'example' => '2025-01-02 12:23:34'."\n" - .'(yyyy-MM-dd HH:mm:ss)', - ], + 'brandName' => ['description' => '品牌名称', 'type' => 'string', 'required' => false, 'example' => '绿植'], + 'inGroupStartTime' => ['description' => '入库起始时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n" + .'(yyyy-MM-dd HH:mm:ss)'], + 'inGroupEndTime' => ['description' => '入库结束时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n" + .'(yyyy-MM-dd HH:mm:ss)'], + 'modifyStartTime' => ['description' => '修改起始时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n" + .'(yyyy-MM-dd HH:mm:ss)'], + 'modifyEndTime' => ['description' => '修改结束时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n" + .'(yyyy-MM-dd HH:mm:ss)'], + 'createStartTime' => ['description' => '创建起始时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n" + .'(yyyy-MM-dd HH:mm:ss)'], + 'createEndTime' => ['description' => '创建结束时间', 'type' => 'string', 'required' => false, 'example' => '2025-01-02 12:23:34'."\n" + .'(yyyy-MM-dd HH:mm:ss)'], 'tradeModeAndCredit' => [ 'description' => '销售模式', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Credit90' => '支持账期90天', - 'NonCredit' => '不支持账期', - 'ConsignmentJingXiao' => '经销和代销', - 'JingXiao' => '经销', - 'None' => '无配置', - ], + 'enumValueTitles' => ['Credit90' => '支持账期90天', 'NonCredit' => '不支持账期', 'ConsignmentJingXiao' => '经销和代销', 'JingXiao' => '经销', 'None' => '无配置'], 'example' => 'JingXiao', ], 'taxRate' => [ @@ -5086,44 +3707,20 @@ .'> - HasRate不能和其他枚举值组合入参', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Rate1' => '1%', - 'Rate0' => '0税率', - 'Rate5' => '5%', - 'Rate6' => '6%', - 'HasRate' => '有税率', - 'Rate9' => '9%', - 'Rate13' => '13%', - 'NonRate' => '无税率', - 'TaxExemption' => '免税', - ], + 'enumValueTitles' => ['Rate1' => '1%', 'Rate0' => '0税率', 'Rate5' => '5%', 'Rate6' => '6%', 'HasRate' => '有税率', 'Rate9' => '9%', 'Rate13' => '13%', 'NonRate' => '无税率', 'TaxExemption' => '免税'], 'example' => 'Rate0', ], - 'pageSize' => [ - 'description' => '分页大小'."\n" - .'> '."\n" - .'> - 最大支持20个/页', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], - 'pageNumber' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'pageSize' => ['description' => '分页大小'."\n" + .'> '."\n" + .'> - 最大支持20个/页', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], + 'pageNumber' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], 'orderBy' => [ 'description' => '排序字段'."\n" .'> '."\n" .'> - 与排序方向字段组合使用', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'soldQuantity' => '按销量排序', - ], + 'enumValueTitles' => ['soldQuantity' => '按销量排序'], 'example' => 'soldQuantity(按销量排序,不填默认创建时间倒序)', ], 'orderDirection' => [ @@ -5132,10 +3729,7 @@ .'> - 与排序字段组合使用', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - ' ASC' => '顺序排序', - 'DESC' => '倒序排序', - ], + 'enumValueTitles' => [' ASC' => '顺序排序', 'DESC' => '倒序排序'], 'example' => 'ASC', ], ], @@ -5150,12 +3744,7 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'total' => [ - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], + 'total' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], 'products' => [ 'description' => '商品集合', 'type' => 'array', @@ -5163,77 +3752,26 @@ 'description' => '商品集合', 'type' => 'object', 'properties' => [ - 'picUrl' => [ - 'description' => '商品主图', - 'type' => 'string', - 'example' => 'https://img.alicdn.com/xxx.jpg', - ], - 'productName' => [ - 'description' => '商品名称', - 'type' => 'string', - 'example' => '绿植', - ], - 'productId' => [ - 'description' => '商品id', - 'type' => 'string', - 'example' => 'xxxxx', - ], - 'lmItemId' => [ - 'description' => 'LM商品id', - 'type' => 'string', - 'example' => 'xxx-xxxxx', - ], - 'distributionPrice' => [ - 'description' => '经销采购价范围', - 'type' => 'string', - 'example' => '¥0.05 ~ ¥21.10', - ], - 'diffPrice' => [ - 'description' => '价差范围', - 'type' => 'string', - 'example' => '¥-9998.95 ~ ¥-9977.90', - ], - 'distributionPriceRatio' => [ - 'description' => '经销溢价率范围', - 'type' => 'string', - 'example' => '-100.00% ~ -99.79%', - ], - 'platformPrice' => [ - 'description' => '建议零售价范围', - 'type' => 'string', - 'example' => '¥9999.00 ~ ¥9999.00', - ], - 'platformReservePrice' => [ - 'description' => '划线价范围', - 'type' => 'string', - 'example' => '¥9999.00 ~ ¥9999.00', - ], - 'soldQuantity' => [ - 'description' => '累计销量', - 'type' => 'string', - 'example' => '100', - ], + 'picUrl' => ['description' => '商品主图', 'type' => 'string', 'example' => 'https://img.alicdn.com/xxx.jpg'], + 'productName' => ['description' => '商品名称', 'type' => 'string', 'example' => '绿植'], + 'productId' => ['description' => '商品id', 'type' => 'string', 'example' => 'xxxxx'], + 'lmItemId' => ['description' => 'LM商品id', 'type' => 'string', 'example' => 'xxx-xxxxx'], + 'distributionPrice' => ['description' => '经销采购价范围', 'type' => 'string', 'example' => '¥0.05 ~ ¥21.10'], + 'diffPrice' => ['description' => '价差范围', 'type' => 'string', 'example' => '¥-9998.95 ~ ¥-9977.90'], + 'distributionPriceRatio' => ['description' => '经销溢价率范围', 'type' => 'string', 'example' => '-100.00% ~ -99.79%'], + 'platformPrice' => ['description' => '建议零售价范围', 'type' => 'string', 'example' => '¥9999.00 ~ ¥9999.00'], + 'platformReservePrice' => ['description' => '划线价范围', 'type' => 'string', 'example' => '¥9999.00 ~ ¥9999.00'], + 'soldQuantity' => ['description' => '累计销量', 'type' => 'string', 'example' => '100'], 'inventoryRiskLevel' => [ 'description' => '库存风险等级', 'type' => 'string', - 'enumValueTitles' => [ - 'High' => '高', - 'Low' => '低', - ], + 'enumValueTitles' => ['High' => '高', 'Low' => '低'], 'example' => 'Low', ], - 'externalPlatformType' => [ - 'description' => '来源平台', - 'type' => 'string', - 'example' => 'Taobao(来源淘宝)'."\n" - .'Tmall(来源天猫)'."\n" - .'Cbu(来源1688分销货盘)', - ], - 'shopName' => [ - 'description' => '渠道商店铺名称', - 'type' => 'string', - 'example' => 'xxx', - ], + 'externalPlatformType' => ['description' => '来源平台', 'type' => 'string', 'example' => 'Taobao(来源淘宝)'."\n" + .'Tmall(来源天猫)'."\n" + .'Cbu(来源1688分销货盘)'], + 'shopName' => ['description' => '渠道商店铺名称', 'type' => 'string', 'example' => 'xxx'], 'categoryChain' => [ 'description' => '类目', 'type' => 'array', @@ -5241,116 +3779,47 @@ 'description' => '类目', 'type' => 'object', 'properties' => [ - 'categoryId' => [ - 'description' => '类目id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '201792301', - ], - 'name' => [ - 'description' => '类目名称', - 'type' => 'string', - 'example' => '名称测试', - ], - 'parentId' => [ - 'description' => '父类id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'isLeaf' => [ - 'description' => '是否叶子节点', - 'type' => 'boolean', - 'example' => 'false', - ], - 'level' => [ - 'description' => '层级', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'categoryId' => ['description' => '类目id', 'type' => 'integer', 'format' => 'int64', 'example' => '201792301'], + 'name' => ['description' => '类目名称', 'type' => 'string', 'example' => '名称测试'], + 'parentId' => ['description' => '父类id', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'isLeaf' => ['description' => '是否叶子节点', 'type' => 'boolean', 'example' => 'false'], + 'level' => ['description' => '层级', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], - 'bandName' => [ - 'description' => '品牌名称', - 'type' => 'string', - 'example' => '绿植', - ], - 'canSell' => [ - 'description' => '商品是否可售,计算值', - 'type' => 'boolean', - 'example' => 'true', - ], - 'canNotSellReason' => [ - 'description' => '不可售原因', - 'type' => 'string', - 'example' => '库存不足', - ], - 'tradeMode' => [ - 'description' => '销售模式', - 'type' => 'string', - 'example' => 'JingXiao', - ], + 'bandName' => ['description' => '品牌名称', 'type' => 'string', 'example' => '绿植'], + 'canSell' => ['description' => '商品是否可售,计算值', 'type' => 'boolean', 'example' => 'true'], + 'canNotSellReason' => ['description' => '不可售原因', 'type' => 'string', 'example' => '库存不足'], + 'tradeMode' => ['description' => '销售模式', 'type' => 'string', 'example' => 'JingXiao'], 'credit' => [ 'description' => '账期', 'type' => 'array', 'items' => [ 'description' => '账期', 'type' => 'string', - 'enumValueTitles' => [ - 'Credit90' => '90天账期', - 'NonCredit' => '不支持账期', - ], + 'enumValueTitles' => ['Credit90' => '90天账期', 'NonCredit' => '不支持账期'], 'example' => 'Credit90', ], ], 'invoiceType' => [ 'description' => '发票类型', 'type' => 'string', - 'enumValueTitles' => [ - 'HasInvoice' => '可开发票', - 'NonInvoice' => '不可开发票', - ], + 'enumValueTitles' => ['HasInvoice' => '可开发票', 'NonInvoice' => '不可开发票'], 'example' => 'HasInvoice', ], - 'taxRate' => [ - 'description' => '税率', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '600(6%)'."\n" - .'-100(免税)', - ], - 'taxCode' => [ - 'description' => '税码', - 'type' => 'string', - 'example' => '3040203000000000000', - ], - 'gmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2025-01-02 12:23:34'."\n" - .'(yyyy-MM-dd HH:mm:ss)'."\n", - ], - 'inGroupTime' => [ - 'description' => '入库时间', - 'type' => 'string', - 'example' => '2025-01-02 12:23:34'."\n" - .'(yyyy-MM-dd HH:mm:ss)'."\n", - ], - 'gmtModified' => [ - 'description' => '最后修改时间。', - 'type' => 'string', - 'example' => '2025-01-02 12:23:34'."\n" - .'(yyyy-MM-dd HH:mm:ss)'."\n", - ], + 'taxRate' => ['description' => '税率', 'type' => 'integer', 'format' => 'int64', 'example' => '600(6%)'."\n" + .'-100(免税)'], + 'taxCode' => ['description' => '税码', 'type' => 'string', 'example' => '3040203000000000000'], + 'gmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2025-01-02 12:23:34'."\n" + .'(yyyy-MM-dd HH:mm:ss)'."\n"], + 'inGroupTime' => ['description' => '入库时间', 'type' => 'string', 'example' => '2025-01-02 12:23:34'."\n" + .'(yyyy-MM-dd HH:mm:ss)'."\n"], + 'gmtModified' => ['description' => '最后修改时间。', 'type' => 'string', 'example' => '2025-01-02 12:23:34'."\n" + .'(yyyy-MM-dd HH:mm:ss)'."\n"], 'inGroup' => [ 'description' => '是否入库', 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '已入库', - 'false' => '未入库', - ], + 'enumValueTitles' => ['true' => '已入库', 'false' => '未入库'], 'example' => 'true', ], ], @@ -5429,27 +3898,33 @@ .' ]'."\n" .'}'."\n" .'```', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:SearchProducts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'SelectionGroupAddProduct' => [ 'summary' => '分销商操作商品入库。', 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/selection-group/product/command/addProduct', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ @@ -5457,9 +3932,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '263790', - 'abilityTreeNodes' => [ - 'FEATURElinkedmallMY1IED', - ], + 'abilityTreeNodes' => ['FEATURElinkedmallMY1IED'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ @@ -5471,23 +3944,13 @@ 'description' => '请求体', 'type' => 'object', 'properties' => [ - 'purchaserId' => [ - 'description' => '采购方id', - 'type' => 'string', - 'required' => true, - 'example' => 'PIDxxxxx', - ], + 'purchaserId' => ['description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PIDxxxxx'], 'productIds' => [ 'description' => '入库商品id集合'."\n" .'> '."\n" .'> - 单次调用最大30个商品', 'type' => 'array', - 'items' => [ - 'description' => '商品id', - 'type' => 'string', - 'required' => true, - 'example' => 'xxxx', - ], + 'items' => ['description' => '商品id', 'type' => 'string', 'required' => true, 'example' => 'xxxx'], 'required' => true, ], ], @@ -5505,11 +3968,7 @@ 'productIds' => [ 'description' => '入库成功的商品id列表', 'type' => 'array', - 'items' => [ - 'description' => '入库成功的商品id', - 'type' => 'string', - 'example' => 'xxxx', - ], + 'items' => ['description' => '入库成功的商品id', 'type' => 'string', 'example' => 'xxxx'], ], ], ], @@ -5522,27 +3981,33 @@ .'> 2025年1月1日(含)后入驻的分销客户,建议对接此接口。关于入库操作和影响请参考中[商品最佳实践](https://help.aliyun.com/zh/linkedmall/user-guide/product-interface-best-practices?spm=a2c4g.11186623.help-menu-88587.d_2_2_0_8_0.58122056oN3crP&scm=20140722.H_2869668._.OR_help-T_cn~zh-V_1#lFENl)中相关说明。', 'requestParamsDescription' => '已入库的商品不会重复入库', 'responseParamsDescription' => '只有入库成功会返回对应的商品id', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkedmall:SelectionGroupAddProduct', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'SelectionGroupRemoveProduct' => [ 'summary' => '分销商操作商品出库。', 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/selection-group/product/command/removeProduct', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ @@ -5550,9 +4015,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '263792', - 'abilityTreeNodes' => [ - 'FEATURElinkedmallMY1IED', - ], + 'abilityTreeNodes' => ['FEATURElinkedmallMY1IED'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ @@ -5564,23 +4027,13 @@ 'description' => '请求体', 'type' => 'object', 'properties' => [ - 'purchaserId' => [ - 'description' => '采购方id', - 'type' => 'string', - 'required' => true, - 'example' => 'PIDxxxxx', - ], + 'purchaserId' => ['description' => '采购方id', 'type' => 'string', 'required' => true, 'example' => 'PIDxxxxx'], 'productIds' => [ 'description' => '需要出库的商品id列表'."\n" .'> '."\n" .'> - 单次调用最大支持30个商品', 'type' => 'array', - 'items' => [ - 'description' => '出库的商品id', - 'type' => 'string', - 'required' => true, - 'example' => 'xxxxxx', - ], + 'items' => ['description' => '出库的商品id', 'type' => 'string', 'required' => true, 'example' => 'xxxxxx'], 'required' => true, ], ], @@ -5598,11 +4051,7 @@ 'productIds' => [ 'description' => '出库成功的商品id集合', 'type' => 'array', - 'items' => [ - 'description' => '出库成功的商品id', - 'type' => 'string', - 'example' => 'xxxxx', - ], + 'items' => ['description' => '出库成功的商品id', 'type' => 'string', 'example' => 'xxxxx'], ], ], ], @@ -5613,1480 +4062,500 @@ 'description' => '分销商通过此接口操作商品出库', 'requestParamsDescription' => '已出库的商品不会重复出库', 'responseParamsDescription' => '这里仅返回出库成功的商品id列表', + 'changeSet' => [ + ['createdAt' => '2025-02-19T02:53:12.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'SelectionGroupRemoveProduct'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkedmall:SelectionGroupRemoveProduct', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], 'SplitPurchaseOrder' => [ 'summary' => '采购单渲染拆单接口,可以依照最终主子单结构方式返回商品列表,分销商接入方可以渲染得到最终的主子单结构,方便后续接收创建采购单成功消息并回填主子单信息。', 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders/commands/split', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '采购单拆单渲染入参信息', - 'required' => false, - '$ref' => '#/components/schemas/PurchaseOrderRenderQuery', - ], + 'schema' => ['description' => '采购单拆单渲染入参信息', 'required' => false, '$ref' => '#/components/schemas/PurchaseOrderRenderQuery'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '采购单拆单渲染结果返回', - '$ref' => '#/components/schemas/PurchaseOrderRenderResult', - ], + 'schema' => ['description' => '采购单拆单渲染结果返回', '$ref' => '#/components/schemas/PurchaseOrderRenderResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"addressList\\": [\\n {\\n \\"divisionCode\\": \\"610102\\",\\n \\"addressDetail\\": \\"陕西省西安市新城区xxx大厦xx室\\",\\n \\"receiverPhone\\": \\"182***5674\\",\\n \\"townDivisionCode\\": \\"61010212\\",\\n \\"receiver\\": \\"任先生\\",\\n \\"addressId\\": 0\\n }\\n ],\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"orderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"unsellableOrderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"message\\": \\"库存为0\\",\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"addressList\\": [\\n {\\n \\"divisionCode\\": \\"330106\\",\\n \\"addressDetail\\": \\"陕西省西安市新城区xx街道xxx大厦xx室\\",\\n \\"receiverPhone\\": \\"182***5674\\",\\n \\"townDivisionCode\\": \\"330106109\\",\\n \\"receiver\\": \\"任先生\\",\\n \\"addressId\\": 0\\n }\\n ],\\n \\"canSell\\": true,\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"PID56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"unsellableOrderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"PID56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"message\\": \\"库存为0\\",\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]', 'title' => '采购单渲染并拆单', 'description' => '建议在创建采购单之前调用本接口,本接口将返回可售商品信息列表和不可售商品信息列表,其中可售商品信息列表按照最终主子单拆单结构进行呈现。', - ], - 'RenderPurchaseOrder' => [ - 'summary' => '采购单渲染,会返回可售商品和不可售商品,客户可以选择可售商品进行采购单下单。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders/commands/render', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'none', - ], - 'parameters' => [ + 'changeSet' => [], + 'ramActions' => [ [ - 'name' => 'body', - 'in' => 'body', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '渲染采购单', - 'description' => '渲染采购单', - 'required' => true, - '$ref' => '#/components/schemas/PurchaseOrderRenderQuery', - ], - 'examples' => [], - ], - ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '采购单渲染结果', - 'required' => false, - '$ref' => '#/components/schemas/PurchaseOrderRenderResult', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'linkedmall:SplitPurchaseOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"addressList\\": [\\n {\\n \\"divisionCode\\": \\"610102\\",\\n \\"addressDetail\\": \\"陕西省西安市新城区xxx大厦xx室\\",\\n \\"receiverPhone\\": \\"182***5674\\",\\n \\"townDivisionCode\\": \\"61010212\\",\\n \\"receiver\\": \\"任先生\\",\\n \\"addressId\\": 0\\n }\\n ],\\n \\"canSell\\": true,\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"orderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"unsellableOrderList\\": [\\n {\\n \\"message\\": \\"库存为0\\",\\n \\"deliveryInfoList\\": [\\n {\\n \\"postFee\\": 0,\\n \\"serviceType\\": -4,\\n \\"id\\": \\"20\\",\\n \\"displayName\\": \\"快递 免邮\\"\\n }\\n ],\\n \\"canSell\\": true,\\n \\"productList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"features\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"quantity\\": 1,\\n \\"productId\\": \\"6600****6736\\",\\n \\"canSell\\": true,\\n \\"price\\": 100,\\n \\"productPicUrl\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"purchaserId\\": \\"56****2304\\",\\n \\"message\\": \\"库存为0\\",\\n \\"skuId\\": \\"6600****6737\\"\\n }\\n ],\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"message\\": \\"库存为0\\",\\n \\"extInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]', - 'title' => '采购单渲染', - 'description' => '><warning>本接口即将下线,采购单渲染请使用SplitPurchaseOrder - 采购单渲染并拆单接口></warning>', - 'requestParamsDescription' => '```'."\n" - .'{'."\n" - .' "deliveryAddress": {'."\n" - .' "divisionCode": "610102",'."\n" - .' "addressDetail": "陕西省西安市***大厦",'."\n" - .' "receiverPhone": "187****1553",'."\n" - .' "receiver": "闫先生",'."\n" - .' "townDivisionCode": "61010212"'."\n" - .' },'."\n" - .' "buyerId": "test1234****679",'."\n" - .' "productList": ['."\n" - .' {'."\n" - .' "quantity": 1,'."\n" - .' "productId": "6600622091****6736",'."\n" - .' "purchaserId": "22000009",'."\n" - .' "skuId": "6600622091****6737"'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "requestId": "0928251D-713B-17A1-A2B0-1A57****90B4",'."\n" - .' "orderList": ['."\n" - .' {'."\n" - .' "productList": ['."\n" - .' {'."\n" - .' "productId": "6600622091****6736",'."\n" - .' "productTitle": "儿童学习桌",'."\n" - .' "skuTitle": "浅灰色",'."\n" - .' "skuId": "6600622091****6737",'."\n" - .' "purchaserId": "22***09",'."\n" - .' "promotionFee": null,'."\n" - .' "quantity": 1,'."\n" - .' "productUrl": null,'."\n" - .' "productPicUrl": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0DYLWA_!!2216003305543.jpg",'."\n" - .' "price": 1,'."\n" - .' "canSell": true,'."\n" - .' "message": null,'."\n" - .' "features": null'."\n" - .' }'."\n" - .' ],'."\n" - .' "deliveryInfoList": ['."\n" - .' {'."\n" - .' "id": "20",'."\n" - .' "displayName": "快递 免邮",'."\n" - .' "postFee": 0,'."\n" - .' "serviceType": -4'."\n" - .' }'."\n" - .' ],'."\n" - .' "invoiceInfo": null,'."\n" - .' "extInfo": null,'."\n" - .' "canSell": true,'."\n" - .' "message": null'."\n" - .' }'."\n" - .' ],'."\n" - .' "unsellableOrderList": ['."\n" - .' {'."\n" - .' "productList": [],'."\n" - .' "deliveryInfoList": null,'."\n" - .' "invoiceInfo": null,'."\n" - .' "extInfo": null,'."\n" - .' "canSell": false,'."\n" - .' "message": null'."\n" - .' }'."\n" - .' ],'."\n" - .' "addressList": ['."\n" - .' {'."\n" - .' "addressId": 0,'."\n" - .' "receiver": "闫先生",'."\n" - .' "receiverPhone": "187****1553",'."\n" - .' "addressDetail": "陕西省西安市***大厦",'."\n" - .' "divisionCode": "610102",'."\n" - .' "townDivisionCode": "610102002"'."\n" - .' }'."\n" - .' ],'."\n" - .' "extInfo": null,'."\n" - .' "canSell": true,'."\n" - .' "message": null'."\n" - .'}', ], - 'CreatePurchaseOrder' => [ - 'summary' => '创建采购单,返回采购单号,具体订单创建结果由消息侧通知。订单创建完成之后,客户可以通过订单接口查询采购单下附属的订单信息。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '创建采购单', - 'description' => '创建采购单', - 'required' => true, - '$ref' => '#/components/schemas/PurchaseOrderCreateCmd', - ], - 'examples' => [], - ], - ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '采购单创建结果(返回采购单号)。'."\n" - .'><warning>请注意,因采购单创建为异步任务,如分销商调用本接口返回异常时(如503错误码),建议勿立即执行业务侧的toC退款;请分销商等待并消费PurchaseOrderCreate消息(采购单创建结果消息)后正常判断订单状态(如消费订单状态同步消息判断订单状态)后再处理业务逻辑,以免造成资损。></warning>', - 'required' => false, - '$ref' => '#/components/schemas/PurchaseOrderCreateResult', - ], - 'examples' => [], - ], + ], + 'endpoints' => [ + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall.aliyuncs.com', 'endpoint' => 'linkedmall.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'linkedmall-distributor-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall.cn-hangzhou.aliyuncs.com', 'endpoint' => 'linkedmall.cn-hangzhou.aliyuncs.com', 'vpc' => 'linkedmall.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'linkedmall.aliyuncs.com', 'endpoint' => 'linkedmall.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'ApplyReasonTextIdInvalid', 'message' => '无效的退款原因id', 'http_code' => 400, 'description' => '无效的退款原因id'], + ['code' => 'AuthCompanyNotFind', 'message' => 'AK对应的主体不存在', 'http_code' => 404, 'description' => 'AK对应的主体不存在'], + ['code' => 'CpCodeInvalid', 'message' => '无法识别的快递公司代号 {}', 'http_code' => 400, 'description' => '无法识别的快递公司代号'], + ['code' => 'DisputeInSelleFundOnlyCanReturnAll', 'message' => '售中只能全部退', 'http_code' => 400, 'description' => '售中只能全部退'], + ['code' => 'DisputePolicyInvalid', 'message' => '无效的退款类型', 'http_code' => 400, 'description' => '无效的退款类型'], + ['code' => 'GoodStatusInvalid', 'message' => '无效的货品状态', 'http_code' => 400, 'description' => '无效的货品状态'], + ['code' => 'HasNoPrivilege', 'message' => 'NoPrivilege.', 'http_code' => 403, 'description' => '没有权限'], + ['code' => 'linkedmall.errorcode.InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => '未知原因导致请求失败.'], + ['code' => 'MissingParameter', 'message' => 'You must specify the parameter.', 'http_code' => 500, 'description' => '缺少参数'], + ['code' => 'MissingParameter', 'message' => 'Required parameter \'{}\' is not found.', 'http_code' => 400, 'description' => '参数缺失'], + ['code' => 'OnlyRefundAndReturnCanSubmitShipping', 'message' => '只有退货退款才能提交退货物流信息', 'http_code' => 400, 'description' => '只有退货退款才能提交退货物流信息'], + ['code' => 'OrderForbidden', 'message' => '{} 订单无访问权限', 'http_code' => 403, 'description' => '订单无访问权限'], + ['code' => 'OrderLineForbidden', 'message' => '{} 子订单无访问权限', 'http_code' => 403, 'description' => '子订单无访问权限'], + ['code' => 'OrderLineNotFound', 'message' => '{} 子订单不存在', 'http_code' => 404, 'description' => '子订单不存在'], + ['code' => 'OrderNotFound', 'message' => '订单不存在', 'http_code' => 404, 'description' => '主订单不存在'], + ['code' => 'OuterPurchaseOrderIdExist', 'message' => '{} 外部采购单已经存在', 'http_code' => 500, 'description' => '外部采购单已经存在'], + ['code' => 'ParameterInvalid', 'message' => 'parameter {} invalid', 'http_code' => 400, 'description' => '参数格式错误'], + ['code' => 'PurchaseOrderForbidden', 'message' => '采购单不存在或无访问权限', 'http_code' => 403, 'description' => '采购单不存在或无访问权限'], + ['code' => 'PurchaseOrderIdOrOrderIdInvalid', 'message' => '分销交易号或者主订单号不正确', 'http_code' => 400, 'description' => '分销交易号或者主订单号不正确'], + ['code' => 'PurchaseOrderNotFound', 'message' => '{} 采购单不存在', 'http_code' => 400, 'description' => '采购单不存在'], + ['code' => 'RefundAmountMustLessThanOrder', 'message' => '退款金额不能大于订单金额', 'http_code' => 400, 'description' => '退款金额不能大于订单金额'], + ['code' => 'RefundNotFound', 'message' => '退款单不存在', 'http_code' => 400, 'description' => '退款单不存在'], + ['code' => 'RefundNumberMustLessThanOrder', 'message' => '退款数量不能大于订单数量', 'http_code' => 400, 'description' => '退款数量不能大于订单数量'], + ['code' => 'SavePurchaseOrderError', 'message' => '保存采购单失败', 'http_code' => 500, 'description' => '保存采购单失败'], + ['code' => 'ShopForbidden', 'message' => '{} 店铺无访问权限', 'http_code' => 403, 'description' => '店铺无访问权限'], + ['code' => 'ShopIdUnique', 'message' => '存在多个不同的shopId', 'http_code' => 404, 'description' => '存在多个不同的shopId'], + ['code' => 'ShopNotFind', 'message' => '{} 店铺不存在', 'http_code' => 404, 'description' => '店铺不存在'], + ['code' => 'ShopTypeInvalid', 'message' => 'skuId:{} 是经销集采的店铺商品无法下单', 'http_code' => 400, 'description' => '经销集采店铺的商品无法下单'], + ['code' => 'SkuNotFind', 'message' => '{} sku不存在', 'http_code' => 404, 'description' => 'sku不存在'], + ['code' => 'SkuPriceUnique', 'message' => 'skuId:{} sku价格不是最新的', 'http_code' => 400, 'description' => 'sku价格不是最新的'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'SearchProducts'], + ['description' => '请求参数发生变更', 'api' => 'SelectionGroupAddProduct'], + ['description' => '请求参数发生变更', 'api' => 'SelectionGroupRemoveProduct'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"purchaseOrderId\\": \\"6692****5696\\",\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]', - 'title' => '创建采购单', - 'description' => '创建采购单,返回采购单号,具体订单创建结果由消息侧通知。订单创建完成之后,客户可以通过订单接口查询采购单下附属的订单信息。'."\n" - .'><warning>请注意,因采购单创建为异步任务,如分销商调用本接口返回异常时(如503错误码),建议勿立即执行业务侧的toC退款;请分销商等待并消费PurchaseOrderCreate消息(采购单创建结果消息)后正常判断订单状态(如消费订单状态同步消息判断订单状态)后再处理业务逻辑,以免造成资损。></warning>'."\n" - .'><notice>调用采购单创建接口后如未接收到PurchaseOrderCreate消息(采购单创建结果消息),请在技术对接群中提交工单查询原因。></notice>', - 'requestParamsDescription' => '```'."\n" - .'{'."\n" - .' "outerPurchaseOrderId": "outer00****0",'."\n" - .' "deliveryAddress": {'."\n" - .' "divisionCode": "610102",'."\n" - .' "addressDetail": "陕西省西安市***大厦",'."\n" - .' "receiverPhone": "187****1553",'."\n" - .' "receiver": "闫先生",'."\n" - .' "townDivisionCode": "61010212"'."\n" - .' },'."\n" - .' "buyerId": "yt12345085",'."\n" - .' "productList": ['."\n" - .' {'."\n" - .' "quantity": 1,'."\n" - .' "productId": "6600622091****6736",'."\n" - .' "purchaserId": "PID2****09",'."\n" - .' "skuId": "6600622091****6737"'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "requestId": "48A34399-A72C-1E23-8388-7E63****E927",'."\n" - .' "purchaseOrderId": "6696070481****5680"'."\n" - .'}', + 'createdAt' => '2025-02-19T02:53:22.000Z', + 'description' => '', ], - 'GetPurchaseOrderStatus' => [ - 'summary' => '获取采购单状态。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaseOrders/{purchaseOrderId}/status', - 'methods' => [ - 'get', + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'GetSelectionProduct'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2024-03-29T03:14:50.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListPurchaserShops'], ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], + 'createdAt' => '2023-09-15T07:17:12.000Z', + 'description' => '', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListSelectionSkuSaleInfos'], + ['threshold' => '3500', 'countWindow' => 100, 'regionId' => '*', 'api' => 'CreatePurchaseOrder'], + ['threshold' => '250', 'countWindow' => 10, 'regionId' => '*', 'api' => 'SplitPurchaseOrder'], + ['threshold' => '100', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CancelRefundOrder'], + ['threshold' => '500', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetSelectionProduct'], + ['threshold' => '500', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetSelectionProductSaleInfo'], + ['threshold' => '150', 'countWindow' => 10, 'regionId' => '*', 'api' => 'RenderRefundOrder'], + ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'SelectionGroupRemoveProduct'], + ['threshold' => '270', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetRefundOrder'], + ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'QueryChildDivisionCode'], + ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateGoodsShippingNotice'], + ['threshold' => '200', 'countWindow' => 10, 'regionId' => '*', 'api' => 'QueryOrders'], + ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListCategories'], + ['threshold' => '130', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetPurchaseOrderStatus'], + ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetPurchaserShop'], + ['threshold' => '150', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ConfirmDisburse'], + ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListSelectionProducts'], + ['threshold' => '550', 'countWindow' => 10, 'regionId' => '*', 'api' => 'GetOrder'], + ['threshold' => '250', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListLogisticsOrders'], + ['threshold' => '250', 'countWindow' => 10, 'regionId' => '*', 'api' => 'RenderPurchaseOrder'], + ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'SelectionGroupAddProduct'], + ['threshold' => '200', 'countWindow' => 10, 'regionId' => '*', 'api' => 'ListSelectionProductSaleInfos'], + ['threshold' => '50', 'countWindow' => 10, 'regionId' => '*', 'api' => 'SearchProducts'], + ['threshold' => '100', 'countWindow' => 10, 'regionId' => '*', 'api' => 'CreateRefundOrder'], + ['threshold' => '25', 'countWindow' => 5, 'regionId' => '*', 'api' => 'ListPurchaserShops'], + ], + ], + 'ram' => [ + 'productCode' => 'Linkedmall', + 'productName' => '企业商城 LinkedMall', + 'ramCodes' => ['linkedmall', 'neuron'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListPurchaserShops', + 'description' => '获取采购方店铺列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListPurchaserShops', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'QueryChildDivisionCode', + 'description' => '查询子区域编码', 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'purchaseOrderId', - 'in' => 'path', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '采购单ID', - 'description' => '采购单ID', - 'type' => 'string', - 'required' => true, - 'example' => '6696070481****5680', + 'ramAction' => [ + 'action' => 'linkedmall:QueryChildDivisionCode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '交易单状态', - 'required' => false, - 'enumValueTitles' => [], - '$ref' => '#/components/schemas/PurchaseOrderStatusResult', + [ + 'apiName' => 'SearchProducts', + 'description' => '搜索选品池商品', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:SearchProducts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"status\\": \\"10\\"\\n}","type":"json"}]', - 'title' => '获取采购单状态', - 'description' => '获取交易单状态。', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "requestId": "AC85D1AE-3015-1024-B17C-D056****3583",'."\n" - .' "status": "20"'."\n" - .'}', - ], - 'GetOrder' => [ - 'summary' => '查询主单详情。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/{orderId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], ], ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'systemTags' => [ + [ + 'apiName' => 'GetOrder', + 'description' => '获取订单详情', 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'orderId', - 'in' => 'path', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '订单id', - 'description' => '订单id', - 'type' => 'string', - 'required' => true, - 'example' => '669607056****8593', + 'ramAction' => [ + 'action' => 'linkedmall:GetOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '订单资源返回', - 'required' => false, - '$ref' => '#/components/schemas/OrderResult', + [ + 'apiName' => 'GetPurchaseOrderStatus', + 'description' => '获取采购单状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetPurchaseOrderStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderAmount\\": 100,\\n \\"orderLineList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"number\\": \\"1\\",\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"productPic\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"payFee\\": 100,\\n \\"skuId\\": \\"6600****6737\\",\\n \\"orderLineStatus\\": \\"1\\"\\n }\\n ],\\n \\"orderId\\": \\"6692****5457\\",\\n \\"distributorId\\": \\"12****01\\",\\n \\"orderStatus\\": \\"1\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"createDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderClosedReason\\": \\"系统关单\\"\\n}","type":"json"}]', - 'title' => '获取订单详情', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "createDate": "2023-09-09 10:57:23",'."\n" - .' "distributorId": "6599775553****9296",'."\n" - .' "logisticsStatus": "1",'."\n" - .' "orderId": "6696070566****8593",'."\n" - .' "orderAmount": "1",'."\n" - .' "orderStatus": "2",'."\n" - .' "orderLineList": ['."\n" - .' {'."\n" - .' "productPic": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0DYLWA_!!2216003305543.jpg",'."\n" - .' "productPrice": ['."\n" - .' {'."\n" - .' "fundAmountMoney": "1" //订单应付金额'."\n" - .' }'."\n" - .' ],'."\n" - .' "productTitle": "儿童学习桌",'."\n" - .' "productId": "6600622091****6736",'."\n" - .' "number": "1",'."\n" - .' "orderLineStatus": "2",'."\n" - .' "logisticsStatus": "1",'."\n" - .' "skuId": "6600622091****6737",'."\n" - .' "skuTitle": "浅灰色",'."\n" - .' "orderLineId": "6696070566****8594",'."\n" - .' "orderId": "6696070566****8593"'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'QueryOrders' => [ - 'summary' => '查询订单列表。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/commands/query', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '查询主单列表', - 'description' => '查询主单列表', - 'required' => true, - '$ref' => '#/components/schemas/OrderPageQuery', + [ + 'apiName' => 'ListSelectionProductSaleInfos', + 'description' => '批量查询选品池商品销售信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListSelectionProductSaleInfos', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '订单列表', - 'required' => false, - '$ref' => '#/components/schemas/OrderListResult', + [ + 'apiName' => 'ListCategories', + 'description' => '查询类目列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListCategories', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderList\\": [\\n {\\n \\"orderAmount\\": 100,\\n \\"orderLineList\\": [\\n {\\n \\"productTitle\\": \\"儿童学习桌\\",\\n \\"number\\": \\"1\\",\\n \\"skuTitle\\": \\"浅绿色\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"productPic\\": \\"//img.alicdn.com/imgextra/i4/2216003305543/O1CN01bip3Un1qokG0\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"payFee\\": 100,\\n \\"skuId\\": \\"6600****6737\\",\\n \\"orderLineStatus\\": \\"1\\"\\n }\\n ],\\n \\"orderId\\": \\"6692****5457\\",\\n \\"distributorId\\": \\"12****01\\",\\n \\"orderStatus\\": \\"1\\",\\n \\"logisticsStatus\\": \\"1\\",\\n \\"createDate\\": \\"2023-09-11T12:22:24.000+08:00\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\",\\n \\"orderClosedReason\\": \\"系统关单\\"\\n }\\n ],\\n \\"requestId\\": \\"3239281273464326823\\",\\n \\"total\\": 24\\n}","type":"json"}]', - 'title' => '查询订单列表', - 'description' => '查询订单列表', - 'requestParamsDescription' => '```'."\n" - .'{'."\n" - .' "pageNumber": 1,'."\n" - .' "pageSize": 10,'."\n" - .' "orderIdList": ['."\n" - .' "6696070566****8593"'."\n" - .' ]'."\n" - .'}', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "requestId": "15BC537F-26F7-1AD0-AC3C-B79****D540",'."\n" - .' "total": 10,'."\n" - .' "orderList": ['."\n" - .' {'."\n" - .' "requestId": null,'."\n" - .' "createDate": "2023-09-09 10:57:23",'."\n" - .' "distributorId": "12****01",'."\n" - .' "logisticsStatus": "2",'."\n" - .' "orderId": "6696070566****8593",'."\n" - .' "orderAmount": "1",'."\n" - .' "orderStatus": "2",'."\n" - .' "orderLineList": ['."\n" - .' {'."\n" - .' "productPic": "//img.alicdn.com/imgextra/i4/2216****05543/O1CN01bip3Un1qo****YLWA_!!2216003****43.jpg",'."\n" - .' "productPrice": ['."\n" - .' {'."\n" - .' "fundAmountMoney": "1"'."\n" - .' }'."\n" - .' ],'."\n" - .' "productTitle": "儿童学习桌",'."\n" - .' "productId": "6600622091****6736",'."\n" - .' "number": "1",'."\n" - .' "orderLineStatus": "2",'."\n" - .' "logisticsStatus": "2",'."\n" - .' "skuId": "6600622091****6737",'."\n" - .' "skuTitle": "浅灰色",'."\n" - .' "orderLineId": "6696070566****8594",'."\n" - .' "orderId": "6696070566****8593"'."\n" - .' }'."\n" - .' ]'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'ListLogisticsOrders' => [ - 'summary' => '查询订单物流信息。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/{orderId}/logisticsOrders', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'list', - ], - 'parameters' => [ - [ - 'name' => 'orderId', - 'in' => 'path', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '订单id', - 'description' => '订单id', - 'type' => 'string', - 'required' => true, - 'example' => '6696070566****8593', + [ + 'apiName' => 'SelectionGroupAddProduct', + 'description' => '选品池商品入库', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkedmall:SelectionGroupAddProduct', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '物流信息', - 'required' => false, - '$ref' => '#/components/schemas/LogisticsOrderListResult', + [ + 'apiName' => 'GetSelectionProduct', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetSelectionProduct', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"logisticsOrderList\\": [\\n {\\n \\"mailNo\\": \\"SF234***2345\\",\\n \\"dataProviderTitle\\": \\"菜鸟裹裹\\",\\n \\"logisticsCompanyName\\": \\"顺丰\\",\\n \\"logisticsDetailList\\": [\\n {\\n \\"ocurrTimeStr\\": \\"2023-09-01 00:00:00\\",\\n \\"standerdDesc\\": \\"已签收\\"\\n }\\n ],\\n \\"goods\\": [\\n {\\n \\"goodName\\": \\"儿童学习桌\\",\\n \\"productId\\": \\"6600****6736\\",\\n \\"quantity\\": 1,\\n \\"skuId\\": \\"\\",\\n \\"skuTitle\\": \\"\\"\\n }\\n ],\\n \\"dataProvider\\": \\"菜鸟\\",\\n \\"logisticsCompanyCode\\": \\"SF (OTHER-其他 POST-中国邮政 EMS-EMS EYB-EMS快递包裹 POSTB-邮政快递包裹 STO-申通快递 YTO-圆通快递 YUNDA-韵达快递 ZJS-宅急送 FEDEX-联邦快递 DBKD-德邦物流 SHQ-华强物流 TN-特能 TAOBAO-淘宝物流 ZTO-中通快递 HTKY-百世快递 TTKDEX-天天快递 SF-顺丰速运 ZTKY-中铁物流 QFKD-全峰快递 JT-极兔物流)\\"\\n }\\n ],\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]', - 'title' => '查询订单物流信息', - 'description' => '查询订单物流信息', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "requestId": "ED080FA8-F005-10B1-A9AB-CCFD****9149",'."\n" - .' "logisticsOrderList": ['."\n" - .' {'."\n" - .' "dataProvider": "菜鸟裹裹",'."\n" - .' "dataProviderTitle": "本数据由菜鸟裹裹提供",'."\n" - .' "goods": ['."\n" - .' {'."\n" - .' "goodName": "儿童学习桌",'."\n" - .' "productId": 2384738123****7238,'."\n" - .' "quantity": 1'."\n" - .' }'."\n" - .' ],'."\n" - .' "logisticsCompanyCode": "SF",'."\n" - .' "logisticsCompanyName": "顺丰速运",'."\n" - .' "logisticsDetailList": ['."\n" - .' {'."\n" - .' "ocurrTimeStr": "2023-06-06 14:44:45",'."\n" - .' "standerdDesc": "顺丰速运 已收取快件"'."\n" - .' },'."\n" - .' {'."\n" - .' "ocurrTimeStr": "2023-06-06 14:44:46",'."\n" - .' "standerdDesc": "快件在【加工厂店】完成分拣,准备发往 【沈阳****中转场】"'."\n" - .' },'."\n" - .' {'."\n" - .' "ocurrTimeStr": "2023-06-06 18:24:09",'."\n" - .' "standerdDesc": "快件到达 【沈阳****中转场】"'."\n" - .' },'."\n" - .' {'."\n" - .' "ocurrTimeStr": "2023-06-06 18:28:26",'."\n" - .' "standerdDesc": "快件在【沈阳****中转场】完成分拣,准备发往 【西安****中转场】"'."\n" - .' },'."\n" - .' {'."\n" - .' "ocurrTimeStr": "2023-06-07 05:40:35",'."\n" - .' "standerdDesc": "快件已发车"'."\n" - .' }'."\n" - .' ],'."\n" - .' "mailNo": "SF162546****599"'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'ConfirmDisburse' => [ - 'summary' => '确认收货。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/orders/commands/confirmDisburse', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetSelectionProductSaleInfo', + 'description' => '查询选品池商品销售信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetSelectionProductSaleInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ + [ + 'apiName' => 'CreateGoodsShippingNotice', + 'description' => '回填运单信息', 'operationType' => 'create', - ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '确认收货(订单)', - 'description' => '确认收货入参', - 'required' => true, - '$ref' => '#/components/schemas/ConfirmDisburseCmd', + 'ramAction' => [ + 'action' => 'linkedmall:CreateGoodsShippingNotice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '确认收货结果', - 'required' => false, - '$ref' => '#/components/schemas/ConfirmDisburseResult', + [ + 'apiName' => 'ListSelectionSkuSaleInfos', + 'description' => '批量查询选品池SKU销售信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListSelectionSkuSaleInfos', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": \\"success\\",\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]', - 'title' => '确认收货', - 'description' => '确认收货', - 'requestParamsDescription' => '```'."\n" - .'{'."\n" - .' "orderId": "6696667996****5953"'."\n" - .'}', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "requestId": "FF83DFBE-CBF2-1D73-83A3-5010****C402",'."\n" - .' "result": "success"'."\n" - .'}', - ], - 'RenderRefundOrder' => [ - 'summary' => '逆向单渲染', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/commands/render', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ + [ + 'apiName' => 'SplitPurchaseOrder', + 'description' => '采购单渲染并拆单', 'operationType' => 'none', - ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '逆向单渲染', - 'description' => '逆向单渲染', - 'required' => true, - '$ref' => '#/components/schemas/RefundRenderCmd', + 'ramAction' => [ + 'action' => 'linkedmall:SplitPurchaseOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '售后单渲染结果', - 'required' => false, - '$ref' => '#/components/schemas/RefundRenderResult', + [ + 'apiName' => 'GetRefundOrder', + 'description' => '获取售后单详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetRefundOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"maxRefundFeeData\\": {\\n \\"minRefundFee\\": 1,\\n \\"maxRefundFee\\": 100\\n },\\n \\"refundReasonList\\": [\\n {\\n \\"reasonTextId\\": \\"47683\\",\\n \\"proofRequired\\": true,\\n \\"reasonTips\\": \\"不想要了\\",\\n \\"refundDescRequired\\": true\\n }\\n ],\\n \\"bizClaimType\\": 1,\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]', - 'title' => '售后单渲染', - 'description' => '售后单渲染', - 'requestParamsDescription' => '```'."\n" - .'{'."\n" - .' "bizClaimType": 3,'."\n" - .' "goodsStatus": 2,'."\n" - .' "orderLineId": "6696070566****8594"'."\n" - .'}', - 'responseParamsDescription' => '````'."\n" - .'{'."\n" - .' "requestId": "6D7C43A1-2EFC-185E-816E-A8CB****36EB",'."\n" - .' "orderLineId": "6696070566****8594",'."\n" - .' "bizClaimType": 3,'."\n" - .' "maxRefundFeeData": {'."\n" - .' "maxRefundFee": 1,'."\n" - .' "minRefundFee": 0'."\n" - .' },'."\n" - .' "refundReasonList": ['."\n" - .' {'."\n" - .' "reasonTextId": "402652",'."\n" - .' "proofRequired": false,'."\n" - .' "reasonTips": "拍错/多拍/不喜欢",'."\n" - .' "refundDescRequired": false'."\n" - .' },'."\n" - .' {'."\n" - .' "reasonTextId": "403883",'."\n" - .' "proofRequired": false,'."\n" - .' "reasonTips": "商品成分描述不符",'."\n" - .' "refundDescRequired": false'."\n" - .' },'."\n" - .' {'."\n" - .' "reasonTextId": "402641",'."\n" - .' "proofRequired": false,'."\n" - .' "reasonTips": "尺寸/规格不符",'."\n" - .' "refundDescRequired": false'."\n" - .' },'."\n" - .' {'."\n" - .' "reasonTextId": "402649",'."\n" - .' "proofRequired": false,'."\n" - .' "reasonTips": "颜色/款式/包装与商品描述不符",'."\n" - .' "refundDescRequired": false'."\n" - .' },'."\n" - .' {'."\n" - .' "reasonTextId": "402645",'."\n" - .' "proofRequired": false,'."\n" - .' "reasonTips": "收到商品少件/破损/变形等",'."\n" - .' "refundDescRequired": false'."\n" - .' },'."\n" - .' {'."\n" - .' "reasonTextId": "402638",'."\n" - .' "proofRequired": false,'."\n" - .' "reasonTips": "枯萎/死亡",'."\n" - .' "refundDescRequired": false'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - 'CreateRefundOrder' => [ - 'summary' => '创建售后单。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '创建逆向单', - 'description' => '创建逆向单', - 'required' => true, - '$ref' => '#/components/schemas/RefundOrderCmd', + [ + 'apiName' => 'ListLogisticsOrders', + 'description' => '查询订单物流信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListLogisticsOrders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '售后单资源', - 'required' => false, - '$ref' => '#/components/schemas/RefundOrderResult', + [ + 'apiName' => 'ConfirmDisburse', + 'description' => '确认收货', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkedmall:ConfirmDisburse', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]', - 'title' => '创建售后单', - 'description' => '创建售后单', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "requestId": "4DFA4CBA-AB08-13E2-9E25-0A26****72F2",'."\n" - .' "orderLineId": "6696070566****8594",'."\n" - .' "disputeStatus": 1,'."\n" - .' "disputeId": "6696233432****5024"'."\n" - .'}', - ], - 'CancelRefundOrder' => [ - 'summary' => '取消售后单。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/{disputeId}/commands/cancel', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ + [ + 'apiName' => 'SelectionGroupRemoveProduct', + 'description' => '选品池商品出库', 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'disputeId', - 'in' => 'path', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '售后单ID', - 'type' => 'string', - 'required' => false, - 'example' => '601853367760207872', + 'ramAction' => [ + 'action' => 'linkedmall:SelectionGroupRemoveProduct', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '售后单资源', - 'required' => false, - '$ref' => '#/components/schemas/RefundOrderResult', + [ + 'apiName' => 'RenderPurchaseOrder', + 'description' => '采购单渲染', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'linkedmall:RenderPurchaseOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]', - 'title' => '取消售后单', - 'description' => '取消售后单', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "requestId": "0F5BFCA7-98B9-1D59-80C2-30622***CFB1",'."\n" - .' "orderLineId": "66931024438***7746",'."\n" - .' "disputeStatus": 1,'."\n" - .' "disputeId": "66931163166***4352"'."\n" - .'}'."\n" - .'```', - ], - 'GetRefundOrder' => [ - 'summary' => '获取售后单详情。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/{disputeId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'disputeId', - 'in' => 'path', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '售后单id', - 'type' => 'string', - 'required' => false, - 'example' => '6696233432****5024', + [ + 'apiName' => 'CreateRefundOrder', + 'description' => '创建售后单', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkedmall:CreateRefundOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '售后单结果', - 'required' => false, - '$ref' => '#/components/schemas/RefundResult', + [ + 'apiName' => 'RenderRefundOrder', + 'description' => '售后单渲染', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'linkedmall:RenderRefundOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], - ], - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"refundFee\\": 1,\\n \\"refundFeeData\\": {\\n \\"minRefundFee\\": 1,\\n \\"maxRefundFee\\": 100\\n },\\n \\"applyDisputeDesc\\": \\"多拍不想要\\",\\n \\"refunderTel\\": \\"182****1334\\",\\n \\"bizClaimType\\": 1,\\n \\"disputeDesc\\": \\"多拍不想要\\",\\n \\"sellerRefuseReason\\": \\"商品没问题,买家举证无效\\",\\n \\"orderId\\": \\"6692****5457\\",\\n \\"refunderName\\": \\"赵先生\\",\\n \\"applyReason\\": {\\n \\"reasonTextId\\": 403769,\\n \\"reasonTips\\": \\"不想要了\\"\\n },\\n \\"refunderAddress\\": \\"阿里云云谷\\",\\n \\"refunderZipCode\\": \\"331001\\",\\n \\"disputeEndTime\\": \\"2023-09-02T12:00:00.000Z\\",\\n \\"sellerRefuseAgreementMessage\\": \\"不同意退款\\",\\n \\"disputeId\\": \\"6693****4352\\",\\n \\"disputeStatus\\": 1,\\n \\"returnGoodLogisticsStatus\\": 0,\\n \\"orderLogisticsStatus\\": 1,\\n \\"disputeCreateTime\\": \\"2023-09-02T00:00:00.000Z\\",\\n \\"orderLineId\\": \\"6692****5458\\",\\n \\"sellerAgreeMsg\\": \\"同意退款\\",\\n \\"requestId\\": \\"841471F6-5D61-1331-8C38-2****B55\\"\\n}","type":"json"}]', - 'title' => '获取售后单详情', - 'description' => '获取售后单详情', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "applyDisputeDesc": null,'."\n" - .' "applyReason": {'."\n" - .' "reasonTextId": 403883,'."\n" - .' "reasonTips": "商品成分描述不符"'."\n" - .' },'."\n" - .' "bizClaimType": 3,'."\n" - .' "disputeCreateTime": "2023-09-09 12:00:35",'."\n" - .' "disputeDesc": null,'."\n" - .' "disputeEndTime": null,'."\n" - .' "disputeId": "6696233432****5024",'."\n" - .' "disputeStatus": 3,'."\n" - .' "disputeType": 1,'."\n" - .' "orderId": "6696070566****8593",'."\n" - .' "refundFeeData": {'."\n" - .' "maxRefundFee": null,'."\n" - .' "minRefundFee": null'."\n" - .' },'."\n" - .' "orderLogisticsStatus": 2,'."\n" - .' "refundFee": 1,'."\n" - .' "refunderAddress": null,'."\n" - .' "refunderName": null,'."\n" - .' "refunderTel": null,'."\n" - .' "refunderZipCode": null,'."\n" - .' "returnGoodCount": null,'."\n" - .' "returnGoodLogisticsStatus": null,'."\n" - .' "sellerAgreeMsg": null,'."\n" - .' "sellerRefuseAgreementMessage": null,'."\n" - .' "sellerRefuseReason": null,'."\n" - .' "orderLineId": "6696070566****8594"'."\n" - .'}', - ], - 'CreateGoodsShippingNotice' => [ - 'summary' => '回填运单信息。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/refunds/command/createGoodsShippingNotice', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '提交逆向物流信息', - 'description' => '提交运单信息', - 'required' => true, - '$ref' => '#/components/schemas/GoodsShippingNoticeCreateCmd', + [ + 'apiName' => 'ListSelectionProducts', + 'description' => '查询选品池商品列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'linkedmall:ListSelectionProducts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '操作返回结果', - 'required' => false, - '$ref' => '#/components/schemas/GoodsShippingNoticeCreateResult', + [ + 'apiName' => 'QueryOrders', + 'description' => '查询订单列表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'linkedmall:QueryOrders', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": \\"success\\",\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]', - 'title' => '回填运单信息', - 'description' => '回填运单信息', - 'requestParamsDescription' => '```'."\n" - .'{'."\n" - .' "cpCode": "YUNDA",'."\n" - .' "disputeId": "6696233432****5024",'."\n" - .' "logisticsNo": "4334027****6583"'."\n" - .'}', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "requestId": "FA53BE49-2740-1AE1-BCBE-3640****5BE5",'."\n" - .' "result": "success"'."\n" - .'}', - ], - 'QueryChildDivisionCode' => [ - 'summary' => '查询子区域编码。', - 'path' => '/opensaas-s2b/opensaas-s2b-biz-trade/v2/division/commands/queryChildDivisionCode', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'tags' => [], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'systemTags' => [ + [ + 'apiName' => 'GetPurchaserShop', + 'description' => '获取采购方店铺', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'linkedmall:GetPurchaserShop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '查询地址divisionCode', - 'description' => '查询子区域编码', - 'required' => true, - '$ref' => '#/components/schemas/DivisionQuery', + [ + 'apiName' => 'CreatePurchaseOrder', + 'description' => '创建采购单', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'linkedmall:CreatePurchaseOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responses' => [ - 200 => [ - 'description' => '成功', - 'schema' => [ - 'description' => '子区域编码', - 'required' => false, - '$ref' => '#/components/schemas/DivisionPageResult', + [ + 'apiName' => 'CancelRefundOrder', + 'description' => '取消售后单', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'linkedmall:CancelRefundOrder', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'examples' => [], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"divisionList\\": [\\n {\\n \\"divisionName\\": \\"上海\\",\\n \\"divisionCode\\": 310000,\\n \\"divisionLevel\\": 2,\\n \\"pinyin\\": \\"shang hai\\",\\n \\"parentId\\": 1\\n }\\n ],\\n \\"requestId\\": \\"3239281273464326823\\"\\n}","type":"json"}]', - 'title' => '查询子区域编码', - 'description' => '查询子区域编码', - 'requestParamsDescription' => '```'."\n" - .'{'."\n" - .' "divisionCode": "1"'."\n" - .'}', - 'responseParamsDescription' => '```'."\n" - .'{'."\n" - .' "requestId": "85144A43-F418-1094-9A40-B8CE****8F30",'."\n" - .' "divisionList": ['."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 310000,'."\n" - .' "divisionName": "上海",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "shang hai"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 530000,'."\n" - .' "divisionName": "云南省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "yun nan sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 150000,'."\n" - .' "divisionName": "内蒙古自治区",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "nei meng gu zi zhi qu"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 110000,'."\n" - .' "divisionName": "北京",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "bei jing"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 220000,'."\n" - .' "divisionName": "吉林省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "ji lin sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 510000,'."\n" - .' "divisionName": "四川省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "si chuan sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 120000,'."\n" - .' "divisionName": "天津",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "tian jin"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 640000,'."\n" - .' "divisionName": "宁夏回族自治区",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "ning xia hui zu zi zhi qu"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 340000,'."\n" - .' "divisionName": "安徽省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "an hui sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 370000,'."\n" - .' "divisionName": "山东省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "shan dong sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 140000,'."\n" - .' "divisionName": "山西省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "shan xi sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 440000,'."\n" - .' "divisionName": "广东省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "guang dong sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 450000,'."\n" - .' "divisionName": "广西壮族自治区",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "guang xi zhuang zu zi zhi qu"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 650000,'."\n" - .' "divisionName": "新疆维吾尔自治区",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "xin jiang wei wu er zi zhi qu"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 320000,'."\n" - .' "divisionName": "江苏省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "jiang su sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 360000,'."\n" - .' "divisionName": "江西省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "jiang xi sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 130000,'."\n" - .' "divisionName": "河北省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "he bei sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 410000,'."\n" - .' "divisionName": "河南省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "he nan sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 330000,'."\n" - .' "divisionName": "浙江省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "zhe jiang sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 460000,'."\n" - .' "divisionName": "海南省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "hai nan sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 420000,'."\n" - .' "divisionName": "湖北省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "hu bei sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 430000,'."\n" - .' "divisionName": "湖南省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "hu nan sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 620000,'."\n" - .' "divisionName": "甘肃省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "gan su sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 350000,'."\n" - .' "divisionName": "福建省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "fu jian sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 540000,'."\n" - .' "divisionName": "西藏自治区",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "xi zang zi zhi qu"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 520000,'."\n" - .' "divisionName": "贵州省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "gui zhou sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 210000,'."\n" - .' "divisionName": "辽宁省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "liao ning sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 500000,'."\n" - .' "divisionName": "重庆",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "chong qing"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 610000,'."\n" - .' "divisionName": "陕西省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "shan xi sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 630000,'."\n" - .' "divisionName": "青海省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "qing hai sheng"'."\n" - .' },'."\n" - .' {'."\n" - .' "parentId": 1,'."\n" - .' "divisionCode": 230000,'."\n" - .' "divisionName": "黑龙江省",'."\n" - .' "divisionLevel": 2,'."\n" - .' "pinyin": "hei long jiang sheng"'."\n" - .' }'."\n" - .' ]'."\n" - .'}', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'ap-northeast-2-pop', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-pop', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-gov-1', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-nu16-b01', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-edge-1', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-bj-b01', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-1', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-2', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-3', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-test-306', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong-finance-pop', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao-nebula', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et15-b01', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et2-b01', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-inner', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-internal-test-1', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-inner', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-st4-d01', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-su18-b01', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-yushanfang', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei-na61-b01', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou-na62-a01', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-nebula-1', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1-oxs', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'rus-west-1-pop', - 'endpoint' => 'linkedmall.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'linkedmall.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'linkedmall.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; |
