Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/252.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 我应该在哪里获得jet\u browse\u node\u id,以便在以下jet.com marketplace文件上传API的JSON请求中使用?_Php_Json_Jet.com Apis - Fatal编程技术网

Php 我应该在哪里获得jet\u browse\u node\u id,以便在以下jet.com marketplace文件上传API的JSON请求中使用?

Php 我应该在哪里获得jet\u browse\u node\u id,以便在以下jet.com marketplace文件上传API的JSON请求中使用?,php,json,jet.com-apis,Php,Json,Jet.com Apis,我应该在哪里获得要在以下JSON请求jet.com市场文件上传API中使用的jet\u browse\u node\u id { "{merchant_sku}": { "product_title": "Huggies Snug and Dry Diapers, Size 4, Economy Plus Pack, 192 Count", "jet_browse_node_id": 2000039, "standard_product_codes": [

我应该在哪里获得要在以下
JSON
请求
jet.com
市场文件上传API中使用的
jet\u browse\u node\u id

{
  "{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"
      }
    ]
  }
}

以下是我获取请求文档部分的URL。

jet\u browse\u node\u id
只是匹配jet分类类别的
id
,后者的节点。您的问题
2000039
中给出的值已分配给
一次性尿布

其他相关产品属性中的分类ID可以通过以下方式获得:。后者是RESTAPI,允许遍历分类树以发现匹配的产品类别。例如,
id2000039
的详细信息可以响应于

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分类法的完整最新快照。

以下是我获取请求文档部分的URL您完全正确。我已经使用了相同的API来获取每个节点ID的详细信息。但是假设我有大约10K的项目,每个项目都有制造商、制造商零件号和UPC。现在,我应该采用什么方法为每个项目分配一个正确的节点?
Jet.com
不容易提供映射
制造商零件->类别Id
UPC->类别Id
。这是登船过程中的乏味部分,应该由合作伙伴自己完成。好的。此(类别映射)部分与往常一样最差。如果jet开始提供映射
Manufacturer part->Category Id或UPC->Category Id
,这将非常有帮助。我同意,确保准确的产品分类对于零售商和jet.com来说都是一项重要的工作。我将向Jet的用户体验和合作伙伴团队提供您的反馈,并且很可能很快会在一定程度上解决映射促进问题。感谢您支持我的评论。不知何故,我将尝试管理映射。