The Stores Locations API is read-only and provides access to inventory locations for Wix Stores.
To create or update locations, use the Wix Locations API. Only locations with INVENTORY in the locationTypes array will appear in this API.
Each inventory item is associated with a location. A location can be a physical place like a warehouse or retail store, or a virtual location for online-only stores.
When a store is created, a default Stores location is automatically created. This default location is used for all inventory items that don't have a specific location assigned.
To create a new inventory location:
"INVENTORY" in the locationTypes array.The location will then automatically appear in the Stores Locations API.
All updates and deletions must be done through the Wix Locations API and will be reflected in the Stores Locations API.
It's important to note the following points before starting to code: