I apologize for the delayed response about this!
There might more than one issue here, right? Let me know if that is not the case:
You are trying to add inventory to a location “not currently listed” for a product, right?
In that case, are you seeing an error?
If the legacy_id you are referring to is the location ID, you might be able to do the conversion between those two by using Base64 decoder.
This should be available on any code language, but try https://www.base64decode.org/ to see if that makes sense to you. For example:
I got it to convert, Here is the Python Code to connect to shiphero and give a location name so that you can retrieve the location_ID
This is for anyone else that may need some help with the same problem. And also please excuse my lack of any sort of coding formalities. Its like when I do drywall, Its functional, but many times not pretty…
For Anyone that would use this, don’t forget to change the xxx to your token: