服务价格解读
价格是必填字段。请查看示例(如向用户显示),以确定如何在 Feed 中表示价格。
示例
价格解读:
INTERPRETATION_EXACT 向用户显示:$39.99
{
"service_price": {
"price_interpretation": "INTERPRETATION_EXACT",
"min_price": {
"price_micros": 39990000,
"currency_code": "USD"
}
}
}
向用户显示:免费
{
"service_price": {
"price_interpretation": "INTERPRETATION_EXACT",
"min_price": {
"price_micros": 0,
"currency_code": "USD"
}
}
}
价格解读:
INTERPRETATION_STARTS_AT 向用户显示:最低 0.00 美元
{
"service_price": {
"price_interpretation": "INTERPRETATION_STARTS_AT",
"min_price": {
"price_micros": 0,
"currency_code": "USD"
}
}
}
向用户显示:25.00 美元起
{
"service_price": {
"price_interpretation": "INTERPRETATION_STARTS_AT",
"min_price": {
"price_micros": 25000000,
"currency_code": "USD"
}
}
}
价格解读:
INTERPRETATION_RANGE:向用户显示:$15.00 - $25.00
{
"service_price": {
"price_interpretation": "INTERPRETATION_RANGE",
"min_price": {
"price_micros": 15000000,
"currency_code": "USD"
},
"max_price": {
"price_micros": 25000000,
"currency_code": "USD"
}
}
}
价格解读:INTERPRETATION_NOT_DISPLAYED
向用户显示的价格:不会向用户显示任何价格
{
"service_price": {
"price_interpretation": "INTERPRETATION_NOT_DISPLAYED"
}
}
我们强烈建议提供服务说明,但并非强制性要求,因为我们了解,某些服务的含义不言自明,并非所有商家都提供。如果服务说明与服务名称相同,我们建议将说明留空,以避免冗余。不过,系统不会强制执行此操作。
示例
如果为某项服务提供了服务说明,则:
{
"localized_service_description": {
"value": "Consultation to learn more about your hair coloring needs and schedule the reservation.",
"Localized_value": {
"locale": "en",
"value": "Consultation to learn more about your hair coloring needs and schedule the reservation."
}
}
}
如果没有为相应服务提供任何服务说明:
如果提供的服务说明超过 120 个字符,则说明将被截断:
{
"localized_service_description": {
"value": "Keratin smoothing treatments repair damage, block humidity, and reduce frizz while restoring the hair’s strength & vibrance for healthier hair. Treatment times may vary.",
"Localized_value": {
"locale": "en",
"value": "Keratin smoothing treatments repair damage, block humidity, and reduce frizz while restoring the hair’s strength & vibrance for healthier hair. Treatment times may vary."
}
}
}
服务类别和排名提示 排名提示既会影响服务类别中服务的排序,也会影响类别本身的排序。系统会假定某个类别的排名提示是该类别中所有项的最低排名提示。请注意,其他因素也可能影响最终排名,例如价格、用户历史记录等。建议的方法是为所有服务定义总排序,即为每个服务分配一个唯一的整数排名提示,并确保排名提示值在类别之间不重叠。例如,如果我们想要按照类别和服务的首选顺序排列:只有在可以单独预订(没有主要服务)时,插件才能添加为自己的类别
示例
{
"data": [
{
"merchant_id":"merchant-1",
"service_id": "services-1",
"localized_service_name": {
"value": "Classic Shave"
},
"localized_service_category": {
"value": "Barber"
},
"service_price": {
"price_interpretation": "INTERPRETATION_STARTS_AT",
"min_price": {
"price_micros": 25000000,
"currency_code": "USD"
}
},
"service_duration": {
"duration_interpretation": "INTERPRETATION_EXACT",
"min_duration_sec": 4500
},
"action_link": [
{
"url": "https://www.rwgpartnerwebsite.com/appointment/service-1/in-person-1",
"language": "en"
}
],
"ranking hint": {
"score": 1
}
},
{
"merchant_id":"merchant-1",
"service_id": "services-2",
"localized_service_name": {
"value": "Beard Trim"
},
"localized_service_category": {
"value": "Barber"
},
"service_price": {
"price_interpretation": "INTERPRETATION_STARTS_AT",
"min_price": {
"price_micros": 20000000,
"currency_code": "USD"
}
},
"service_duration": {
"duration_interpretation": "INTERPRETATION_EXACT",
"min_duration_sec": 1500
},
"action_link": [
{
"url": "https://www.rwgpartnerwebsite.com/appointment/service-1/in-person-1",
"language": "en"
}
],
"ranking hint": {
"score": 2
}
},
{
"merchant_id":"merchant-1",
"service_id": "services-3",
"localized_service_name": {
"value": "Massage Shampoo"
},
"localized_service_category": {
"value": "Shampoo"
},
"service_price": {
"price_interpretation": "INTERPRETATION_STARTS_AT",
"min_price": {
"price_micros": 15000000,
"currency_code": "USD"
}
},
"service_duration": {
"duration_interpretation": "INTERPRETATION_EXACT",
"min_duration_sec": 1500
},
"action_link": [
{
"url": "https://www.rwgpartnerwebsite.com/appointment/service-1/in-person-1",
"language": "en"
}
],
"ranking hint": {
"score": 3
}
},
{
"merchant_id":"merchant-1",
"service_id": "services-4",
"localized_service_name": {
"value": "Buzz Cut"
},
"localized_service_category": {
"value": "Haircuts"
},
"service_price": {
"price_interpretation": "INTERPRETATION_STARTS_AT",
"min_price": {
"price_micros": 35000000,
"currency_code": "USD"
}
},
"service_duration": {
"duration_interpretation": "INTERPRETATION_EXACT",
"min_duration_sec": 3000
},
"action_link": [
{
"url": "https://www.rwgpartnerwebsite.com/appointment/service-1/in-person-1",
"language": "en"
}
],
"ranking hint": {
"score": 4
}
}
]
}