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

## 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.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/revisions/a72c0465da74/schema)
