About the Wix Stores Locations

The Wix Stores Locations API is Read Only and provides access to online stores inventory locations data. To create or update the locations you should use the Wix Locations API. Only inventory type locations will be shown in the WixStoresLocations API. Each online stores inventory item is associated with a location. The location is a physical or virtual place where the item is stored. The location can be a warehouse, a store, or any other place where the item is kept.

When a store is created automatically a default online stores location is created. This location is used for all the items that don't have a specific location assigned.

Major functionality

The WixStoresLocationService API exposes read only functionality for having wix stores locations data. In order to create a new location that will be associated with your site you should call the Wix Locations API Create Location endpoint and after the creation you should update the location to be inventory type by calling Update Location endpoint. After complete those steps you will see the new location in the WixStoresLocationService API. Every update or delete action should be done in the Wix Locations API and will be reflected to WixStoresLocations.

Before you begin

It’s important to note the following points before starting to code:

  • The site owner must have the Wix Stores app installed.
  • Your app has the necessary permissions to access the WixStoresLocations API.

Sample flows

Terminology

  • StoresLocation: business inventory location.
  • Virtual Location: a location that is not a physical location like online stores without warehouse.
  • Default location: online stores default location .
  • Wix Location: wix site locations.
Was this helpful?
Yes
No