| 1 | trade_id | trade_id | string | 1 | 可选 | 订单唯一键 |
| 2 | trade_no | trade_no | string | 1 | 可选 | 订单号 |
| 3 | platform_id | platform_id | string | 1 | 可选 | 平台ID(请点击平台代码表查看对应关系) |
| 4 | warehouse_type | warehouse_type | string | 1 | 可选 | 仓库类型:1、普通仓库,大于1为委外仓库(如京东仓储,物流宝等) |
| 5 | src_tids | src_tids | string | 1 | 可选 | 原始单号,如果有多个,以","分隔,且以增序排列,不重复,过长将被裁剪 |
| 6 | pay_account | pay_account | string | 1 | 可选 | 平台支付帐号, 淘系平台不返回 |
| 7 | trade_status | trade_status | string | 1 | 可选 | 订单状态: 4 线下退款5已取消6 待确认订单, 导入放入这个状态 待转预订单(待审核)7待确认订单,导入时先放到这个状态(此状态不占用库存,可删除,离开这个状态就不能删除了)10待付款12待尾款15等未付16延时审核19预订单前处理20前处理(赠品,合并,拆分)21委外前处理23 异常预订单24 换货预订单25待处理预订单26 待激活预订单27待分配预订单 30待客审35待财审55已审核95已发货96 成本确认(待录入计划成本,订单结算时有货品无计划成本)101 已过账110已完成 |
| 8 | trade_type | trade_type | string | 1 | 可选 | 订单类型:1、网店销售2、线下订单3、售后换货4、批发业务7、现款销售8、分销101、自定义类型一102、自定义类型二103、自定义类型三104、自定义类型四105、自定义类型五106、自定义类型六 |
| 9 | delivery_term | delivery_term | string | 1 | 可选 | 发货条件:1、款到发货 2、货到付款(包含部分货到付款)3、分期付款 |
| 10 | freeze_reason | freeze_reason | string | 1 | 可选 | 冻结原因 |
| 11 | refund_status | refund_status | string | 1 | 可选 | 退款状态:0、无退款1、申请退款2、部分退款3、全部退款 |
| 12 | fenxiao_type | fenxiao_type | string | 1 | 可选 | 分销类别:0、非分销订单1、代销2、经销 |
| 13 | fenxiao_nick | fenxiao_nick | string | 1 | 可选 | 分销商名 |
| 14 | trade_time | trade_time | string | 1 | 可选 | 下单时间(毫秒级时间戳,例如:1631861379000) |
| 15 | pay_time | pay_time | string | 1 | 可选 | 支付时间,例如:2020-10-19 00:00:00 |
| 16 | consign_time | consign_time | string | 1 | 可选 | 发货时间,订单未发货不返回该字段(毫秒级时间戳,例如:1631861379000) |
| 17 | buyer_nick | buyer_nick | string | 1 | 可选 | 买家网名, 淘系平台不返回 |
| 18 | receiver_name | receiver_name | string | 1 | 可选 | 收货人姓名, 淘系平台不返回 |
| 19 | receiver_province | receiver_province | string | 1 | 可选 | 省份id |
| 20 | receiver_city | receiver_city | string | 1 | 可选 | 城市id |
| 21 | receiver_district | receiver_district | string | 1 | 可选 | 地区id |
| 22 | receiver_address | receiver_address | string | 1 | 可选 | 收件人地址, 淘系平台不返回 |
| 23 | receiver_mobile | receiver_mobile | string | 1 | 可选 | 手机, 淘系平台不返回 |
| 24 | receiver_telno | receiver_telno | string | 1 | 可选 | 固话, 淘系平台不返回 |
| 25 | receiver_zip | receiver_zip | string | 1 | 可选 | 邮编 |
| 26 | receiver_area | receiver_area | string | 1 | 可选 | 省市区空格分隔 |
| 27 | receiver_ring | receiver_ring | string | 1 | 可选 | 京东几环 |
| 28 | receiver_dtb | receiver_dtb | string | 1 | 可选 | 大头笔 |
| 29 | to_deliver_time | to_deliver_time | string | 1 | 可选 | 配送时间,例如:2020-10-19 00:00:00 |
| 30 | bad_reason | bad_reason | string | 1 | 可选 | 异常订单原因(位运算):2、修改地址4、修改发票8、更换仓库16、修改备注32、更换货品128、拦截赠品
256、拦截换货512、买家留言变化1024、拦截平台已发货 |
| 31 | logistics_no | logistics_no | string | 1 | 可选 | 物流单号 |
| 32 | buyer_message | buyer_message | string | 1 | 可选 | 客户备注 |
| 33 | cs_remark | cs_remark | string | 1 | 可选 | 客服备注 |
| 34 | remark_flag | remark_flag | string | 1 | 可选 | 客服备注旗子 |
| 35 | print_remark | print_remark | string | 1 | 可选 | 打印备注 |
| 36 | goods_type_count | goods_type_count | string | 1 | 可选 | 货品种类数 |
| 37 | goods_count | goods_count | string | 1 | 可选 | 货品总数 |
| 38 | goods_amount | goods_amount | string | 1 | 可选 | 货品总额 |
| 39 | post_amount | post_amount | string | 1 | 可选 | 邮费 |
| 40 | other_amount | other_amount | string | 1 | 可选 | 其他收费 |
| 41 | discount | discount | string | 1 | 可选 | 优惠金额 |
| 42 | receivable | receivable | string | 1 | 可选 | 应收金额 |
| 43 | cod_amount | cod_amount | string | 1 | 可选 | 货到付款金额 |
| 44 | ext_cod_fee | ext_cod_fee | string | 1 | 可选 | 买家COD费用 |
| 45 | goods_cost | goods_cost | string | 1 | 可选 | 货款预估成本 |
| 46 | post_cost | post_cost | string | 1 | 可选 | 预估邮费成本 |
| 47 | weight | weight | string | 1 | 可选 | 预估称重kg |
| 48 | profit | profit | string | 1 | 可选 | 预估利润 |
| 49 | tax | tax | string | 1 | 可选 | 税额 |
| 50 | tax_rate | tax_rate | string | 1 | 可选 | 税率 |
| 51 | commission | commission | string | 1 | 可选 | 佣金 |
| 52 | invoice_type | invoice_type | string | 1 | 可选 | 发票类别:0、不需要1、普通发票2、普通增值税发票3、专用增值税发票 |
| 53 | invoice_title | invoice_title | string | 1 | 可选 | 发票标题 |
| 54 | invoice_content | invoice_content | string | 1 | 可选 | 发票内容 |
| 55 | salesman_name | salesman_name | string | 1 | 可选 | 业务员 |
| 56 | checker_name | checker_name | string | 1 | 可选 | 审核员 |
| 57 | fchecker_name | fchecker_name | string | 1 | 可选 | 财审员 |
| 58 | checkouter_name | checkouter_name | string | 1 | 可选 | 签出员 |
| 59 | stockout_no | stockout_no | string | 1 | 可选 | 出库单号 |
| 60 | flag_name | flag_name | string | 1 | 可选 | 标记名称 |
| 61 | trade_from | trade_from | string | 1 | 可选 | 订单来源:1、API抓单2、手工建单3、导入4、复制订单5、接口推送6、补发订单7、PDA选货开单 |
| 62 | single_spec_no | single_spec_no | string | 1 | 可选 | 单一货品商家编码,多种货品为空,组合装时为组合装编码 |
| 63 | raw_goods_count | raw_goods_count | string | 1 | 可选 | 原货品数量 |
| 64 | raw_goods_type_count | raw_goods_type_count | string | 1 | 可选 | 原货品种类数 |
| 65 | currency | currency | string | 1 | 可选 | 币种 |
| 66 | invoice_id | invoice_id | string | 1 | 可选 | 发票ID,目前只设0-1,1表示已开发票 |
| 67 | version_id | version_id | string | 1 | 可选 | 版本号 |
| 68 | modified | modified | string | 1 | 可选 | 修改时间,例如:2020-10-19 00:00:00 |
| 69 | created | created | string | 1 | 可选 | 创建时间(毫秒级时间戳,例如:1631861379000) |
| 70 | id_card_type | id_card_type | string | 1 | 可选 | 证件类别 |
| 71 | id_card | id_card | string | 1 | 可选 | 证件号码 |
| 72 | shop_no | shop_no | string | 1 | 可选 | 店铺编号 |
| 73 | shop_name | shop_name | string | 1 | 可选 | 店铺名称 |
| 74 | shop_remark | shop_remark | string | 1 | 可选 | 店铺备注 |
| 75 | warehouse_no | warehouse_no | string | 1 | 可选 | 仓库编号 |
| 76 | customer_name | customer_name | string | 1 | 可选 | 买家姓名 |
| 77 | customer_no | customer_no | string | 1 | 可选 | 客户编码 |
| 78 | logistics_name | logistics_name | string | 1 | 可选 | 物流名称 |
| 79 | logistics_code | logistics_code | string | 1 | 可选 | 物流公司编号 |
| 80 | logistics_type_name | logistics_type_name | string | 1 | 可选 | 物流类型名称 |
| 81 | delay_to_time | delay_to_time | string | 1 | 可选 | 预计发货时间 |
| 82 | trade_label | trade_label | string | 1 | 可选 | 订单标签 |
| 83 | detail_list | detail_list | array | 1 | 可选 | 订单明细 |
| 84 | trade_id | trade_id | string | 1 | 可选 | 订单唯一键 |
| 85 | rec_id | rec_id | string | 1 | 可选 | 订单明细唯一键 |
| 86 | platform_id | platform_id | string | 1 | 可选 | 平台ID |
| 87 | src_oid | src_oid | string | 1 | 可选 | 原始子订单号 |
| 88 | src_tid | src_tid | string | 1 | 可选 | 原始订单号 |
| 89 | gift_type | gift_type | string | 1 | 可选 | 是否是赠品 0、非赠品1、自动赠送 2、手工赠送 4、周期购赠送 8、平台赠送 |
| 90 | refund_status | refund_status | string | 1 | 可选 | 退款状态:0、无退款1、已取消2、已申请退款3、待退款,平台已退款,系统未退款,但订单已审核,不能直接改成,除非驳回4、等待取消,平台上取消退款,系统已退款,但订单已审核,不能直接改成,除非驳回5、退款成功6、未付款关闭,未付款的取消了 |
| 91 | guarantee_mode | guarantee_mode | string | 1 | 可选 | 退款模式:1、担保2、非担保3、在线非担保 |
| 92 | platform_status | platform_status | string | 1 | 可选 | 如果没有对应的原始单明细,则返回0.平台状态:10、未确认20、待尾款30、待发货40、部分发货50、已发货60、已签收70、已完成80、已退款90、已关闭 |
| 93 | delivery_term | delivery_term | string | 1 | 可选 | 发货条件:1、款到发货 2、货到付款(包含部分货到付款)3、分期付款 |
| 94 | num | num | string | 1 | 可选 | 货品数量 |
| 95 | price | price | string | 1 | 可选 | 标价,手工新建时使用货品属性中的“零售价” |
| 96 | refund_num | refund_num | string | 1 | 可选 | 售后退款数量 |
| 97 | order_price | order_price | string | 1 | 可选 | 成交价,原始单折扣及分摊之后的价格 |
| 98 | share_price | share_price | string | 1 | 可选 | 进入ERP后再次调整的价格,默认值与order_price一致 |
| 99 | adjust | adjust | string | 1 | 可选 | 手工调整价,正数为加价,负数为减价,暂未处理 |
| 100 | discount | discount | string | 1 | 可选 | 总折扣金额 |
| 101 | share_amount | share_amount | string | 1 | 可选 | 分摊后合计应收=share_price*num |
| 102 | tax_rate | tax_rate | string | 1 | 可选 | 税率 |
| 103 | goods_name | goods_name | string | 1 | 可选 | 货品名称 |
| 104 | goods_no | goods_no | string | 1 | 可选 | 货品编码 |
| 105 | spec_name | spec_name | string | 1 | 可选 | 规格名 |
| 106 | spec_no | spec_no | string | 1 | 可选 | 商家编码 |
| 107 | spec_code | spec_code | string | 1 | 可选 | 规格码 |
| 108 | suite_no | suite_no | string | 1 | 可选 | 组合装商家编码 |
| 109 | suite_name | suite_name | string | 1 | 可选 | 如果是组合装拆分的,此为组合装名称 |
| 110 | suite_num | suite_num | string | 1 | 可选 | 组合装数量,不受拆分合并影响 |
| 111 | suite_amount | suite_amount | string | 1 | 可选 | 组合装分摊后总价 |
| 112 | suite_discount | suite_discount | string | 1 | 可选 | 组合装优惠 |
| 113 | api_goods_name | api_goods_name | string | 1 | 可选 | 平台货品名称 |
| 114 | api_spec_name | api_spec_name | string | 1 | 可选 | 平台规格名 |
| 115 | api_goods_id | api_goods_id | string | 1 | 可选 | 平台货品id |
| 116 | api_spec_id | api_spec_id | string | 1 | 可选 | 平台规格id |
| 117 | commission | commission | string | 1 | 可选 | 佣金 |
| 118 | goods_type | goods_type | string | 1 | 可选 | 货品类型1销售商品 2原材料3包装4周转材料5虚拟商品6固定资产 0其它 |
| 119 | from_mask | from_mask | string | 1 | 可选 | 订单内部来源: 1、手机2、聚划算 |
| 120 | remark | remark | string | 1 | 可选 | 子单备注 |
| 121 | modified | modified | string | 1 | 可选 | 修改时间(毫秒级时间戳,例如:1631861379000) |
| 122 | created | created | string | 1 | 可选 | 创建时间(毫秒级时间戳,例如:1631861379000) |
| 123 | prop2 | prop2 | string | 1 | 可选 | 自定义属性2 |
| 124 | weight | weight | string | 1 | 可选 | 子单预估总重量 |
| 125 | img_url | img_url | string | 1 | 可选 | 图片路径 |