상품 API2026-04-28
API로 상품등록 시 '아이템과 같은 옵션 및 옵션값을 가지고 있는 아이템이 중복으로 존재합니다" 라는 에러가 발생합니다.
1. 상품생성 JSON 전문에 있는 옵션 별 itemName 값이 중복이 없는지 체크해주십시요.
2. attribute 배열 내에 attributeTypeName 과 attributeValueName 값을 중복되지 않게 입력했는지 체크해 보시기 바랍니다.
옵션 값 중복 오류의 예시로, 즉 필수 구매 속성 값이 완전히 동일한 경우입니다.
"items":[
{
"itemName":"sssss"
....
attributes": [
{
"attributeTypeName": "A",
"attributeValueName": "123"
},
{
"attributeTypeName": "B",
"attributeValueName": "456"
}
],
},
{
"itemName":"xxxxx"
....
attributes": [
{
"attributeTypeName": "A",
"attributeValueName": "123"
},
{
"attributeTypeName": "B",
"attributeValueName": "456"
}
],
}
]