---
title: "POST /api/v1.0/{appId}/storeordercapacity/{storeId}"
method: POST
path: "/api/v1.0/{appId}/storeordercapacity/{storeId}"
tags: ["StoreOrderCapacity"]
---

# POST /api/v1.0/{appId}/storeordercapacity/{storeId}

`POST /api/v1.0/{appId}/storeordercapacity/{storeId}`

## Path parameters

- `storeId` integer, required
- `appId` string, required

## Query parameters

- `deliveryType` 'Delivery' | 'Pickup', required

## Request body

- StoreOrderCapacityConfigEditModel — Represents one store's order capacity configuration edit
  - `OrderCapacityPeriods` StoreOrderCapacityPeriod[] — Order capacity periods
    - `MaxOrderNumberPerStoreInterval` integer — The maximum number of orders per each store order interval in this order capacity period. E.g. for a period from 9:00 till 11:00, if the store's interval is 10 minutes, and MaxOrderNumberPerStoreInterval is set to 5, it means that within each 10-minute interval between 9:00 and 11:00 (i.e. 9:00-9:10, 9:10-9:20, .. , 10:50-11:00) it will be possible to request at most 5 orders.
    - `DayOfTheWeek` 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' — Day of the week the period pertains to
    - `PeriodStartHour` integer — The hour the period starts at
    - `PeriodStartMinutes` integer — The minutes after the hour the period starts at
    - `PeriodEndHour` integer — The hour the period ends at
    - `PeriodEndMinutes` integer — The minutes after the hour the period ends at

## Response `200`

OK

## Other responses

- `400` — BadRequest
- `401` — Authentication has been denied for this request.
- `403` — Successful authentication, but authorization has been denied for this request.
- `404` — NotFound

---

[API](https://skmtc.net/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.net/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flipdish/flipdish-open-api-v1-0/versions/a72c0465da74/schema)
