我应该在哪里获得jet_browse_node_id以用于跟随jet.com marketplace文件上传API的JSON请求?

时间:2015-09-29 05:28:19

标签: php json jet.com-apis

jet_browse_node_id市场文件上传API的JSON请求中,我应该在哪里使用jet.com

{
  "{merchant_sku}": {
    "product_title": "Huggies Snug and Dry Diapers, Size 4, Economy Plus Pack, 192 Count",
    "jet_browse_node_id": 2000039,
    "standard_product_codes": [
      {
        "standard_product_code": "036000365474",
        "standard_product_code_type": "UPC"
      }
    ],
    "ASIN": "B00BCXF7MU",
    "multipack_quantity": 1,
    "brand": "Huggies",
    "manufacturer": "Kimberly Clark",
    "product_description": "HUGGIES Snug & Dry Diapers with SureFit design and stretchy waistband bring your baby the dryness and comfort they deserve. The design adds protection around their thighs and waist, a more flexible absorbent pad, and a softer outer diaper cover, so your baby can spend up to 12 hours playing with complete leak protection.",
    "bullets": [
      "Fits babies from 22 to 37 lbs",
      "Only Huggies Snug & Dry Diapers have all new SureFit* Design for up to 12 hours of leakage protection for your baby",
      "Now more conforming, gap-free fit for all-around protection for your baby",
      "Trusted Leak Lock System with quick-absorbing layers and long-lasting core to lock in wetness",
      "SnugFit* Waistband on our Size 4 diapers have a more flexible absorbent diaper pad to move with your baby?s twists and turns and softer outer diaper cover with adorable Mickey & Friends Disney designs"
    ],
    "number_units_for_price_per_unit": 1,
    "type_of_unit_for_price_per_unit": "each",
    "shipping_weight_pounds": 13.6,
    "package_length_inches": 9.2,
    "package_width_inches": 18,
    "package_height_inches": 14.4,
    "display_length_inches": 9.2,
    "display_width_inches": 18,
    "display_height_inches": 14.4,
    "prop_65": false,
    "legal_disclaimer_description": "Actual product packaging and materials may contain more and different information than what is shown on our website. We recommend that you do not rely solely on the information presented and that you always read labels, warnings, and directions before using or consuming a product. Please see our full disclaimer below.",
    "country_of_origin": "USA",
    "safety_warning": "Caution: Keep away from any source of flame.",
    "map_price": 12.1,
    "map_implementation": "type1",
    "product_tax_code": "Disposable Infant Diapers",
    "exclude_from_fee_adjustments": false,
    "ships_alone": false,
    "attributes_node_specific": [
      {
        "attribute_id": 95,
        "attribute_value": "192",
        "attribute_value_unit": "count"
      },
      {
        "attribute_id": 81,
        "attribute_value": "Size 4"
      },
      {
        "attribute_id": 125,
        "attribute_value": "Size 4"
      }
    ]
  }
}

以下是我将文档作为请求click here的一部分的网址。

1 个答案:

答案 0 :(得分:2)

jet_browse_node_id只是匹配 Jet分类类别id,后者的节点。问题2000039中给出的值已分配给Disposable Diapers

其他相关产品属性中的分类标识ID可以通过Jet Taxonomy API获得。后者是REST API,允许步行分类树用于发现匹配的产品类别。例如,可以获得id 2000039的详细信息以响应

https://merchant-api.jet.com/api/taxonomy/nodes/2000039

取回以下Json有效载荷

{
  "jet_node_id": 2000039,
  "jet_node_name": "Disposable Diapers",
  "jet_node_path": "Baby/Diapering/Disposable Diapers",
  "amazon_node_ids": [
    166772011
  ],
  "parent_id": 2000031,
  "jet_level": 2,
  "suggested_tax_code": "Disposable Infant Diapers"
}

或者,可以从您的Jet合作伙伴团队代表处以excel文件的形式获取Jet Taxonomy的当前快照。