Hello all,
We've been trying to update the quantity attached to an inventory item for different merchant locations on the sandbox sandbox
Request payload like this:
Post: https://api.sandbox.ebay.com/sell/inventory/v1/bulk_update_price_quantity
{ "requests": [ { "shipToLocationAvailability": { "availabilityDistributions": [ { "merchantLocationKey": "12341234", "quantity": 10 }, { "merchantLocationKey": "56785678", "quantity": 10 } ], "quantity": 1200 }, "sku": "SKU" } ] }
The response is successful.
When I then call get inventory for the sku it gives back some of the payload:
"shipToLocationAvailability": { "availabilityDistributions": [ { "merchantLocationKey": "12341234", "fulfillmentTime": { "value": 2, "unit": "DAY" }, "quantity": 100 }, { "merchantLocationKey": "56785678", "fulfillmentTime": { "value": 2, "unit": "DAY" }, "quantity": 25 } ], "quantity": 1200,
My question is why have the quantities per location not updated?
it matches the original quantities using the https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/createOrReplaceInventoryItem.
Is this not how the endpoint should behave?
My understanding is that I can update the quantities per location.
Many thanks,
Matt