PUT /business_ranges/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/business_ranges/:id

Update business hours

Updates a business hours range's open times or order by id.

Params

Param name Description
open_times
Optional

Define the days and hours that are open. EX:

{:day=>0, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>1, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>2, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>3, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>4, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>5, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>6, :time_from=>“00:00”, :time_to=>“23:59”}
  • Must be an array of any type

sortable_order
Optional Blank value allowed

The order in which records will be sorted. Values are sorted in ascending order; smaller values are listed first.

  • Must be a decimal number.