About the Stores Locations API

The Stores Locations API is a read-only API that provides access to inventory locations for Wix Stores. This API exists to simplify querying locations relevant to Stores inventory, without needing to filter through all business locations.

To create or update locations, use the Wix Locations API. All changes are reflected in this API. Only locations with INVENTORY in the locationTypes array appear in this API.

With the Stores Locations API, you can:

  • Query locations configured for Stores inventory.
  • Retrieve location details for use with the Inventory Items API.
  • Identify the default location for a store.

Creating inventory locations

To create a new inventory location:

  1. Call Create Location in the Wix Locations API.
  2. Include "INVENTORY" in the locationTypes array.

The location then automatically appears in the Stores Locations API.

Default location

When a store is created, a default location is automatically created. This default location is used for inventory items that don't have a specific location assigned.

Before you begin

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

Use cases

Terminology

For a comprehensive glossary of Catalog V3 terms, see Terminology.

Did this help?