cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

bulkUpdatePriceQuantity - availabilityDistributions doesn't seem to do anything

Hello, I want to keep inventory updated per warehouse and have the listing show the delivery time from each warehouse depending on the customer's location. The only way I've been able to do this is with the createOrReplaceSkuLocationMapping call, but I have to do this for each sku independently and separately from the call to update the inventory. Also, this does not let me specify the amount per location. bulkUpdatePriceQuantity seems to offer this in the 'availabilityDistributions' field, but I have not been able to get this to have any effect on the item listing. Has anyone been able to map inventory per location in the bulkUpdatePriceQuantity call?

 

Example:

{'requests': [

{'shipToLocationAvailability':

{'availabilityDistributions': [

{'merchantLocationKey': 'WestCoast', 'quantity': 0},

{'merchantLocationKey': 'EastCoast', 'quantity': 10},

],

'quantity': 10},

'sku': 'exampleSKU'}]}

 

In this example call, if I am checking the shipping from the west coast, it will tell me the item's delivery time from the west coast instead of the east coast. 

Message 1 of 1
latest reply
0 REPLIES 0