---
title: "Set projected sales"
method: PUT
path: "/sales/v1/locations/{locationId}/daily-sales"
tags: ["Sales:Sales V1:Sales Locations:Sales Daily"]
---

# Set projected sales

`PUT /sales/v1/locations/{locationId}/daily-sales`

Set projected sales for a single location for one or more days in a single request. Each item in updates specifies a date and projectedSales value; each date may appear only once. This replaces the projected total for that day and does not modify totalSales. To record or change actual (totalSales) values, use the Create transactions endpoint. Location IDs are available from the Get locations endpoint.

## Path parameters

- `locationId` integer, required — Unique identifier of the location (from the Get locations endpoint).

## Request body

- ProjectedSalesUpdateRequest
  - `updates` ProjectedSalesUpdateItem[], required — List of projected sales updates for this location. Minimum one item. Each date may appear only once in the request.
    - `date` string, required — Calendar date to update, in ISO 8601 format (YYYY-MM-DD).
    - `projectedSales` number, required — Projected sales total for the day. Replaces any existing projected value for that date.

## Response `200`

Successful Response

- APIResponseProjectedSalesUpdateResponse
  - `requestId` string
  - `data` ProjectedSalesUpdateResponse, required
    - `daysAffected` integer, required — Number of days successfully updated in this request.
    - `updatedDays` DailySalesEntry[], required — List of daily sales entries after the update, one per date in the request.
      - `date` string, required — Calendar date for the entry, in ISO 8601 format (YYYY-MM-DD).
      - `locationId` integer, required — Unique identifier of the location (from the Get locations endpoint).
      - `totalSales` number — Total sales for the day, aggregated from transactions. May be null when no transactions exist for that day. To change this value, use the Create transactions endpoint.
      - `projectedSales` number — Projected sales target for the day. Set via Set projected sales. May be null if not set.

## Other responses

- `400` — Invalid parameters (e.g. location not found, duplicate dates in updates).
- `422` — Validation Error

---

[API](https://skmtc.net/connecteam/apis/connecteam-api-documentation.md) · [All operations](https://skmtc.net/connecteam/apis/connecteam-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/connecteam/connecteam-api-documentation/revisions/d8f7f302222e/schema)
