ServiceList

A service list containing one or more service items.

JSON representation
{
  "name": string,
  "serviceItems": [
    {
      object (ServiceItem)
    }
  ]
}
Fields
name

string

Required. Google identifier for this location in the form: accounts/{accountId}/locations/{locationId}/serviceList

serviceItems[]

object (ServiceItem)

Service items that are contained within this service list. Duplicated service items will be removed automatically.

ServiceItem

A message that describes a single service item. It is used to describe the type of service that the merchant provides. For example, haircut can be a service.

JSON representation
{
  "isOffered": boolean,
  "price": {
    object (Money)
  },

  // Union field service_item_info can be only one of the following:
  "structuredServiceItem": {
    object (StructuredServiceItem)
  },
  "freeFormServiceItem": {
    object (FreeFormServiceItem)
  }
  // End of list of possible types for union field service_item_info.
}
Fields
isOffered

boolean

Optional. This field decides whether or not the input service is offered by the merchant.

price

object (Money)

Optional. Represents the monetary price of the service item. We recommend that currencyCode and units should be set when including a price.

Union field service_item_info. One of the following fields should always be set. service_item_info can be only one of the following:
structuredServiceItem

object (StructuredServiceItem)

This field will be set case of structured services data.

freeFormServiceItem

object (FreeFormServiceItem)

This field will be set case of free-form services data.

StructuredServiceItem

Represents a structured service offered by the merchant. For eg: toilet_installation.

JSON representation
{
  "serviceTypeId": string,
  "description": string
}
Fields
serviceTypeId

string

Required. The serviceTypeId field is a Google provided unique ID that can be found in ServiceTypeMetadata. This information is provided by categories.batchGet rpc service.

description

string

Optional. Description of structured service item. The character limit is 300.

FreeFormServiceItem

Represents a free-form service offered by the merchant. These are services that are not exposed as part of our structure service data. The merchant manually enters the names for of such services via a geomerchant surface.

JSON representation
{
  "categoryId": string,
  "label": {
    object (Label)
  }
}
Fields
categoryId

string

Required. The categoryId and serviceTypeId should match the possible combinations provided in the Category message.

label

object (Label)

Required. Language-tagged labels for the item. We recommend that item names be 140 characters or less, and descriptions 250 characters or less. This field should only be set if the input is a custom service item. Standardized service types should be updated via serviceTypeId.