> ## Documentation Index
> Fetch the complete documentation index at: https://help.maestra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Happy Hour: Promotions by Store Local Time

A happy hour is a promotion that gives customers a discount or points during certain hours of the day. In Maestra Platform, you can run it on each store's local time: a 2:00–4:00 PM discount starts at 2:00 PM Los Angeles time in Los Angeles, and at 2:00 PM New York time in New York.

> [!WARNING]
>
> **Limitations:**
>
> * **Earning and spending points follows your account's time zone.** Only the availability conditions (hours and days of the week) and the promotion's start and end use local time.
> * **Limits aren't available.** When the promotion uses the *Store local time* mode, you can't set [limits](https://help.maestra.io/loyalty/how-to-set-promotion-limits.md).

## Before you start

Every store needs:

* a touchpoint,
* an area with a time zone,
* a store linked to the touchpoint.

### Create a touchpoint

A touchpoint is a place or way you interact with customers: a store, a website, a mobile app. For brick-and-mortar retail, you usually create a separate touchpoint for each store.

* **If the touchpoint already exists:** go to **Settings → Customers and actions → Touchpoints**, find it, and note its external ID.
* **If it doesn't exist yet:** [create the touchpoint by hand](https://help.maestra.io/customers-orders-and-products/actions/channels-and-touchpoints/touchpoints/how-to-create-a-touchpoint.md) or use [bulk import](https://help.maestra.io/import-data/references/how-to-import-touchpoints.md).

> [!TIP]
>
> Save the touchpoint's external ID — you'll need it when you [import the store](#import-the-store).

### Create an area with a time zone

In Maestra Platform, an area is the region where a store, customer, or product is located. [Import your areas](https://help.maestra.io/import-data/references/how-to-import-areas) with their time zones in the `TimeZone` column, so the promotion can tell which time zone each store is in. Use the values from the *TZ identifier* column in the [list of time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).

Here's an example import:

```
ExternalId;ParentExternalId;Name;TimeZone
area-001;;New York area;America/New_York
area-002;;Los Angeles area;America/Los_Angeles
```

### Import the store

A store is the entity that links a retail location to a touchpoint and an area. For now, you can only import stores through the API.

> [!TIP]
>
> You can import stores yourself using Postman, or hand the task to your developers.

Here's an example request:

```
ExternalId;Name;Category;PriceAreaExternalId;AreaExternalIds;PointOfContactExternalId
store-001;Broadway store;OfflineStore;default-price-area;area-001;store-nyc-broadway
store-002;Los Angeles store;OfflineStore;default-price-area;area-002;store-los-angeles
```

## Set up the promotion

Once your stores are ready, you can set up the promotion itself.

**1. Create the promotion**

Create a new [discount promotion](https://help.maestra.io/loyalty/how-to-create-a-discount-promotion.md) or [bonus points promotion](https://help.maestra.io/loyalty/how-to-create-a-bonus-points-promotion.md).

**2. Fill in the general settings**

Enter the name, description, and start and end dates.

**3. Switch to local time**

In the **General settings** block, find the **Time zone** setting and switch it to **Local time**.

This mode applies right away to the promotion's start and end settings, and to every time setting in the availability conditions — hours and days of the week.

**4. Set the hours**

Go to the **Availability conditions** block. Set when the promotion runs in **Available during hours** — for example, 2:00 PM to 4:00 PM. If you need to, choose the days of the week too.

If the promotion should run around the clock, leave **Available during hours** empty but keep the *Local time* mode, so the start and end dates work correctly.

**5. Choose the places**

In the **Places** block, keep the channels and areas where the promotion should run. To limit it to specific stores, pick them explicitly.

**6. Fill in the rest**

Fill in the **Customers**, **Products**, **Benefit**, and **Arbitration** blocks as your promotion needs.

**7. Click Start**

When everything's ready, click **Start**. Until then, the promotion stays a draft and isn't used in calculations.

## What if some stores don't have a time zone

The promotion starts only for touchpoints that have a time zone. For the rest, an error like this shows up under **Issues**: *The promotion doesn't work at touchpoint `<touchpoint name>` because the store's time zone isn't set.*

To fix it, do one of the following:

* [Import the store's area](#create-an-area-with-a-time-zone) again with the `TimeZone` column filled in.
* Pick a different area for the store that has a time zone, then [import the store](#import-the-store) again to link them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.