ServiceSales

Returns Service sales for a location and date range

Changed on
    Returns all service sales for a date range, location and/or staff
  
get/service_sales

Request

  • Base URL
    https://partners-api.mytime.com/api
  • Auth
    API key in header X-Api-Key

Query parameters

employee_partner_idstring

The employee's id

employee_mytime_idinteger

The employee's mytime id

location_partner_idstring

The location's id

location_mytime_idinteger

The location's mytime id. Either location_mytime_id or location_partner_id should be present

start_datestring required

The start date for the clocking e.g.: 2020-10-22

end_datestring required

The end date for the clocking e.g.: 2020-11-22. Maximum date range between start and end date is 2 months

pagestring

Pagination - results page number, starting at 1

per_pagestring

Pagination - number of results per per_page. Default: 20. Maximum: 20

Headers

X-Subdomainstring

Merchant subdomain - Optional

Response

Staff Clocking response

Changes

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter per_page

    • info

      added the non-success response with the status