# Get Sales **GET /f/v2/business-location/{businessLocationId}/sales** Returns financial data for a business location for a specified date range. Sorted by the `timeClosed` field of the sales. ## Servers - Demo URL: https://api.trial.lsk.lightspeed.app (Demo URL) - Production URL: https://api.lsk.lightspeed.app (Production URL) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **businessLocationId** (integer(int64)) The unique identifier for the business location. ### Query parameters - **from** (string(date-time)) Start of requested results, in ISO 8601 format. The date range between 'from' and 'to' cannot exceed 365 days (1 year). Based on the timeClosed sales field. - **to** (string(date-time)) End of requested results, in ISO 8601 format. Based on the timeClosed sales field. If the `to` date is set to a future date or not included, it will be adjusted to the current date and time to retrieve the most recent data available. - **include** (string) Objects to be included in the response. The allowed values are: `staff`, `table`, `consumer`, `payments`, `revenue_center`, `account_profile`, `payment_authorization`. - **pageSize** (integer(int32)) Number of entries to return. - **nextPageToken** (string) A token that indicates the starting point of the next set of records when paginating through results. ## Responses ### 200 Financial data returned successfully. #### Body: application/json (object) - **sales** (array[object]) Array of sale objects. - **nextPageToken** (string) Token to use to get the next page of results, if applicable. ### 400 Bad Request - Invalid request parameters or format. #### Body: application/json (object) - **error** (string) ### 500 Internal Server Error - An error occurred on the server. #### Body: application/json (object) - **timestamp** (string(date-time)) - **path** (string) - **status** (integer(int32)) - **error** (string) - **requestId** (string) [Powered by Bump.sh](https://bump.sh)