pdd.fulfillment.information.get跨境全托管发货单详情接口

321 阅读2分钟

pdd.fulfillment.information.get跨境全托管发货单详情接口

公共参数

图片.png

请求参数说明

图片.png

返回参数说明

参数接口参数类型例子说明
**fulfillment_info_get_responseOBJECT
**fulfillment_infoOBJECT详情信息
**citySTRING收件地城市
**city_idINTEGER城市编码
**confirm_timeSTRING成交时间。格式yyyy-MM-dd HH:mm:ss
**door_to_door_collect_infoOBJECT上门揽件信息
**waybill_logistics_idLONG取号面单的快递公司编号
**waybill_snSTRING取号面单号
**fulfillment_snSTRING跨境全托管发货单号
**fulfillment_statusINTEGER跨境全托管发货单状态。1-待发货,2-已发货待签收,3-已签收
**fulfillment_tag_listOBJECT[]托管发货单标签列表,courier_door_to_door_collect=快递上门揽收
**nameSTRING标签名称
**valueINTEGER是否有标签:0=无标签,1=有标签
**goods_countINTEGER商品数量
**goods_idLONG商品编号
**goods_imgSTRING商品图片
**goods_nameSTRING商品名称
**goods_priceSTRING商品销售价格。单位:元
**logistics_idLONG快递公司编号
**out_goods_snSTRING商家外部商品编码
**out_sku_snSTRING商家外部sku编码
**promise_delivery_timeSTRING承诺送达时间。格式yyyy-MM-dd HH:mm:ss
**provinceSTRING收件地省份
**province_idINTEGER省份编码
**receiver_addressSTRING收件人地址,不拼接省市区
**receiver_nameSTRING收件人姓名
**receiver_phoneSTRING收件人电话
**shipping_timeSTRING发货时间。格式yyyy-MM-dd HH:mm:ss
**sku_idLONG商品规格编码
**specSTRING商品规格,使用(规格值1,规格值2)组合作为sku的表示,中间以英文逗号隔开
**townSTRING收件地区县
**town_idINTEGER区县编码
**tracking_numberSTRING快递运单号
**updated_atSTRING更新时间。格式yyyy-MM-dd HH:mm:ss
**promise_shipping_timeSTRING承诺发货时间。格式yyyy-MM-dd HH:mm:ss

请求示例


import com.pdd.pop.sdk.common.util.JsonUtil;
import com.pdd.pop.sdk.http.api.pop.request.PddFulfillmentInformationGetRequest;
import com.pdd.pop.sdk.http.api.pop.response.PddFulfillmentInformationGetResponse;
import com.pdd.pop.sdk.http.PopClient;
import com.pdd.pop.sdk.http.PopHttpClient;

public class PopClientDemo {

    public static void main(String[] args) throws Exception {

        String clientId = "your clientId";
        String clientSecret = "your clientSecret";
        String accessToken = "your accessToken";
        PopClient client = new PopHttpClient(clientId, clientSecret);

        PddFulfillmentInformationGetRequest request = new PddFulfillmentInformationGetRequest();
        request.setFulfillmentSn("str");
        PddFulfillmentInformationGetResponse response = client.syncInvoke(request, accessToken);
        System.out.println(JsonUtil.transferToJson(response));
    }
}

响应示例

  "fulfillment_info_get_response": {
    "fulfillment_info": {
      "city": "str",
      "city_id": 0,
      "confirm_time": "str",
      "door_to_door_collect_info": {
        "waybill_logistics_id": 0,
        "waybill_sn": "str"
      },
      "fulfillment_sn": "str",
      "fulfillment_status": 0,
      "fulfillment_tag_list": [
        {
          "name": "str",
          "value": 0
        }
      ],
      "goods_count": 0,
      "goods_id": 0,
      "goods_img": "str",
      "goods_name": "str",
      "goods_price": "str",
      "logistics_id": 0,
      "out_goods_sn": "str",
      "out_sku_sn": "str",
      "promise_delivery_time": "str",
      "promise_shipping_time": "str",
      "province": "str",
      "province_id": 0,
      "receiver_address": "str",
      "receiver_name": "str",
      "receiver_phone": "str",
      "shipping_time": "str",
      "sku_id": 0,
      "spec": "str",
      "town": "str",
      "town_id": 0,
      "tracking_number": "str",
      "updated_at": "str"
    }
  }
}

API工具