v1Resources/Locations/postAdd a service

Add a service

Adds one service to the location's list and re-publishes the full list to Google (Google has no atomic add — every save replaces the whole array).

post/api/v1/locations/{id}/services
locations:write
Query parameters
idstringrequired
Request body
namestringrequired
Service name.
descriptionstringoptional
Service description.
pricenumberoptional
Service price.
currencystringoptional
Currency code for the price.
googleServiceTypeIdstringoptional
Google's structured service-type id, if matched to one.
Response
dataobjectoptional
servicesarray of objectoptional
namestringrequired
Service name.
descriptionstringoptional
Service description.
pricenumberoptional
Service price.
currencystringoptional
Currency code for the price.
googleServiceTypeIdstringoptional
Google's structured service-type id, if matched to one.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
post/api/v1/locations/{id}/services
Your API key
id *
Request body*
{
  "data": {
    "services": [
      {
        "name": "Teeth Whitening",
        "description": null,
        "price": 150,
        "currency": "USD",
        "googleServiceTypeId": null
      }
    ]
  }
}