04-23-2024 07:00 AM
I am trying to update product inventory and price without overwriting other product details.
The issue starts when i fetch InventoryItem Details using the Inventory Item APi:
Response Body:
{
"sku": "L7120172",
"locale": "de_DE",
"product": {
"title": "Schaukelsitz Kunststoff grün",
"aspects": {
"Marke": [
"KBT"
],
"Farbe": [
"Grün"
],
"Produktart": [
"Schaukelsitze"
],
"Material": [
"Kunststoff"
],
"Anzahl pro Packung": [
"1"
]
},
"ean": [
"5413050011448"
],
"imageUrls": [
"https://res.cloudinary.com/holzlandbecker/image/upload/v1686833963/produkte/L7120172/750723_2_neu.jpg"
]
},
"condition": "NEW",
"packageWeightAndSize": {
"dimensions": {
"width": 17,
"length": 42,
"height": 9,
"unit": "CENTIMETER"
},
"weight": {
"value": 0,
"unit": "KILOGRAM"
},
"shippingIrregular": false
},
"availability": {
"shipToLocationAvailability": {
"quantity": 1776,
"allocationByFormat": {
"auction": 0,
"fixedPrice": 1776
}
}
}
}
The issue is that the api returns 1 picture even though my product has more then 1
, so if i use the data i got in the response i would overwrite the imageurls value and it would result on deleting the pictures I assigned to the product already.
How can i solve this
05-01-2024 02:32 PM
Hi @holzprofi24_de ,
I am sorry to hear that you are having this issue.
Do you still have the issue. Kindly let us know. We will take look and help in resolving it.
Regards,
eBay Support Team