文档中心 > 淘寶台灣開放平台

臺灣開放平臺發品參數解析及注意事項

更新时间:2020/09/24 访问次数:328

一、发品入参解析(仅供参考)

1、参数解析

{
   "catId":"30001740",  //類目ID
   "attributes":{
      "name":"測試商品,請勿下單2",   //商品title
      "description":"<p style=\"margin: 0;padding: 8.0px 0;white-space: pre-wrap;\">
               <span style=\"font-family: simhei;\">測試</p>",//詳情描述
      "short description":"<p>測試</p>",  //短描述
      "brand":"No Brand",                 //品牌
      "logisticWay":"OFFICIAL_AIR_TRANSPORT",    //跨境物流,CB賣家獨有,必填内容,TP賣家只能使用空運;OFFICIAL_OCEAN_SHIPPING-海運, 
                                                                                                       OFFICIAL_AIR_TRANSPORT-空運
      "pickupPoint":[      //超商取貨,三個選項,傳遞則選擇,不傳遞則為不選擇,supportCod傳true為選擇貨到付款,false為不選擇貨到付款;
         {
            "supportCod":true,
            "value":"FAMILY_MART"
         },
         {
            "supportCod":true,
            "value":"SEVEN_11"
         },
         {
            "supportCod":true,
            "value":"HI_LIFE"
         }
      ],
      "localLogisticDelivery":[                    //官方宅配
         {
            "value":"home"
         }
      ],
      "sellerSelfDelivery"{                       //賣家宅配,local賣家獨有,非必填
         "value":34
      },
   "deliveryPeriod":"2"                           //備貨期
   },
   "skuList":[                                    //銷售内容sku資訊
      {
         "Status":"inactive",                     //sku上架狀態
         "images":[                               //sku圖片
            "https://img-ovs.alicdn.com/p/mdc/de9597970261c01ba96f6c58c0e3a135.jpg",
            "https://img-ovs.alicdn.com/p/6cd555d3cb7528fd0c60cbeac0d8ec00.jpg"
         ],
         "quantity":3,                             //庫存
         "SellerSku":"20200916-1",                 //賣家sku,編輯商品必填内容
         "SkuId":"6307890082",                     //skuid,編輯商品必填内容
         "ShopSku":"287337188_TW-35292433641",     //店鋪sku
         "color family":"橄欖",                    //顏色
         "package_width":"2.00",                   //物流寬度
         "package_height":"2.00",                  //物流高度
         "size":"Int:XXS",                         //尺寸
         "special_price":0,                        //sku特價
         "special from date":"2020-09-17 02:00:00",    //特價開始時間
         "special to date":"2020-09-25 08:30:00",      //特價結束時間
         "price":33,                               //價格
         "package_length":"1.00",                  //物流長度
         "package_weight":"2",                     //物流重量
         "Available":3                             //可售價格
      },
      {
         "Status":"inactive",
         "images":[
            "https://img-ovs.alicdn.com/p/6cd555d3cb7528fd0c60cbeac0d8ec00.jpg",
            "https://img-ovs.alicdn.com/p/mdc/5c1753737717508dcf9570c508598552.jpg"
         ],
         "quantity":3,
         "SellerSku":"20200916-2",
         "SkuId":"6307890083",
         "ShopSku":"287337188_TW-35292433641",
         "color family":"橄欖",
         "package_width":"2.00",
         "package_height":"2.00",
         "size":"Int:XS",
         "special_price":0,
         "price":33,
         "package_length":"1.00",
         "package_weight":"2",
         "Available":3
      }
   ],
   "updateItemId":603690092         //編輯商品的商品ID
}

2、发品参数示例(CB 卖家)

{
    "catId":"30001740",
    "attributes":{
      "name": "測試商品,請勿下單2",
      "description": "<p style=\"margin: 0;padding: 8.0px 0;white-space: pre-wrap;\"><span style=\"font-family: simhei;\">測試</span></p>",
      "short description": "<p>測試</p>",
      "brand": "No Brand",
      "clothing material": 477432784,
      "sleeves": 12373461,
      "occasion": 3237461,
      "fa pattern": 7948865,
      "dress shape": 4890958243,
      "womens trend": "30084038,64891176,109690050",
      "collar type": 1875812521,
      "dress length": 8323,
      "fa create year": 3347854,
      "logisticWay": "OFFICIAL_AIR_TRANSPORT",
      "pickupPoint": [
        {
          "supportCod": true,
          "value": "FAMILY_MART"
        },
        {
          "supportCod": true,
          "value": "SEVEN_11"
        },
        {
          "supportCod": true,
          "value": "HI_LIFE"
        }
      ],
      "localLogisticDelivery": [
        {
          "supportCod": false,
          "value": "home"
        }
      ],
      "deliveryPeriod": "2"
    },
    "skuList":[
        {
        "Status": "inactive",
        "images": [
          "https://img-ovs.alicdn.com/p/6cd555d3cb7528fd0c60cbeac0d8ec00.jpg"
      
        ],
        "quantity": 3,
        "ShopSku": "287337188_TW-3529243364",
        "color family": "橄欖",
        "package_width": "2.00",
        "package_height": "2.00",
        "size": "Int:XXS",
        "special_price": 0.0,
        "price": 33.0,
        "package_length": "1.00",
        "package_weight": "2",
        "Available": 3
      },{
        "Status": "inactive",
        "images": [
          "https://img-ovs.alicdn.com/p/6cd555d3cb7528fd0c60cbeac0d8ec00.jpg"
      
        ],
        "quantity": 3,
        "ShopSku": "287337188_TW-3529243364",
        "color family": "橄欖",
        "package_width": "2.00",
        "package_height": "2.00",
        "size": "Int:XS",
        "special_price": 0.0,
        "price": 33.0,
        "package_length": "1.00",
        "package_weight": "2",
        "Available": 3
      }
    ]
}

二、注意事項

  1. 根據檔案確認,API中參數是傳id還是傳值
  2. skulist下的參數參與組合SKU,請確保參數組合時不得重複
    例:如圖所示,顏色和尺寸的組合不能重複
    image
  3. 不同類型的賣家,所填寫的物流不一樣
    參數解析中有說明
  4. 涉及價格都為整數
  5. 如物流為空運,請注意商品尺寸和重量是否符合空運要求

FAQ

关于此文档暂时还没有FAQ
返回
顶部