v1

latestOpenAPI 3.0.22026-07-24154101.1 MB
Reports

Create Sales Forecast Override Interval

Overrides the project sales interval of 15 minutes or 1 hour.

post/v2/company/{company_id}/locations/{location_id}/forecast_override_interval

Path parameters

company_idinteger required

Company ID

location_idinteger required

Location ID

Headers

x-api-versionstring

An API version

Example:2022-05-01

7shifts API version

x-company-guidstring uuid

Company GUID

Request body

department_idinteger nullable

Department ID

startstring date-time required

Starting date/time (UTC) of the interval for which you wish to update the sales projection.

endstring date-time required

Ending date/time (UTC) of the interval for which you wish to update the sales projection.

valueinteger required

Override value. Currency value in cents. Only whole dollars are accepted.

report_type'sales'

Type of value to override. Default is sales

Example request

{
  "start": "2020-12-30T20:00:00Z",
  "end": "2020-12-30T20:15:00Z",
  "value": 1234
}

Response

No Content