调用getListingsItem指定includedData的relationships未返回

发布于 2025-08-12 19:34:31

get 接口:/listings/2021-08-01/items/sellerId/sku指定 relationships 未返回。{

"code": 200,

"data": {

"offers": [

],

"relationships": [

{

}

],

"procurement": [

],

"fulfillmentAvailability": [

],

"attributes": {

"parentage_level": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": "parent"

}

],

"country_of_origin": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": "CN"

}

],

"condition_type": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": "new_new"

}

],

"item_package_weight": [

{

"marketplace_id": "ATVPDKIKX0DER",

"unit": "grams",

"value": 520

}

],

"merchant_shipping_group": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": "legacy-template-id"

}

],

"item_name": [

{

"marketplace_id": "ATVPDKIKX0DER",

"language_tag": "en_US",

"value": "Teacher Planner, Lesson Plan for Class Organization, Weekly and Monthly Agenda, Academic Year 2026"

}

],

"batteries_required": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": false

}

],

"manufacturer": [

{

"marketplace_id": "ATVPDKIKX0DER",

"language_tag": "en_US",

"value": "Generic"

}

],

"item_type_keyword": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": "EDU029000 AND thesaurus_subject_keywords"

}

],

"number_of_items": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": 1

}

],

"child_parent_sku_relationship": [

{

"marketplace_id": "ATVPDKIKX0DER",

"child_relationship_type": "variation"

}

],

"item_package_dimensions": [

{

"marketplace_id": "ATVPDKIKX0DER",

"length": {

"unit": "centimeters",

"value": 25

},

"width": {

"unit": "centimeters",

"value": 20

},

"height": {

"unit": "centimeters",

"value": 2

}

}

],

"bullet_point": [

{

"marketplace_id": "ATVPDKIKX0DER",

"language_tag": "en_US",

"value": "【Premium Paper & Sleek Design】 – Crafted with high-quality, ink-proof paper and a durable thickened cover, this 29.2 x 22.4 cm (11.5 x 8.82 in) notebook features a matte black finish that’s both stylish and functional. The flat-lay design allows for easy writing and portable use at home or on the go. "

},

{

"marketplace_id": "ATVPDKIKX0DER",

"language_tag": "en_US",

"value": "【2026 Edition with Advanced Planning Features】 – Designed for efficient time management, this A4-sized planner includes annual, weekly, and monthly calendars to help organize work, study, and personal tasks with scientific precision. "

},

{

"marketplace_id": "ATVPDKIKX0DER",

"language_tag": "en_US",

"value": "【Versatile Layout for All Needs】 – Equipped with multi-functional partitions and customizable schedule templates, it caters to students, professionals, and office workers, offering flexible solutions for diverse planning requirements. "

},

{

"marketplace_id": "ATVPDKIKX0DER",

"language_tag": "en_US",

"value": "【Long-Lasting & User-Friendly】 – The smooth-writing paper resists bleeding, ensuring clarity and longevity. The coil-bound structure allows for 360° page turning, making it ideal for note-taking, brainstorming, or project tracking. "

},

{

"marketplace_id": "ATVPDKIKX0DER",

"language_tag": "en_US",

"value": "【Compact & Ready to Use】 – Comes with 1 notebook in a compact package, perfect for daily use, business trips, or home office setups. A must-have tool for anyone seeking organization and productivity in 2026!"

}

],

"part_number": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": "Generic-51a0a4"

}

],

"model_number": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": "Generic645247"

}

],

"product_description": [

{

"marketplace_id": "ATVPDKIKX0DER",

"language_tag": "en_US",

"value": "Material: Paper<br>Size: Approximately 29.222.4cm (11.58.82in)<br>Color: Black<br><br>1.2026 new version English design, A4 large capacity coil notebook, helps efficient schedule planning and time management<br>2. Contains annual weekly plan/monthly plan pages to help scientifically arrange work and study tasks and improve daily efficiency<br>3. High-quality paper is smooth to write, ink-proof, suitable for long-term use by office, students, and professionals<br>4. Multi-functional partition design, including a variety of work schedule templates to meet diverse needs<br>5. Simple and stylish cover, lasting and thickened cover, can be spread flat for writing, easy to carry, suitable for home and business trips<br><br>Package includes: 1pcs notebook"

}

],

"brand": [

{

"marketplace_id": "ATVPDKIKX0DER",

"language_tag": "en_US",

"value": "Generic"

}

],

"supplier_declared_dg_hz_regulation": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": "not_applicable"

}

],

"variation_theme": [

{

"name": "COLOR_NAME"

}

],

"generic_keyword": [

{

"marketplace_id": "ATVPDKIKX0DER",

"language_tag": "en_US",

"value": "teacher planner n2025-2026 planner weekly and monthly nteacher planners nteacher calendar planner 2025-2026 nteacher planner vertical layout nhome school nteacher agenda nteacher planning ncalendar planner 2019 nday planner 2019 nplanner 2019 n2019 c"

}

],

"supplier_declared_has_product_identifier_exemption": [

{

"marketplace_id": "ATVPDKIKX0DER",

"value": true

}

]

},

"productTypes": [

{

"marketplaceId": "ATVPDKIKX0DER",

"productType": "PLANNER"

}

],

"sku": "OFF5443@#9015-DC",

"issues": [

],

"summaries": [

{

"marketplaceId": "ATVPDKIKX0DER",

"itemName": "Teacher Planner, Lesson Plan for Class Organization, Weekly and Monthly Agenda, Academic Year 2026",

"lastUpdatedDate": "2025-08-12T07:55:40.945Z",

"createdDate": "2025-08-12T04:05:21.394Z",

"asin": "B0FM365VFD",

"conditionType": "new_new",

"productType": "PLANNER",

"status": [

"DISCOVERABLE"

]

}

]

},

"message": "OK"

}

查看更多

关注者
0
被浏览
56
1 个回答
Alex
Alex 3天前
10年跨境老兵(微信:sfgoods),熟悉主流平台(Amazon Ebay 速卖通 Shopee Lazada),欢迎交流~

我试了下,有的情况有,有的没有

先说有的情况:

使用getListing接口 https://api.sp-api.net/zh/api-308930030

比如这个是变体:可以拉到对应的关系

"relationships": [
    {
      "marketplaceId": "ATVPDKIKX0DER",
      "relationships": [
        {
          "parentSkus": [
            "xxxxxxx"
          ],
          "type": "VARIATION",
          "variationTheme": {
            "attributes": [
              "color"
            ],
            "theme": "COLOR"
          }
        }
      ]
    }
  ],

image.png

如果换成父体,也能拉到子的

 "relationships": [
    {
      "marketplaceId": "ATVPDKIKX0DER",
      "relationships": [
        {
          "childSkus": [
            "afdsfsdf",
            "fsdfds",
            "fsdfsdf",
            "fsdf"          
          ],
          "type": "VARIATION",
          "variationTheme": {
            "attributes": [
              "color"
            ],
            "theme": "COLOR"
          }
        }
      ]
    }
  ],

image.png

没有情况

官方没有说明,但是我实际测试,跟卖时候是没有返回的。
你看下merchant_suggested_asin 这个有没有。这个有,那是跟卖的,就可能是空的

当然还可能有其他情况是空的,欢迎发出来一起探讨

撰写答案

请登录后再发布答案,点击登录

发布
问题

公众
平台

最新资讯发布

分享
好友