Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.04 KB

update-location-request.md

File metadata and controls

44 lines (35 loc) · 1.04 KB

Update Location Request

The request object for the UpdateLocation endpoint.

Structure

UpdateLocationRequest

Fields

Name Type Tags Description Getter Setter
location ?Location Optional Represents one of a business' locations. getLocation(): ?Location setLocation(?Location location): void

Example (as JSON)

{
  "location": {
    "business_hours": {
      "periods": [
        {
          "day_of_week": "FRI",
          "end_local_time": "18:00",
          "start_local_time": "07:00"
        },
        {
          "day_of_week": "SAT",
          "end_local_time": "18:00",
          "start_local_time": "07:00"
        },
        {
          "day_of_week": "SUN",
          "end_local_time": "15:00",
          "start_local_time": "09:00"
        }
      ]
    },
    "description": "Midtown Atlanta store - Open weekends"
  }
}