Creates or updates stores.
StoreCreateStoresResponse Stores.CreateStores(StoreCreateStoresParams?parameters, CancellationTokencancellationToken = default)
POST/api/v2/public/stores
Creates or updates stores in bulk. When flush is true, removes existing stores before inserting.
ParametersExpand Collapse
StoreCreateStoresParams parameters
StoreCreateStoresParams parameters
IReadOnlyList<Store>? storesBody param: The list of stores to create or update.
IReadOnlyList<Store>? stores
Body param: The list of stores to create or update.
IReadOnlyList<OpeningHour>? OpeningHoursOpening hours for the store, as key/value pairs (e.g. day → 09:00-18:00).
IReadOnlyList<OpeningHour>? OpeningHours
Opening hours for the store, as key/value pairs (e.g. day → 09:00-18:00).
DateTimeOffset? StoreNextDeliveryDatetime
Next scheduled delivery datetime for the store.
formatdate-time
DateTimeOffset? StoreNextOrderingDatetime
Next scheduled ordering datetime for the store.
formatdate-time
ReturnsExpand Collapse
Creates or updates stores.
StoreCreateStoresParams parameters = new();
var response = await client.Stores.CreateStores(parameters);
Console.WriteLine(response);{
"success": true,
"data": "data",
"message": "message"
}Returns Examples
{
"success": true,
"data": "data",
"message": "message"
}