Örnek İstek
Örnek istek ana ürün oluşturmak için; SHOES-1 stok koduyla, boyut ve renk varyasyon temasıyla, barkod muafiyetli olacak şekilde kurgulanmıştır.
curl -L -X PUT 'https://sellingpartnerapi-eu.amazon.com/listings/2021-08-01/items/AO0WPKWDI17JQ/SHOES-1?marketplaceIds=A33AVAJ2PDY3EV' \
-H 'x-amz-access-token: {{access-token}}' \
-H 'X-Amz-Security-Token: {{security-token}}' \
-H 'X-Amz-Date: {{request-date}}' \
-H 'Authorization: {{authorization}}' \
-H 'Content-Type: application/json' \
-d '{
"productType": "SHOES",
"requirements": "LISTING_PRODUCT_ONLY",
"attributes": {
"parentage_level": [
{
"value": "parent"
}
],
"child_parent_sku_relationship": [
{
"child_relationship_type": "variation"
}
],
"variation_theme": [
{
"name": "SIZE/COLOR"
}
],
"main_product_image_locator": [
{
"media_location": "https://m.media-amazon.com/images/I/519BZQVaptS._AC_SY695_.jpg"
}
],
"item_name": [
{
"value": "Nika Runner XS Spor Ayakkabısı"
}
],
"brand": [
{
"value": "Genel"
}
],
"bullet_point": [
{
"value": "Kısa açıklama notları."
}
],
"recommended_browse_nodes": [
{
"value": "13808745031"
}
],
"condition_type": [
{
"value": "new_new"
}
],
"country_of_origin": [
{
"value": "TR"
}
],
"supplier_declared_material_regulation": [
{
"value": "not_applicable"
}
],
"product_description": [
{
"value": "Ürün açıklaması"
}
],
"batteries_required": [
{
"value": false
}
],
"supplier_declared_dg_hz_regulation": [
{
"value": "not_applicable"
}
]
}
}'
{
"sku": "SHOES-1",
"status": "ACCEPTED",
"submissionId": "29377d5c2a6a4f2db4aa2d4425d88e30",
"issues": []
}
{
"sku": "YNG-WTR-3",
"status": "INVALID",
"submissionId": "a9d998e1934d4349b858f45599535c1e",
"issues": [
{
"code": "90220",
"message": "“item_name” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"item_name"
]
},
{
"code": "90220",
"message": "“externally_assigned_product_identifier” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"externally_assigned_product_identifier"
]
},
{
"code": "90220",
"message": "“water_resistance_level” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"water_resistance_level"
]
},
{
"code": "90220",
"message": "“inner” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"inner"
]
},
{
"code": "90220",
"message": "“sole_material” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"sole_material"
]
},
{
"code": "90220",
"message": "“batteries_required” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"batteries_required"
]
},
{
"code": "90220",
"message": "“leather_type” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"leather_type"
]
},
{
"code": "90220",
"message": "“brand” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"brand"
]
},
{
"code": "90220",
"message": "“item_package_dimensions” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"item_package_dimensions"
]
},
{
"code": "90220",
"message": "“merchant_suggested_asin” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"merchant_suggested_asin"
]
},
{
"code": "90220",
"message": "“target_gender” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"target_gender"
]
},
{
"code": "90220",
"message": "“recommended_browse_nodes” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"recommended_browse_nodes"
]
},
{
"code": "90220",
"message": "“product_description” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"product_description"
]
},
{
"code": "90220",
"message": "“model_name” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"model_name"
]
},
{
"code": "90220",
"message": "“strap_type” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"strap_type"
]
},
{
"code": "90220",
"message": "“country_of_origin” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"country_of_origin"
]
},
{
"code": "90220",
"message": "“item_package_weight” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"item_package_weight"
]
},
{
"code": "90220",
"message": "“manufacturer” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"manufacturer"
]
},
{
"code": "90183",
"message": "'footwear_size' özelliği beklenen değerlere sahip değil.",
"severity": "ERROR",
"attributeNames": [
"footwear_size"
]
},
{
"code": "90220",
"message": "“style” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"style"
]
},
{
"code": "90220",
"message": "“bullet_point” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"bullet_point"
]
},
{
"code": "90220",
"message": "“lifestyle” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"lifestyle"
]
},
{
"code": "90220",
"message": "“supplier_declared_material_regulation” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"supplier_declared_material_regulation"
]
},
{
"code": "90220",
"message": "“model_number” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"model_number"
]
},
{
"code": "90220",
"message": "“age_range_description” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"age_range_description"
]
},
{
"code": "90220",
"message": "“supplier_declared_dg_hz_regulation” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"supplier_declared_dg_hz_regulation"
]
},
{
"code": "90220",
"message": "“color” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"color"
]
},
{
"code": "90220",
"message": "“height_map” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"height_map"
]
}
]
}
Doldurulması Gereken Güvenlik Parametreleri
Örnek isteği gönderip sonuç alabilmeniz için istek içerisinde bulunan ve aşağıda listesi verilen parametreleri doldurmanız gerekmektedir.
Güvenlik Parametreleri |
---|
{{access-token}} |
{{security-token}} |
{{request-date}} |
{{authorization}} |