---
title: "Temporary Close Location with a reopening date"
method: POST
path: "/automations/temporary-close-location-with-reopening-date"
tags: ["Automations"]
---

# Temporary Close Location with a reopening date

`POST /automations/temporary-close-location-with-reopening-date`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/automations/temporary-close-location-with-reopening-date`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/automations/temporary-close-location-with-reopening-date/post.ts> (a function with typed inputs; its response is checked against the schema)

Temporary close a location with a reopening date.
Note : Ensure your account has automation part of your subscriptions. This functionality is supported only for Google and Facebook Listings.

## Request body

- object
  - `input` object, required
    - `name` string, required
    - `startDate` string, required
    - `startTime` string, required
    - `endDate` string, required
    - `locationId` string, required

## Response `200`

- object
  - `data` object, required
    - `createFlowFromRecipe` object, required
      - `success` boolean, required
      - `flow` object, required
        - `id` string, required

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
