Configure a store

Outcome: an active store connected to one distribution, price, and supply channel for the Copenhagen Lamp fixture.

Prerequisites

Use the Admin API from a trusted service with permission to create channels and stores. Choose stable slugs for dk-web, dk-price, and dk-warehouse.

1. Create the channels

Run this operation three times with the corresponding flag:

Code in graphql
Code in json

Create DK Prices with PRICE and DK Warehouse with SUPPLY. Retain all three IDs. A slug conflict or invalid flag appears in the typed payload errors; correct it before creating the store.

2. Create the store

Code in graphql
Code in json

Verify

Query the returned store ID and confirm that each connection contains the intended channel with the required flag. Store the store, price-channel, distribution-channel, and supply-channel IDs together as the fixture context.

Next, create and publish a product. See Stores and channels for the model.