getStoresLocation( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a Stores location.

Permissions
Manage Stores - all permissions
Read Stores - all read permissions
Manage Orders
Manage Products
Read Products
Manage Restaurants - all permissions
Read v3 catalog
Manage v3 catalog
Read inventory in v3 catalog
Read Stores Locations in v3 catalog
Learn more about app permissions.
Method Declaration
Copy
function getStoresLocation(storesLocationId: string): Promise<StoresLocation>;
Method Parameters
storesLocationIdstringRequired

Stores location ID.

Returns
Return Type:Promise<StoresLocation>
JavaScript
import { storesLocationsV3 } from "@wix/stores"; async function getStoresLocation(storesLocationId) { const response = await storesLocationsV3.getStoresLocation(storesLocationId); }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?