export declare const PDD_ORDER_LIST_GET = "pdd.order.list.get"; export declare const PDD_ORDER_LIST_GET_RESPONSE_KEY = "order_list_get_response"; export declare const PDD_ORDER_LIST_GET_LIMITERS: { limiterLevel: number; timeRange: number; times: number; callSourceType: number; }[]; /** * 接口名称:订单列表查询接口(根据成交时间) * 接口标识:pdd.order.list.get * 接口使用场景:根据成交时间查询订单列表(只能获取到成交时间三个月以内的交易信息) * 注:虚拟订单充值手机号信息无法通过此接口获取,请联系虚拟类目运营人员。 **/ export interface PddOrderListGetRequestInterface { /** * @description: 必填,成交时间结束时间的时间戳,指格林威治时间 1970 年 01 月 01 日 00 时 00 分 00 秒(北京时间 1970 年 01 月 01 日 08 时 00 分 00 秒)起至现在的总秒数 PS:开始时间结束时间间距不超过 24 小时 * @type: string | number * @default: **/ end_confirm_at: string | number; /** * @description: 发货状态,1:待发货,2:已发货待签收,3:已签收 5:全部 * @type: number * @default: **/ order_status: number; /** * @description: 返回页码 默认 1,页码从 1 开始 PS:当前采用分页返回,数量和页数会一起传,如果不传,则采用 默认值 * @type: number * @default: **/ page: number; /** * @description: 返回数量,默认 100。最大 100 * @type: number * @default: **/ page_size: number; /** * @description: 售后状态 1:无售后或售后关闭,2:售后处理中,3:退款中,4: 退款成功 5:全部 * @type: number * @default: **/ refund_status: number; /** * @description: 必填,成交时间开始时间的时间戳,指格林威治时间 1970 年 01 月 01 日 00 时 00 分 00 秒(北京时间 1970 年 01 月 01 日 08 时 00 分 00 秒)起至现在的总秒数 * @type: string | number * @default: **/ start_confirm_at: string | number; /** * @description: 订单类型 0-普通订单 ,1- 定金订单 * @type: number * @default: **/ trade_type?: number; /** * @description: 是否启用has_next的分页方式,如果指定true,则返回的结果中不包含总记录数,但是会新增一个是否存在下一页的的字段,通过此种方式获取增量交易,效率在原有的基础上有80%的提升。 * @type: boolean * @default: **/ use_has_next?: boolean; } /** * 接口名称:订单列表查询接口(根据成交时间) * 接口标识:pdd.order.list.get * 接口使用场景:根据成交时间查询订单列表(只能获取到成交时间三个月以内的交易信息) * 注:虚拟订单充值手机号信息无法通过此接口获取,请联系虚拟类目运营人员。 **/ export interface PddOrderListGetResponseInterface { /** * @description: 请求response * @type: PddOrderListGetOrderListGetResponseResponseInterface * @default: * **/ order_list_get_response: PddOrderListGetOrderListGetResponseResponseInterface; } /** * @description 请求response * @default * @example 1 **/ export interface PddOrderListGetOrderListGetResponseResponseInterface { /** * @description: 是否存在下一页 * @type: boolean * @default: **/ has_next: boolean; /** * @description: 订单信息列表 * @type: PddOrderListGetOrderListGetResponseOrderListResponseInterface[] * @default: * **/ order_list: PddOrderListGetOrderListGetResponseOrderListResponseInterface[]; /** * @description: 订单总数 * @type: number * @default: **/ total_count: number; } /** * @description 订单信息列表 * @default * @example 1 **/ export interface PddOrderListGetOrderListGetResponseOrderListResponseInterface { /** * @description: 详细地址 * @type: string * @default: **/ address: string; /** * @description: 详细地址(打码) * @type: string * @default: **/ address_mask: string; /** * @description: 售后状态 0:无售后 2:买家申请退款,待商家处理 3:退货退款,待商家处理 4:商家同意退款,退款中 5:平台同意退款,退款中 6:驳回退款,待买家处理 7:已同意退货退款,待用户发货 8:平台处理中 9:平台拒绝退款,退款关闭 10:退款成功 11:买家撤销 12:买家逾期未处理,退款失败 13:买家逾期,超过有效期 14:换货补寄待商家处理 15:换货补寄待用户处理 16:换货补寄成功 17:换货补寄失败 18:换货补寄待用户确认完成 21:待商家同意维修 22:待用户确认发货 24:维修关闭 25:维修成功 27:待用户确认收货 31:已同意拒收退款,待用户拒收 32:补寄待商家发货 * @type: number * @default: **/ after_sales_status: number; /** * @description: 保税仓名称 * @type: string * @default: **/ bonded_warehouse: string; /** * @description: 买家留言信息 * @type: string * @default: **/ buyer_memo: string; /** * @description: 团长免单金额,单位:元 * @type: string * @default: **/ capital_free_discount: string; /** * @description: 卡号信息列表 * @type: PddOrderListGetOrderListGetResponseOrderListCardInfoListResponseInterface[] * @default: * **/ card_info_list: PddOrderListGetOrderListGetResponseOrderListCardInfoListResponseInterface[]; /** * @description: 商品一级分类 * @type: string | number * @default: **/ cat_id_1: string | number; /** * @description: 商品二级分类 * @type: string | number * @default: **/ cat_id_2: string | number; /** * @description: 商品三级分类 * @type: string | number * @default: **/ cat_id_3: string | number; /** * @description: 商品四级分类 * @type: string | number * @default: **/ cat_id_4: string | number; /** * @description: 城市 * @type: string * @default: **/ city: string; /** * @description: 城市编码 * @type: number * @default: **/ city_id: number; /** * @description: 成交状态:0:未成交、1:已成交、2:已取消 * @type: number * @default: **/ confirm_status: number; /** * @description: 成交时间 * @type: string * @default: **/ confirm_time: string; /** * @description: 国家或地区 * @type: string * @default: **/ country: string; /** * @description: 国家或地区编码 * @type: number * @default: **/ country_id: number; /** * @description: 订单创建时间 * @type: string * @default: **/ created_time: string; /** * @description: 送货入户费用 单位:元 * @type: string * @default: **/ delivery_home_value: string; /** * @description: 送货入户并安装费用 单位:元 * @type: string * @default: **/ delivery_install_value: string; /** * @description: 是否当日发货,1-是,0-否 * @type: number * @default: **/ delivery_one_day: number; /** * @description: 折扣金额,单位:元,折扣金额=平台优惠+商家优惠+团长免单优惠金额 * @type: string * @default: **/ discount_amount: string; /** * @description: 是否多多批发,1-是,0-否 * @type: number * @default: **/ duoduo_wholesale: number; /** * @description: 订单多包裹发货时使用的其他发货快递信息 * @type: PddOrderListGetOrderListGetResponseOrderListExtraDeliveryListResponseInterface[] * @default: * **/ extra_delivery_list: PddOrderListGetOrderListGetResponseOrderListExtraDeliveryListResponseInterface[]; /** * @description: 是否顺丰包邮,1-是 0-否 * @type: number * @default: **/ free_sf: number; /** * @description: 赠品额外运单列表 * @type: PddOrderListGetOrderListGetResponseOrderListGiftDeliveryListResponseInterface[] * @default: * **/ gift_delivery_list: PddOrderListGetOrderListGetResponseOrderListGiftDeliveryListResponseInterface[]; /** * @description: 赠品列表 * @type: PddOrderListGetOrderListGetResponseOrderListGiftListResponseInterface[] * @default: * **/ gift_list: PddOrderListGetOrderListGetResponseOrderListGiftListResponseInterface[]; /** * @description: 商品金额,单位:元,商品金额=商品销售价格*商品数量-订单改价折扣金额 * @type: string * @default: **/ goods_amount: string; /** * @description: 团id * @type: string | number * @default: **/ group_order_id: string | number; /** * @description: 团身份。0-团员,1-团长 * @type: number * @default: **/ group_role: number; /** * @description: 成团状态:0:拼团中、1:已成团、2:团失败 * @type: number * @default: **/ group_status: number; /** * @description: 送货入户并安装服务 0-不支持送货,1-送货入户不安装,2-送货入户并安装 * @type: number * @default: **/ home_delivery_type: number; /** * @description: 上门安装费用 单位:元 * @type: string * @default: **/ home_install_value: string; /** * @description: 支付申报订单号(多多国际清关请使用此字段,单号以XP开头) * @type: string * @default: **/ inner_transaction_id: string; /** * @description: 发票申请,1代表有 0代表无 * @type: number * @default: **/ invoice_status: number; /** * @description: 是否是抽奖订单,1-非抽奖订单,2-抽奖订单 * @type: number * @default: **/ is_lucky_flag: number; /** * @description: 是否为预售商品 1表示是 0表示否 * @type: number * @default: **/ is_pre_sale: number; /** * @description: 是否缺货 0-无缺货处理 1: 有缺货处理 * @type: number * @default: **/ is_stock_out: number; /** * @description: 订单商品列表 * @type: PddOrderListGetOrderListGetResponseOrderListItemListResponseInterface[] * @default: * **/ item_list: PddOrderListGetOrderListGetResponseOrderListItemListResponseInterface[]; /** * @description: 订单承诺发货时间 * @type: string * @default: **/ last_ship_time: string; /** * @description: 快递公司在拼多多的代码 * @type: string | number * @default: **/ logistics_id: string | number; /** * @description: 市场业务类型,0-普通订单,1-拼内购订单 * @type: number * @default: **/ mkt_biz_type: number; /** * @description: 只换不修,1:是,0:否 * @type: number * @default: **/ only_support_replace: number; /** * @description: 订单改价折扣金额,单位元 * @type: string * @default: **/ order_change_amount: string; /** * @description: 仓库信息 * @type: PddOrderListGetOrderListGetResponseOrderListOrderDepotInfoResponseInterface * @default: * **/ order_depot_info: PddOrderListGetOrderListGetResponseOrderListOrderDepotInfoResponseInterface; /** * @description: 订单编号 * @type: string * @default: **/ order_sn: string; /** * @description: 订单状态 * @type: number * @default: **/ order_status: number; /** * @description: 订单标签列表,no_trace_delivery=无痕发货,only_support_replace=只换不修,duoduo_wholesale=多多批发,return_freight_payer=退货包运费,free_sf=顺丰包邮,support_nationwide_warranty=全国联保,self_contained=门店自提,delivery_one_day=当日发货,oversea_tracing=全球购溯源,distributional_sale=分销订单,open_in_festival=不打烊,region_black_delay_shipping=发货时间可延迟,same_city_distribution=同城配送,has_subsidy_postage=补贴运费红包,has_sf_express_service=顺丰加价,community_group=小区团购,has_ship_additional=加运费发顺丰,ship_additional_order=加运费补差价订单 * @type: PddOrderListGetOrderListGetResponseOrderListOrderTagListResponseInterface[] * @default: * **/ order_tag_list: PddOrderListGetOrderListGetResponseOrderListOrderTagListResponseInterface[]; /** * @description: 支付金额,单位:元,支付金额=商品金额-折扣金额+邮费+服务费 * @type: string * @default: **/ pay_amount: string; /** * @description: 支付单号 * @type: string * @default: **/ pay_no: string; /** * @description: 支付时间 * @type: string * @default: **/ pay_time: string; /** * @description: 支付方式,枚举值:QQ,WEIXIN,ALIPAY,LIANLIANPAY * @type: string * @default: **/ pay_type: string; /** * @description: 平台优惠金额,单位:元 * @type: string * @default: **/ platform_discount: string; /** * @description: 邮费,单位:元 * @type: string * @default: **/ postage: string; /** * @description: 预售时间 * @type: string * @default: **/ pre_sale_time: string; /** * @description: 承诺送达时间 * @type: string * @default: **/ promise_delivery_time: string; /** * @description: 省份 * @type: string * @default: **/ province: string; /** * @description: 省份编码 * @type: number * @default: **/ province_id: number; /** * @description: 确认收货时间 * @type: string * @default: **/ receive_time: string; /** * @description: 收件人地址,不拼接省市区。订单状态为待发货状态,且订单未被风控打标的情况下返回密文数据;其余情况返回空字符串。 * @type: string * @default: **/ receiver_address: string; /** * @description: 收件人地址(打码) * @type: string * @default: **/ receiver_address_mask: string; /** * @description: 收件人姓名。订单状态为待发货状态,且订单未被风控打标的情况下返回密文数据;其余情况返回空字符串。 * @type: string * @default: **/ receiver_name: string; /** * @description: 收件人姓名(打码) * @type: string * @default: **/ receiver_name_mask: string; /** * @description: 收件人电话。订单状态为待发货状态,且订单未被风控打标的情况下返回密文数据;其余情况返回空字符串。 * @type: string * @default: **/ receiver_phone: string; /** * @description: 收件人手机号(打码) * @type: string * @default: **/ receiver_phone_mask: string; /** * @description: 售后状态 * @type: number * @default: **/ refund_status: number; /** * @description: 订单备注 * @type: string * @default: **/ remark: string; /** * @description: 订单备注标记,1-红色,2-黄色,3-绿色,4-蓝色,5-紫色 * @type: number * @default: **/ remark_tag: number; /** * @description: 订单备注标记名称 * @type: string * @default: **/ remark_tag_name: string; /** * @description: 补寄额外运单列表 * @type: PddOrderListGetOrderListGetResponseOrderListResendDeliveryListResponseInterface[] * @default: * **/ resend_delivery_list: PddOrderListGetOrderListGetResponseOrderListResendDeliveryListResponseInterface[]; /** * @description: 退货包运费,1:是,0:否 * @type: number * @default: **/ return_freight_payer: number; /** * @description: 订单审核状态(0-正常订单, 1-审核中订单) * @type: number * @default: **/ risk_control_status: number; /** * @description: 是否门店自提,1-是,0-否 * @type: number * @default: **/ self_contained: number; /** * @description: 商家优惠金额,单位:元 * @type: string * @default: **/ seller_discount: string; /** * @description: 服务费明细列表,sf_express_fee=顺丰加价服务 * @type: PddOrderListGetOrderListGetResponseOrderListServiceFeeDetailResponseInterface[] * @default: * **/ service_fee_detail: PddOrderListGetOrderListGetResponseOrderListServiceFeeDetailResponseInterface[]; /** * @description: 发货时间 * @type: string * @default: **/ shipping_time: string; /** * @description: 创建交易时的物流方式(1-预约配送) * @type: number * @default: **/ shipping_type: number; /** * @description: { "step_discount_amount":4, "advanced_paid_fee":1, "step_paid_fee":1.1, "step_trade_status":2 } * @type: PddOrderListGetOrderListGetResponseOrderListStepOrderInfoResponseInterface * @default: * **/ step_order_info: PddOrderListGetOrderListGetResponseOrderListStepOrderInfoResponseInterface; /** * @description: 缺货处理状态 -1:无缺货处理 0: 缺货待处理 1缺货已处理 * @type: number * @default: **/ stock_out_handle_status: number; /** * @description: 全国联保,1:是,0:否 * @type: number * @default: **/ support_nationwide_warranty: number; /** * @description: 区,乡镇 * @type: string * @default: **/ town: string; /** * @description: 区县编码 * @type: number * @default: **/ town_id: number; /** * @description: 快递单号 * @type: string * @default: **/ tracking_number: string; /** * @description: 订单类型 0-普通订单 ,1- 定金订单 * @type: number * @default: **/ trade_type: number; /** * @description: 订单的更新时间 * @type: string * @default: **/ updated_at: string; /** * @description: 催发货时间 * @type: string * @default: **/ urge_shipping_time: string; /** * @description: 预约配送日期 * @type: string * @default: **/ yyps_date: string; /** * @description: 预约配送时段 * @type: string * @default: **/ yyps_time: string; /** * @description: 关联的加运费发顺丰的补差价订单 * @type: string * @default: **/ ship_additional_link_order: string; /** * @description: 加运费补差价订单的原单 * @type: string * @default: **/ ship_additional_origin_order: string; } /** * @description 卡号信息列表 * @default * @example 1 **/ export interface PddOrderListGetOrderListGetResponseOrderListCardInfoListResponseInterface { /** * @description: 卡号 * @type: string * @default: **/ card_no: string; /** * @description: 卡密 * @type: string * @default: **/ mask_password: string; } /** * @description 订单多包裹发货时使用的其他发货快递信息 * @default * @example **/ export interface PddOrderListGetOrderListGetResponseOrderListExtraDeliveryListResponseInterface { /** * @description: 快递公司编号 * @type: number * @default: **/ logistics_id: number; /** * @description: 快递运单号 * @type: string * @default: **/ tracking_number: string; } /** * @description 赠品额外运单列表 * @default * @example **/ export interface PddOrderListGetOrderListGetResponseOrderListGiftDeliveryListResponseInterface { /** * @description: 快递ID * @type: number * @default: **/ logistics_id: number; /** * @description: 运单号 * @type: string * @default: **/ tracking_number: string; } /** * @description 赠品列表 * @default * @example **/ export interface PddOrderListGetOrderListGetResponseOrderListGiftListResponseInterface { /** * @description: 赠品数量 * @type: number * @default: **/ goods_count: number; /** * @description: 赠品id * @type: string | number * @default: **/ goods_id: string | number; /** * @description: 赠品图片 * @type: string * @default: **/ goods_img: string; /** * @description: 赠品名称 * @type: string * @default: **/ goods_name: string; /** * @description: 赠品销售价格 * @type: string * @default: **/ goods_price: string; /** * @description: 赠品规格 * @type: string * @default: **/ goods_spec: string; /** * @description: 商家外部商品编码 * @type: string * @default: **/ outer_goods_id: string; /** * @description: 商家外部sku编码 * @type: string * @default: **/ outer_id: string; /** * @description: 赠品规格编码 * @type: string | number * @default: **/ sku_id: string | number; } /** * @description 订单商品列表 * @default * @example 1 **/ export interface PddOrderListGetOrderListGetResponseOrderListItemListResponseInterface { /** * @description: 商品数量 * @type: number * @default: **/ goods_count: number; /** * @description: 商品编码 * @type: string * @default: **/ goods_id: string; /** * @description: 商品图片 * @type: string * @default: **/ goods_img: string; /** * @description: 商品名称 * @type: string * @default: **/ goods_name: string; /** * @description: 商品单件 单价:元 * @type: string * @default: **/ goods_price: string; /** * @description: 商品规格 * @type: string * @default: **/ goods_spec: string; /** * @description: 商品维度外部编码,注意:编辑商品后必须等待商品审核通过后方可生效,订单中商品信息为交易快照的商品信息。 * @type: string * @default: **/ outer_goods_id: string; /** * @description: sku维度商家外部编码,注意:编辑商品后必须等待商品审核通过后方可生效,订单中商品信息为交易快照的商品信息。 * @type: string * @default: **/ outer_id: string; /** * @description: 商品sku编码 * @type: string * @default: **/ sku_id: string; } /** * @description 仓库信息 * @default * @example 1 **/ export interface PddOrderListGetOrderListGetResponseOrderListOrderDepotInfoResponseInterface { /** * @description: 仓库编码 * @type: string * @default: **/ depot_code: string; /** * @description: 仓库id * @type: string | number * @default: **/ depot_id: string | number; /** * @description: 仓库名称 * @type: string * @default: **/ depot_name: string; /** * @description: 仓库类型,1:自有仓 2:订阅仓 两者都不是则传空 * @type: number * @default: **/ depot_type: number; /** * @description: 货品id * @type: string | number * @default: **/ ware_id: string | number; /** * @description: 货品名称 * @type: string * @default: **/ ware_name: string; /** * @description: 货品编码 * @type: string * @default: **/ ware_sn: string; /** * @description: 子货品列表(组合货品才会有子货品信息) * @type: PddOrderListGetOrderListGetResponseOrderListOrderDepotInfoWareSubInfoListResponseInterface[] * @default: * **/ ware_sub_info_list: PddOrderListGetOrderListGetResponseOrderListOrderDepotInfoWareSubInfoListResponseInterface[]; /** * @description: 货品类型(0:普通货品:1:组合货品) * @type: number * @default: **/ ware_type: number; } /** * @description 子货品列表(组合货品才会有子货品信息) * @default * @example 1 **/ export interface PddOrderListGetOrderListGetResponseOrderListOrderDepotInfoWareSubInfoListResponseInterface { /** * @description: 子货品id * @type: string | number * @default: **/ ware_id: string | number; /** * @description: 子货品名称 * @type: string * @default: **/ ware_name: string; /** * @description: 子货品数量 * @type: string | number * @default: **/ ware_quantity: string | number; /** * @description: 子货品编码 * @type: string * @default: **/ ware_sn: string; } /** * @description 订单标签列表,no_trace_delivery=无痕发货,only_support_replace=只换不修,duoduo_wholesale=多多批发,return_freight_payer=退货包运费,free_sf=顺丰包邮,support_nationwide_warranty=全国联保,self_contained=门店自提,delivery_one_day=当日发货,oversea_tracing=全球购溯源,distributional_sale=分销订单,open_in_festival=不打烊,region_black_delay_shipping=发货时间可延迟,same_city_distribution=同城配送,has_subsidy_postage=补贴运费红包,has_sf_express_service=顺丰加价,community_group=小区团购,has_ship_additional=加运费发顺丰,ship_additional_order=加运费补差价订单 * @default * @example **/ export interface PddOrderListGetOrderListGetResponseOrderListOrderTagListResponseInterface { /** * @description: 标签名称 * @type: string * @default: **/ name: string; /** * @description: 是否有标签:0=无标签,1=有标签 * @type: number * @default: **/ value: number; } /** * @description 补寄额外运单列表 * @default * @example **/ export interface PddOrderListGetOrderListGetResponseOrderListResendDeliveryListResponseInterface { /** * @description: 快递ID * @type: number * @default: **/ logistics_id: number; /** * @description: 运单号 * @type: string * @default: **/ tracking_number: string; } /** * @description 服务费明细列表,sf_express_fee=顺丰加价服务 * @default * @example **/ export interface PddOrderListGetOrderListGetResponseOrderListServiceFeeDetailResponseInterface { /** * @description: 服务费金额,单位:元 * @type: string * @default: **/ service_fee: string; /** * @description: 服务费类型 * @type: string * @default: **/ service_name: string; } /** * @description { "step_discount_amount":4, "advanced_paid_fee":1, "step_paid_fee":1.1, "step_trade_status":2 } * @default * @example 1 **/ export interface PddOrderListGetOrderListGetResponseOrderListStepOrderInfoResponseInterface { /** * @description: 已付定金 单位:元 * @type: string * @default: **/ advanced_paid_fee: string; /** * @description: 膨胀金额 单位:元 * @type: string * @default: **/ step_discount_amount: string; /** * @description: 分阶段已付金额 单位:元 * @type: string * @default: **/ step_paid_fee: string; /** * @description: 定金订单状态:step_trade_status 枚举:0-定金未付尾款未付、1-定金已付尾款未付、2-定金已付尾款已付 * @type: number * @default: **/ step_trade_status: number; }