Configure a store
Configure a store
Create a store whose publications, prices, and stock can be verified independently. This guide uses one distribution channel, one price channel, and one supply channel for a small lamp catalog. The names are examples, not required Thor conventions.
Before you begin
Use a trusted Admin connection with permission to manage stores and channels. Check for existing configuration first. If suitable channels already exist, retain their IDs and skip their creation. Read Stores and channels if you are deciding what several stores should share.
1. Create the channels
Run this operation for each required channel:
Create Web prices with slug web-prices and flag PRICE.
Create Main stock with slug main-stock and flag SUPPLY.
Keep the returned IDs by responsibility.
A slug conflict is a reason to inspect an existing channel, not to keep generating new slugs.
2. Connect the store
Replace every placeholder with a returned channel ID. The rounding values are an explicit example; select the policy appropriate for your project. Store creation does not create currency prices or publish products.
3. Verify the configuration
Confirm the response includes exactly the intended channel relationships and no business errors. Keep a small configuration record containing the project slug, store ID, and three channel IDs. Use that same record in subsequent catalog and storefront steps.
If a channel is rejected, check its flag, status, and project before retrying. If Storefront later returns no products, continue through publication and commercial setup rather than creating another store.
Next, Create and publish a product.