export declare const PDD_ORDER_INFORMATION_GET = "pdd.order.information.get"; export declare const PDD_ORDER_INFORMATION_GET_RESPONSE_KEY = "order_info_get_response"; export declare const PDD_ORDER_INFORMATION_GET_LIMITERS: { limiterLevel: number; timeRange: number; times: number; callSourceType: number; }[]; /** * 接口名称:订单详情 * 接口标识:pdd.order.information.get * 接口使用场景:查询单个订单详情(只能获取到成交时间三个月以内的交易信息) * 注:虚拟订单充值手机号信息无法通过此接口获取,请联系虚拟类目运营人员。 **/ export interface PddOrderInformationGetRequestInterface { /** * @description: 订单号 * @type: string * @default: **/ order_sn: string; } /** * 接口名称:订单详情 * 接口标识:pdd.order.information.get * 接口使用场景:查询单个订单详情(只能获取到成交时间三个月以内的交易信息) * 注:虚拟订单充值手机号信息无法通过此接口获取,请联系虚拟类目运营人员。 **/ export interface PddOrderInformationGetResponseInterface { /** * @description: response * @type: PddOrderInformationGetOrderInfoGetResponseResponseInterface * @default: * **/ order_info_get_response: PddOrderInformationGetOrderInfoGetResponseResponseInterface; } /** * @description response * @default * @example 1 **/ export interface PddOrderInformationGetOrderInfoGetResponseResponseInterface { /** * @description: 订单详情对象 * @type: PddOrderInformationGetOrderInfoGetResponseOrderInfoResponseInterface * @default: * **/ order_info: PddOrderInformationGetOrderInfoGetResponseOrderInfoResponseInterface; } /** * @description 订单详情对象 * @default * @example 1 **/ export interface PddOrderInformationGetOrderInfoGetResponseOrderInfoResponseInterface { /** * @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: PddOrderInformationGetOrderInfoGetResponseOrderInfoCardInfoListResponseInterface[] * @default: * **/ card_info_list: PddOrderInformationGetOrderInfoGetResponseOrderInfoCardInfoListResponseInterface[]; /** * @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: PddOrderInformationGetOrderInfoGetResponseOrderInfoExtraDeliveryListResponseInterface[] * @default: * **/ extra_delivery_list: PddOrderInformationGetOrderInfoGetResponseOrderInfoExtraDeliveryListResponseInterface[]; /** * @description: 是否顺丰包邮 1表示是 0表示否 * @type: number * @default: **/ free_sf: number; /** * @description: 赠品额外运单列表 * @type: PddOrderInformationGetOrderInfoGetResponseOrderInfoGiftDeliveryListResponseInterface[] * @default: * **/ gift_delivery_list: PddOrderInformationGetOrderInfoGetResponseOrderInfoGiftDeliveryListResponseInterface[]; /** * @description: 赠品列表 * @type: PddOrderInformationGetOrderInfoGetResponseOrderInfoGiftListResponseInterface[] * @default: * **/ gift_list: PddOrderInformationGetOrderInfoGetResponseOrderInfoGiftListResponseInterface[]; /** * @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: 订单中商品sku列表 * @type: PddOrderInformationGetOrderInfoGetResponseOrderInfoItemListResponseInterface[] * @default: * **/ item_list: PddOrderInformationGetOrderInfoGetResponseOrderInfoItemListResponseInterface[]; /** * @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: PddOrderInformationGetOrderInfoGetResponseOrderInfoOrderDepotInfoResponseInterface * @default: * **/ order_depot_info: PddOrderInformationGetOrderInfoGetResponseOrderInfoOrderDepotInfoResponseInterface; /** * @description: 订单编号 * @type: string * @default: **/ order_sn: string; /** * @description: 发货状态,枚举值:1:待发货,2:已发货待签收,3:已签收 * @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: PddOrderInformationGetOrderInfoGetResponseOrderInfoOrderTagListResponseInterface[] * @default: * **/ order_tag_list: PddOrderInformationGetOrderInfoGetResponseOrderInfoOrderTagListResponseInterface[]; /** * @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: 退款状态,枚举值:1:无售后或售后关闭,2:售后处理中,3:退款中,4: 退款成功 * @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: PddOrderInformationGetOrderInfoGetResponseOrderInfoResendDeliveryListResponseInterface[] * @default: * **/ resend_delivery_list: PddOrderInformationGetOrderInfoGetResponseOrderInfoResendDeliveryListResponseInterface[]; /** * @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: PddOrderInformationGetOrderInfoGetResponseOrderInfoServiceFeeDetailResponseInterface[] * @default: * **/ service_fee_detail: PddOrderInformationGetOrderInfoGetResponseOrderInfoServiceFeeDetailResponseInterface[]; /** * @description: 发货时间 * @type: string * @default: **/ shipping_time: string; /** * @description: 创建交易时的物流方式(1-预约配送) * @type: number * @default: **/ shipping_type: number; /** * @description: 定金订单信息 ,非定金订单该字段为null * @type: PddOrderInformationGetOrderInfoGetResponseOrderInfoStepOrderInfoResponseInterface * @default: * **/ step_order_info: PddOrderInformationGetOrderInfoGetResponseOrderInfoStepOrderInfoResponseInterface; /** * @description: 缺货处理状态 -1:无缺货处理 0: 缺货待处理 1缺货已处理 * @type: number * @default: **/ stock_out_handle_status: number; /** * @description: 门店信息 * @type: PddOrderInformationGetOrderInfoGetResponseOrderInfoStoreInfoResponseInterface * @default: * **/ store_info: PddOrderInformationGetOrderInfoGetResponseOrderInfoStoreInfoResponseInterface; /** * @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 PddOrderInformationGetOrderInfoGetResponseOrderInfoCardInfoListResponseInterface { /** * @description: 卡号 * @type: string * @default: **/ card_no: string; /** * @description: 卡密 * @type: string * @default: **/ mask_password: string; } /** * @description 订单多包裹发货时使用的其他发货快递信息 * @default * @example **/ export interface PddOrderInformationGetOrderInfoGetResponseOrderInfoExtraDeliveryListResponseInterface { /** * @description: 快递公司编号 * @type: number * @default: **/ logistics_id: number; /** * @description: 快递运单号 * @type: string * @default: **/ tracking_number: string; } /** * @description 赠品额外运单列表 * @default * @example **/ export interface PddOrderInformationGetOrderInfoGetResponseOrderInfoGiftDeliveryListResponseInterface { /** * @description: 快递ID * @type: number * @default: **/ logistics_id: number; /** * @description: 运单号 * @type: string * @default: **/ tracking_number: string; } /** * @description 赠品列表 * @default * @example **/ export interface PddOrderInformationGetOrderInfoGetResponseOrderInfoGiftListResponseInterface { /** * @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 订单中商品sku列表 * @default * @example 1 **/ export interface PddOrderInformationGetOrderInfoGetResponseOrderInfoItemListResponseInterface { /** * @description: 商品数量 * @type: number * @default: **/ goods_count: number; /** * @description: 商品编号 * @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: 商品规格,使用(规格值1,规格值2)组合作为sku的表示,中间以英文逗号隔开 * @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 PddOrderInformationGetOrderInfoGetResponseOrderInfoOrderDepotInfoResponseInterface { /** * @description: 仓库编码 * @type: string * @default: **/ depot_code: string; /** * @description: 仓库id * @type: string * @default: **/ depot_id: string; /** * @description: 仓库名称 * @type: string * @default: **/ depot_name: string; /** * @description: 仓库类型,1:自有仓 2:订阅仓 两者都不是则传空 * @type: number * @default: **/ depot_type: number; /** * @description: 货品id * @type: string * @default: **/ ware_id: string; /** * @description: 货品名称 * @type: string * @default: **/ ware_name: string; /** * @description: 货品编码 * @type: string * @default: **/ ware_sn: string; /** * @description: 子货品列表(组合货品才会有子货品信息) * @type: PddOrderInformationGetOrderInfoGetResponseOrderInfoOrderDepotInfoWareSubInfoListResponseInterface[] * @default: * **/ ware_sub_info_list: PddOrderInformationGetOrderInfoGetResponseOrderInfoOrderDepotInfoWareSubInfoListResponseInterface[]; /** * @description: 货品类型(0:普通货品,1:组合货品) * @type: number * @default: **/ ware_type: number; } /** * @description 子货品列表(组合货品才会有子货品信息) * @default * @example 1 **/ export interface PddOrderInformationGetOrderInfoGetResponseOrderInfoOrderDepotInfoWareSubInfoListResponseInterface { /** * @description: 子货品id * @type: string | number * @default: **/ ware_id: string | number; /** * @description: 子货品1编码 * @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 PddOrderInformationGetOrderInfoGetResponseOrderInfoOrderTagListResponseInterface { /** * @description: 标签名称 * @type: string * @default: **/ name: string; /** * @description: 是否有标签:0=无标签,1=有标签 * @type: number * @default: **/ value: number; } /** * @description 补寄额外运单列表 * @default * @example **/ export interface PddOrderInformationGetOrderInfoGetResponseOrderInfoResendDeliveryListResponseInterface { /** * @description: 快递ID * @type: number * @default: **/ logistics_id: number; /** * @description: 运单号 * @type: string * @default: **/ tracking_number: string; } /** * @description 服务费明细列表,sf_express_fee=顺丰加价服务 * @default * @example **/ export interface PddOrderInformationGetOrderInfoGetResponseOrderInfoServiceFeeDetailResponseInterface { /** * @description: 服务费金额,单位:元 * @type: string * @default: **/ service_fee: string; /** * @description: 服务费类型 * @type: string * @default: **/ service_name: string; } /** * @description 定金订单信息 ,非定金订单该字段为null * @default * @example 1 **/ export interface PddOrderInformationGetOrderInfoGetResponseOrderInfoStepOrderInfoResponseInterface { /** * @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; } /** * @description 门店信息 * @default * @example **/ export interface PddOrderInformationGetOrderInfoGetResponseOrderInfoStoreInfoResponseInterface { /** * @description: 门店id * @type: string | number * @default: **/ store_id: string | number; /** * @description: 门店名称 * @type: string * @default: **/ store_name: string; /** * @description: 门店自定义编码 * @type: string * @default: **/ store_number: string; }