---
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}`

## Request

- Base URL: `https://api.flipdish.co`
- URL: `https://api.flipdish.co/api/v1.0/{appId}/storeordercapacity/{storeId}`
- Auth: OAuth 2 (implicit, authorization URL `https://api.flipdish.co/identity/connect/authorize`, scopes: `api`)

## 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.dev/flipdish/apis/flipdish-open-api-v1-0.md) · [All operations](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/llms.txt) · [OpenAPI document](https://skmtc.dev/flipdish/apis/flipdish-open-api-v1-0/revisions/4d8c2b9e1c13?raw)
