API Reference

Varyantlı Ürün Oluşturma Örnek İstek

Örnek İstek

Örnek istek SHOES-1 ana stok kodlu ürüne varyant eklenerek; varyant stok kodu NK1234-RED, kırmızı renk, 42 numara ve barkod muafiyetli olacak şekilde kurgulanmıştır.

curl -L -X PUT 'https://sellingpartnerapi-eu.amazon.com/listings/2021-08-01/items/AO0WPKWDI17JQ/NK1234-RED?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' \
--data-raw '{
    "productType": "SHOES",
    "requirements": "LISTING",
    "attributes": {
        "purchasable_offer": [
            {
                "currency": "TRY",
                "our_price": [
                    {
                        "schedule": [
                            {
                                "value_with_tax": "1999"
                            }
                        ]
                    }
                ]
            }
        ],
        "fulfillment_availability": [
            {
                "fulfillment_channel_code": "DEFAULT",
                "quantity": "9999",
                "lead_time_to_ship_max_days": "5"
            }
        ],
        "supplier_declared_has_product_identifier_exemption":[  
            {  
                "value": true  
            }  
        ],
        "parentage_level": [
            {
                "value": "child"
            }
        ],
        "child_parent_sku_relationship": [
            {
                "child_relationship_type": "variation",
                "parent_sku": "SHOES-1"
            }
        ],
        "variation_theme": [
            {
                "name": "SIZE/COLOR"
            }
        ],
        "color": [
            {
                "standardized_values": ["Red"],
                "value": "Red"
            }
        ],
        "footwear_size": [
            {
                "age_group": "adult",
                "size_system": "eu_footwear_size_system",
                "gender": "men",
                "size_class": "numeric",
                "size": "numeric_42",
                "width": "medium"
            }
        ],
        "main_product_image_locator": [
            {
                "media_location": "https://amazon-seller-central-tr.s3.eu-central-1.amazonaws.com/shoe-1.jpg"
            }
        ],
        "other_product_image_locator_1": [
            {
                "media_location": "https://amazon-seller-central-tr.s3.eu-central-1.amazonaws.com/shoe-2.jpg"
            }
        ],
        "other_product_image_locator_2": [
            {
                "media_location": "https://amazon-seller-central-tr.s3.eu-central-1.amazonaws.com/shoe-3.jpg"
            }
        ],
        "generic_keyword": [
            {
                "value": "Koşu Ayakkabısı"
            }
        ],
        "lifestyle": [
            {
                "value": "Günlük"
            }
        ],
        "style": [
            {
                "value": "Spor"
            }
        ],
        "age_range_description": [
            {
                "value": "Genç Yetişkin"
            }
        ],
        "pattern_type": [
            {
                "value": "Siyah Beyaz Damalı"
            }
        ],
        "strap_type": [
            {
                "value": "Ayak Bileği Kayışı"
            }
        ],
        "inner": [
            {
                "material": [
                    {
                        "value": "Polyester"
                    }
                ]
            }
        ],
        "height_map": [
            {
                "value": "Orta"
            }
        ],
        "water_resistance_level": [
            {
                "value": "waterproof"
            }
        ],
        "item_name": [
            {
                "value": "Nika Runner XS Spor Ayakkabı Kırmızı"
            }
        ],
        "brand": [
            {
                "value": "Genel"
            }
        ],
        "bullet_point": [
            {
                "value": "Kısa açıklama notları."
            }
        ],
        "country_of_origin": [
            {
                "value": "TR"
            }
        ],
        "product_description": [
            {
                "value": "Ürün açıklaması"
            }
        ],
        "recommended_browse_nodes": [
            {
                "value": "13808745031"
            }
        ],
        "supplier_declared_dg_hz_regulation": [
            {
                "value": "not_applicable"
            }
        ],
        "supplier_declared_material_regulation": [
            {
                "value": "not_applicable"
            }
        ],
        "manufacturer": [
            {
                "value": "Amazon"
            }
        ],
        "condition_type": [
            {
                "value": "new_new"
            }
        ],
        "model_number": [
            {
                "value": "AMZN-SHOES-1"
            }
        ],
        "model_name": [
            {
                "value": "Runner"
            }
        ],
        "target_gender": [
            {
                "value": "male"
            }
        ],
        "sole_material": [
            {
                "value": "Kauçuk"
            }
        ],
        "toe_style": [
            {
                "value": "Yuvarlak Burun"
            }
        ],
        "leather_type": [
            {
                "value": "Süet"
            }
        ],
        "seasons": [
            {
                "value": "Yaz Kış"
            }
        ],
        "shoe_type": [
            {
                "value": "athletic_shoe"
            }
        ],
        "item_weight": [
            {
                "unit": "grams",
                "value": "300"
            }
        ],
        "department": [
            {
                "value": "Erkek"
            }
        ],
        "outer": [
            {
                "material": [
                    {
                        "value": "Süet"
                    }
                ]
            }
        ],
        "heel": [
            {
                "height": [
                    {
                        "decimal_value": "2.5",
                        "unit": "centimeters"
                    }
                ],
                "type": [
                    {
                        "value": "Düz"
                    }
                ]
            }
        ],
        "item_type_name": [
            {
                "value": "Spor Ayakkabı"
            }
        ],
        "closure": [
            {
                "type": [
                    {
                        "value": "Bağcıklı"
                    }
                ]
            }
        ],
        "shaft": [
            {
                "height": [
                    {
                        "value": "Diz Hizası"
                    }
                ]
            }
        ],
        "size": [
            {
                "value": "42"
            }
        ]
    }
}'
{
    "sku": "NK1234-RED",
    "status": "ACCEPTED",
    "submissionId": "412fe533417542f18542c03a2e370a43",
    "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}}