coupang
產品API2026-04-28

使用 API 註冊商品時,發生錯誤 "The item with the same option and option value as an item exists in duplicate"

1. 請檢查在商品建立 JSON 文字中,每個選項是否沒有重複的 itemName 值。
2. 檢查 attributeTypeName 和 attributeValueName 值是否已輸入到 attribute 陣列中,以便它們不被重複。

 

重複選項值的報錯示例,即必填的購買屬性的值完全相同

"items":[

{

  "itemName":"sssss"

  ....

  attributes": [

        {

          "attributeTypeName": "A",

          "attributeValueName": "123"

        },

        {

          "attributeTypeName": "B",

          "attributeValueName": "456"

        }

      ],

},

{

  "itemName":"xxxxx"

  ....

  attributes": [

        {

          "attributeTypeName": "A",

          "attributeValueName": "123"

        },

        {

          "attributeTypeName": "B",

          "attributeValueName": "456"

        }

      ],

}

 

]