Bu metod, genellikle son ürün güncellemesinde resim hatalarıyla karşılaşan ürünleri tanımlamak ve hatanın nedenini belirlemek için kullanılır. Bir güncelleme sırasında resim hatası oluştuğunda, buradaki kayıt da güncellenir. Tüm resimler başarıyla işlenirse, kayıt kaldırılır.
https://integration-api.pttavm.com/api/v1/products/get-by-barcodesPOSTApi-Key zorunluaccess-token zorunluContent-Type: application/jsoncurl https://integration-api.pttavm.com/api/v1/products/get-faulty-images \
--request POST \
--header 'Api-Key: ' \
--header 'Access-Token: ' \
--header 'Content-Type: application/json' \
--data '{
"productBarcodes": [
""
],
"paginationParameters": {
"pageNumber": 1,
"pageSize": 1
}
}'
{
"productImagesWithErrorList": [
{
"productBarcode": null,
"infos": [
{
"order": 1,
"url": null,
"errorReason": null,
"occurredAt": "2026-01-23T10:30:58.252Z"
}
]
}
],
"success": true,
"message": null
}
| Parametre | Tür | Açıklama |
|---|---|---|
| PageNumber | integer | Sayfa numarası ( 1'den başlar.) |
| PageSize | integer | Sayfa başına kayıt sayısı. |
| ProductBarcodes | string | Ürün barkod listesi (opsiyonel) |
| Barcode | string | İlk,ikinci,üçüncü ürünün barkod numarasını içerir. |
| Message | string | İşlem mesajı |
| Success | boolean | İşlem başarı durumu |
| ProductImagesWithErrorList | array | Ürün görseli hatalarını içeren liste |
| Infos | array | Ürün görseli hata detayı |
| ErrorReason | string | Hata nedeni |
| OccurredAt | DateTime | Hata oluşma tarihi |
| Order | int | Görüntü dizisindeki sıralama |
| Url | string | Resmin URL'i |