## Create Stores `StoreCreateStoresResponse Stores.CreateStores(StoreCreateStoresParams?parameters, CancellationTokencancellationToken = default)` **post** `/api/v2/public/stores` Creates or updates stores. ### Parameters - `StoreCreateStoresParams parameters` - `Boolean flush` Query param: When true, removes existing stores before inserting. - `IReadOnlyList? stores` Body param: The list of stores to create or update. - `required Boolean IsActive` - `required Boolean IsActiveDataExchange` - `required Boolean IsWarehouse` - `required string StoreName` Display name of the store. - `required string StoreNumber` Unique store number identifier. - `string? Address` - `string? AreaDescription` - `string? AreaID` - `Long? AreaManagerUserID` - `string? City` - `string? ContactDetails` - `string? CostCenter` - `string? CountryCode` - `string? CountryName` - `string? EslServerPath` - `IReadOnlyList? FreeFields` - `string? Key` - `Int SortOrder` - `string? Value` - `string? IPRangeBegin` - `string? IPRangeEnd` - `string? LocalServerPath` - `IReadOnlyList? OpeningHours` - `string? Key` - `Int SortOrder` - `string? Value` - `IReadOnlyList? OrderingSchema` - `required Int Day` - `required Int DeliveryOffset` - `required DateTimeOffset Time` - `string? CategoryCode` - `Int OrderingOffset` - `string? WeekNumbers` - `string? PhoneNumber` - `string? PostalCode` - `Int? PriceLineID` - `string? StoreGln` - `DateTimeOffset? StoreNextDeliveryDatetime` - `DateTimeOffset? StoreNextOrderingDatetime` - `IReadOnlyList? StorePrinters` - `required Boolean IsBluetooth` - `string? PrinterIP` - `string? PrinterName` - `string? PrinterSerial` - `Int PrinterType` - `string? Vendor` - `string? StoreStockPool1` - `string? StoreStockPool10` - `string? StoreStockPool2` - `string? StoreStockPool3` - `string? StoreStockPool4` - `string? StoreStockPool5` - `string? StoreStockPool6` - `string? StoreStockPool7` - `string? StoreStockPool8` - `string? StoreStockPool9` - `string? StoreTypeCode` - `string? StoreTypeDescription` ### Returns - `class StoreCreateStoresResponse:` Standard success response returned by mutation endpoints. - `string? Data` Optional data payload returned by the operation. - `string? Message` Human-readable message describing the result. - `Boolean Success` Indicates whether the operation completed successfully. ### Example ```csharp StoreCreateStoresParams parameters = new(); var response = await client.Stores.CreateStores(parameters); Console.WriteLine(response); ```