---
title: "POST /api/v1.0/stores/{storeId}/leadTimes"
method: POST
path: "/api/v1.0/stores/{storeId}/leadTimes"
tags: ["Stores"]
---

# POST /api/v1.0/stores/{storeId}/leadTimes

`POST /api/v1.0/stores/{storeId}/leadTimes`

## Request

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

## Path parameters

- `storeId` integer, required

## Request body

- LeadTime
  - `DispatchType` string, required: There are two valid values for this field - `collection` and `delivery`.
  - `LeadTimeMinutes` integer, required: This must be a positive integer.

## Response `200`

OK

- RestApiResultOrderLeadTimes: Rest api result
  - `Data` OrderLeadTimes, required: When orders are accepted, and no lead time is specified by the operator, this is the lead time that will be applied to the order.
    - `LeadTimeMinutes` object: Mapping from the type of order to, to the default lead time that will be applied to those orders. The lead time is an integer number of minutes.

## 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/ec0c138b13ca?raw)
