stockin_order_query_refund{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | start_time | start_time | datetime | 1 | Required | 增量获取数据,start_time作为开始时间,格式:yyyy-MM-dd HH:mm:ss |
| 2 | end_time | end_time | datetime | 1 | Required | 增量获取数据,end_time作为结束时间,格式:yyyy-MM-dd HH:mm:ss |
| 3 | status | status | string | 1 | Optional | 入库单状态 10已取消20编辑中30待审核60待结算80已完成(默认查询80已完成单据) |
| 4 | shop_no | shop_no | string | 1 | Optional | 代表店铺所有属性的唯一编码,用于店铺区分,ERP内支持自定义(ERP店铺界面设置),用于获取指定店铺单据数据信息 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | stockin_id | stockin_id | string | 1 | Optional | 入库单主键id |
| 2 | order_no | order_no | string | 1 | Optional | 入库单号 |
| 3 | warehouse_no | warehouse_no | string | 1 | Optional | 代表仓库所有属性的唯一编码,用于仓库区分,ERP内支持自定义(ERP仓库界面设置) |
| 4 | warehouse_name | warehouse_name | string | 1 | Optional | 仓库名称 |
| 5 | shop_no | shop_no | string | 1 | Optional | 代表店铺所有属性的唯一编码,用于店铺区分,ERP内支持自定义(ERP店铺界面设置),用于获取指定店铺数据信息 |
| 6 | shop_remark | shop_remark | string | 1 | Optional | 店铺备注 |
| 7 | src_order_no | src_order_no | string | 1 | Optional | 111 |
| 8 | process_status | process_status | string | 1 | Optional | 10已取消,20待审核,30已同意,40已拒绝,50待财审,60待收货,63待推送,64推送失败,65委外待收货,69待收货(已结算),70部分到货,71部分到货(已结算),80待结算 ,90已完成。ERP版本V2.3.8.4及以上才可返回 |
| 9 | status | status | string | 1 | Optional | 入库单状态 10已取消20编辑中30待审核60待结算80已完成 |
| 10 | stockin_time | stockin_time | string | 1 | Optional | 更新时间 格式:yyyy-MM-dd HH:mm:ss |
| 11 | created_time | created_time | string | 1 | Optional | 创建时间 格式:yyyy-MM-dd HH:mm:ss |
| 12 | remark | remark | string | 1 | Optional | 备注 |
| 13 | trade_no | trade_no | string | 1 | Optional | 系统订单编号,默认单号为JY开头,ERP内支持自定义(设置路径:设置——编码设置) |
| 14 | trade_type | trade_type | string | 1 | Optional | 系统订单类别(1网店销售,2线下零售,3售后换货,4批发业务,5保修换新,6保修完成,7订单补发 .. 101自定义类型1,102自定义类型2,103自定义类型3,104自定义类型4 ,105自定义类型5,106自定义类型6) |
| 15 | order_type | order_type | string | 1 | Optional | 单据类别,默认返回3 |
| 16 | order_type_name | order_type_name | string | 1 | Optional | 单据类别名称,默认为“退货入库” |
| 17 | goods_count | goods_count | string | 1 | Optional | 货品数量 |
| 18 | goods_amount | goods_amount | string | 1 | Optional | 退回货款收入 |
| 19 | actual_refund_amount | actual_refund_amount | string | 1 | Optional | 实际退款金额 |
| 20 | total_price | total_price | string | 1 | Optional | 退回货品成本 |
| 21 | discount | discount | string | 1 | Optional | 优惠金额 |
| 22 | tax_amount | tax_amount | string | 1 | Optional | 税后金额 |
| 23 | post_fee | post_fee | string | 1 | Optional | 退货入库单的“邮资” |
| 24 | other_fee | other_fee | string | 1 | Optional | 退货入库单的“其它金额” |
| 25 | adjust_price | adjust_price | string | 1 | Optional | 纠错金额 |
| 26 | right_price | right_price | string | 1 | Optional | 调整后总金额 |
| 27 | logistics_type | logistics_type | string | 1 | Optional | 响应值为代表物流类型的数字,数字对应的物流类型名称单击这里 |
| 28 | logistics_no | logistics_no | string | 1 | Optional | 代表物流所有属性的唯一编码,用于物流区分,ERP内支持自定义(ERP物流界面设置) |
| 29 | logistics_name | logistics_name | string | 1 | Optional | ERP设置的物流公司名称 |
| 30 | logistics_code | logistics_code | string | 1 | Optional | 物流单单号 |
| 31 | refund_no | refund_no | string | 1 | Optional | 退换单编号 |
| 32 | check_time | check_time | string | 1 | Optional | 111 |
| 33 | customer_no | customer_no | string | 1 | Optional | 客户编号 |
| 34 | customer_name | customer_name | string | 1 | Optional | 退货人的姓名 |
| 35 | nick_name | nick_name | string | 1 | Optional | 客户网名 |
| 36 | shop_name | shop_name | string | 1 | Optional | 店铺名称 |
| 37 | stockin_reason | stockin_reason | string | 1 | Optional | 入库原因 |
| 38 | flag_name | flag_name | string | 1 | Optional | 退换单界面的标记 |
| 39 | platform_id | platform_id | string | 1 | Optional | 平台id |
| 40 | tid | tid | string | 1 | Optional | 111 |
| 41 | stockin_operator_name | stockin_operator_name | string | 1 | Optional | 默认为'',入库操作人姓名 |
| 42 | check_operator_name | check_operator_name | string | 1 | Optional | 默认为'',审核人姓名 |
| 43 | refund_remark | refund_remark | string | 1 | Optional | 默认为'',退换备注 |
| 44 | refund_operator_name | refund_operator_name | string | 1 | Optional | 默认为'',退货员姓名 |
| 45 | stockin_no | stockin_no | string | 1 | Optional | 入库单号 |
| 46 | wms_outer_no | wms_outer_no | string | 1 | Optional | 默认为'',对应外部仓库的单号 |
| 47 | wms_status | wms_status | string | 1 | Optional | 默认为'0',外部状态,与wms对接使用 0初始化 1失败 2成功' |
| 48 | wms_result | wms_result | string | 1 | Optional | 默认为'',错误信息 |
| 49 | warehouse_id | warehouse_id | string | 1 | Optional | 默认为'0',仓库id |
| 50 | src_order_type | src_order_type | string | 1 | Optional | 默认为'0',入库单类型 3退货入库 |
| 51 | src_order_id | src_order_id | string | 1 | Optional | 默认为'0',业务单据id |
| 52 | reason_id | reason_id | string | 1 | Optional | 原因 |
| 53 | fa_status | fa_status | string | 1 | Optional | 默认为'0',财务同步状态 |
| 54 | logistics_id | logistics_id | string | 1 | Optional | 默认为'0',物流公司id |
| 55 | post_share_type | post_share_type | string | 1 | Optional | 默认为'0',邮费分摊类型0,不分摊 1,按数量分摊2,按照金额分摊' |
| 56 | operator_id | operator_id | string | 1 | Optional | 操作员id |
| 57 | check_operator_id | check_operator_id | string | 1 | Optional | 111 |
| 58 | goods_type_count | goods_type_count | string | 1 | Optional | 默认为'0',货品种类数 |
| 59 | adjust_num | adjust_num | string | 1 | Optional | 默认为'0',调整数量 |
| 60 | note_count | note_count | string | 1 | Optional | 默认为'0',便签条数 |
| 61 | flag_id | flag_id | string | 1 | Optional | 默认为'0',标记id |
| 62 | modified | modified | string | 1 | Optional | 111 |
| 63 | details_list | details_list | array | 1 | Optional | 退回货品列表节点 |
| 64 | rec_id | rec_id | string | 1 | Optional | 明细表主键id |
| 65 | stockin_id | stockin_id | string | 1 | Optional | 入库单主键id |
| 66 | src_order_detail_id | src_order_detail_id | string | 1 | Optional | 上层单据(退换单)退回货品明细主键,ERP版本V2.3.8.3及以上才可返回 |
| 67 | spec_no | spec_no | string | 1 | Optional | 代表单品(sku)所有属性的唯一编码,用于系统单品区分,SKU概念介绍,单击这里 |
| 68 | goods_count | goods_count | string | 1 | Optional | 货品数量 |
| 69 | discount | discount | string | 1 | Optional | 优惠金额 |
| 70 | cost_price | cost_price | string | 1 | Optional | 成本价 |
| 71 | production_date | production_date | string | 1 | Optional | 生产日期,格式:yyyy-MM-dd HH:mm:ss |
| 72 | validity_days | validity_days | string | 1 | Optional | 有效期天数 |
| 73 | expire_date | expire_date | string | 1 | Optional | 有效期,格式:yyyy-MM-dd HH:mm:ss |
| 74 | src_price | src_price | string | 1 | Optional | 原价 |
| 75 | tax_price | tax_price | string | 1 | Optional | 税后单价 |
| 76 | tax_amount | tax_amount | string | 1 | Optional | 税后金额 |
| 77 | tax | tax | string | 1 | Optional | 税率 |
| 78 | total_cost | total_cost | string | 1 | Optional | 总成本 |
| 79 | remark | remark | string | 1 | Optional | 备注 |
| 80 | adjust_num | adjust_num | string | 1 | Optional | 纠错数量 |
| 81 | adjust_price | adjust_price | string | 1 | Optional | 纠错金额 |
| 82 | right_num | right_num | string | 1 | Optional | 调整后数量 |
| 83 | right_price | right_price | string | 1 | Optional | 调整后单价 |
| 84 | num | num | string | 1 | Optional | 入库数量 |
| 85 | num2 | num2 | string | 1 | Optional | 辅助数量 |
| 86 | right_cost | right_cost | string | 1 | Optional | 调整后总金额 |
| 87 | brand_no | brand_no | string | 1 | Optional | 品牌编号 |
| 88 | brand_name | brand_name | string | 1 | Optional | 品牌名称 |
| 89 | goods_name | goods_name | string | 1 | Optional | 货品名称 |
| 90 | prop2 | prop2 | string | 1 | Optional | 单品自定义属性2 |
| 91 | goods_no | goods_no | string | 1 | Optional | 代表货品(spu)所有属性的唯一编号,用于系统货品区分,,SPU概念介绍,单击这里 |
| 92 | spec_name | spec_name | string | 1 | Optional | 规格名称 |
| 93 | spec_code | spec_code | string | 1 | Optional | 规格编号 |
| 94 | goods_unit | goods_unit | string | 1 | Optional | 基本单位 |
| 95 | batch_no | batch_no | string | 1 | Optional | 入库批次 |
| 96 | batch_remark | batch_remark | string | 1 | Optional | 批次备注 |
| 97 | position_no | position_no | string | 1 | Optional | 货位编号 |
| 98 | tid | tid | string | 1 | Optional | 原订单原始单号 |
| 99 | oid | oid | string | 1 | Optional | 原订单原始子单号 |
| 100 | src_order_type | src_order_type | string | 1 | Optional | 1采购入库, 2调拨入库, 3退货入库, 4盘盈入库, 5生产入库, 6其他入库, 7保修入库, 8纠错入库, 9初始化入库 10 预入库 11 JIT退货入库 12 委外入库 |
| 101 | org_stockin_detail_id | org_stockin_detail_id | string | 1 | Optional | 默认为'0',原始入库单明细 |
| 102 | spec_id | spec_id | string | 1 | Optional | erp内商品主键 |
| 103 | batch_id | batch_id | string | 1 | Optional | 默认为'0',批次 |
| 104 | position_id | position_id | string | 1 | Optional | 默认为'0',货位ID,入库时默认ID |
| 105 | unit_id | unit_id | string | 1 | Optional | 默认为'0',辅助单位 |
| 106 | base_unit_id | base_unit_id | string | 1 | Optional | 默认为'0',基本单位 |
| 107 | unit_ratio | unit_ratio | string | 1 | Optional | 默认为'1.0000',单位换算关系 |
| 108 | expect_num | expect_num | string | 1 | Optional | 默认为'0.0000',预期入库数量(基本单位数量,显示可自动转换成辅助单位) |
| 109 | cost_price2 | cost_price2 | string | 1 | Optional | 默认为'0.0000',辅助成本价 |
| 110 | share_post_cost | share_post_cost | string | 1 | Optional | 默认为'0.0000',邮资分摊成本 |
| 111 | share_post_total | share_post_total | string | 1 | Optional | 默认为'0.0000',邮资分摊总成本 |
| 112 | modified | modified | string | 1 | Optional | 最后修改时间 |
| 113 | created | created | string | 1 | Optional | 创建时间 |
The 查询退货入库单_v1 API (stockin_order_query_refund) of 旺店通·企业版 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 旺店通·企业版 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.