Set projected 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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Unique identifier of the location (from the Get locations endpoint).

Body Params
updates
array of objects
required
length ≥ 1

List of projected sales updates for this location. Minimum one item. Each date may appear only once in the request.

Updates*
string
required

Calendar date to update, in ISO 8601 format (YYYY-MM-DD).

number
required

Projected sales total for the day. Replaces any existing projected value for that date.

Responses

400

Invalid parameters (e.g. location not found, duplicate dates in updates).

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json