- A completely hackish way of editing sellbrite skus using selenium
- Can accomplish basic tasks like
- retrieve stock, upc, bin location, title given a sku
- update stock
- update bin location
- The lack of an api makes batch updates difficult but not impossible, perhaps I will add more to this code. We'll try not to spam sellbrite's servers too much though.
- rename
your.data
to sb.data
- fill in the ??? with the appropriate data.
- Assuming we have a sku 1234
from sellbrite import Sellbrite
sb = Sellbrite()
info = sb.getDetailedInfo("1234")
- Here, info is a dictionary that looks like:
{"title": title, "bin": bin_loc, "quantity": quantity, "upc": upc}
sb.updateQuantity("1234", "10") # update sku 1234 with quantity 10
sb.updateBinLocation("1234", "A100") # update sku 1234 with location A100
https://opensource.org/licenses/MIT