Katalogdan Ürün Oluşturma İsteği
Örnek istek; B01MU2H7J5 ASIN kodlu ürünü YNG-WTR-3 stok koduyla, 884802801818 barkoduyla, sıfır ürün (new_new) olarak, 100.000₺ fiyat ve 9999 stok adediyle açılacak şekilde kurgulanmıştır.
curl -L -X PUT 'https://sellingpartnerapi-eu.amazon.com/listings/2021-08-01/items/AO0WPKWDI17JQ/YNG-WTR-3?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": PRODUCT,
"requirements": "LISTING_OFFER_ONLY",
"attributes": {
"externally_assigned_product_identifier": [
{
"type": "upc",
"value": "884802801818"
}
],
"merchant_suggested_asin": [
{
"value": "B01MU2H7J5"
}
],
"condition_type": [
{
"value": "new_new"
}
],
"purchasable_offer": [
{
"currency": "TRY",
"our_price": [
{
"schedule": [
{
"value_with_tax": "100000"
}
]
}
]
}
],
"fulfillment_availability": [
{
"fulfillment_channel_code": "DEFAULT",
"quantity": "9999"
}
]
}
}'
{
"sku": "B09VK5YVH6",
"status": "ACCEPTED",
"submissionId": "1b43a91ef4b943aeb633c71e38bf1020",
"issues": []
}
{
"sku": "YNG-WTR-3",
"status": "INVALID",
"submissionId": "94bcc011908d47e9bbaee176af60d997",
"issues": [
{
"code": "90220",
"message": "“condition_type” özelliğinin sağlanması zorunlu ancak sağlanmadı.",
"severity": "ERROR",
"attributeNames": [
"condition_type"
]
}
]
}
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}} |