So all of my listings for some reason cannot have shipping calculated for them. I have a location and every inventoryItem has had its availability set like the example below
"availability": { "shipToLocationAvailability": { "availabilityDistributions" : [ { "quantity": 1, "merchantLocationKey": "onlyLocation" } ], "quantity": 1 } }
when I get my inventory items withgetInventoryItems
I get the following.
"inventoryItems": [ { "sku": "510", "product": { ... "availability": { "pickupAtLocationAvailability": [ { "merchantLocationKey": "onlyLocation" } ], "shipToLocationAvailability": { "quantity": 1 } } },
This is weird since I didn't set a pickupAtLocationAvailability. When I get this item specifically though I get.
"availability": { "shipToLocationAvailability": { "availabilityDistributions": [ { "merchantLocationKey": "onlyLocation", "quantity": 1 } ], "quantity": 1, "allocationByFormat": { "auction": 0, "fixedPrice": 1 } } }
Which looks correct.
So why cant the listing I create calculate shipping? Because of this users can't buy my items!