---
title: "Public: get the sale whose pre-launch window is open for an audience"
method: GET
path: "/api/marketing/sales/upcoming"
tags: ["marketing"]
---

# Public: get the sale whose pre-launch window is open for an audience

`GET /api/marketing/sales/upcoming`

## Request

- Base URL: `https://app.luxalgo.com`
- URL: `https://app.luxalgo.com/api/marketing/sales/upcoming`
- Auth: none declared
- TypeScript: <https://skmtc.dev/luxalgo/apis/luxalgo-public-api/docs/api/marketing/sales/upcoming/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `audience` string

## Response `200`

Success. The payload is wrapped in the standard { data, errors } envelope.

- object
  - `data` object, required
    - `sale` object, nullable, required
      - `id` string, required
      - `name` string, nullable, required
      - `heroTheme` string, nullable, required
      - `heroMode` string, nullable, required
      - `colorScheme` string, nullable, required
      - `beginDate` string, nullable, required
      - `endDate` string, nullable, required
      - `hasCountdown` boolean, required
      - `prelaunch` object, required
        - `beginDate` string, nullable, required
        - `h1` string, nullable, required
        - `sub` string, nullable, required
        - `canNotify` boolean, required
      - `phases` object[], required
        - `label` string, required
        - `displayPercent` number, required
        - `beginDate` string, required
      - `perks` object, nullable, required
  - `errors` unknown

## Other responses

- `400`: Validation error — errors[].details carries the zod issues.
- `500`: Unexpected server error.

## Changes

- **2026-09-10** `a67b5113ae70`: 1 info
  - added the required property `data/sale/anyOf[subschema #1]/perks` to the response with the `200` status

[Operation history](https://skmtc.dev/luxalgo/apis/luxalgo-public-api/changes/api/marketing/sales/upcoming/get.md)

---

[API](https://skmtc.dev/luxalgo/apis/luxalgo-public-api.md) - [All operations](https://skmtc.dev/luxalgo/apis/luxalgo-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/luxalgo/apis/luxalgo-public-api/revisions/226c2d642643?raw)
