A service list containing one or more service items.
JSON representation | |
---|---|
{
"name": string,
"serviceItems": [
{
object ( |
Fields | |
---|---|
name |
Required. Google identifier for this location in the form: |
serviceItems[] |
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 ( |
Fields | ||
---|---|---|
isOffered |
Optional. This field decides whether or not the input service is offered by the merchant. |
|
price |
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 |
This field will be set case of structured services data. |
|
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 |
Required. The |
description |
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 ( |
Fields | |
---|---|
categoryId |
Required. The |
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. |