服務價格說明
價格是必填欄位。請查看使用者看到的示例,決定如何在動態饋給中呈現價格。
示例
價格說明:
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
}
}
]
}