Feed di servizi di strutturazione

Interpretazione del prezzo dei servizi

Il prezzo è un campo obbligatorio. Dai un'occhiata agli esempi(come vengono mostrati all'utente) per determinare come rappresentare i prezzi nel feed.

Esempi

Interpretazione del prezzo:

INTERPRETATION_EXACT Come visualizzato dall'utente: 39,99 $

  
{
  "service_price": {
    "price_interpretation": "INTERPRETATION_EXACT",
    "min_price": {
      "price_micros": 39990000,
      "currency_code": "USD"
    }
  }
}
  

Come mostrato all'utente: Senza costi

  
{
  "service_price": {
    "price_interpretation": "INTERPRETATION_EXACT",
    "min_price": {
      "price_micros": 0,
      "currency_code": "USD"
    }
  }
}
  

Interpretazione del prezzo:

INTERPRETATION_STARTS_AT Come visualizzato dall'utente : da 0,00 $

  
{
  "service_price": {
    "price_interpretation": "INTERPRETATION_STARTS_AT",
    "min_price": {
      "price_micros": 0,
      "currency_code": "USD"
    }
  }
}
  

Come visualizzato dall'utente: a partire da 25,00 $

  
{
  "service_price": {
    "price_interpretation": "INTERPRETATION_STARTS_AT",
    "min_price": {
      "price_micros": 25000000,
      "currency_code": "USD"
    }
  }
}
  

Interpretazione del prezzo:

INTERPRETATION_RANGE: come visualizzato all'utente: 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"
    }
  }
}
  

Interpretazione del prezzo: INTERPRETATION_NOT_DISPLAYED

Come visualizzato dall'utente: nessun prezzo verrà mostrato all'utente

  
{
  "service_price": {
    "price_interpretation": "INTERPRETATION_NOT_DISPLAYED"
  }
}
  

La descrizione del servizio è vivamente consigliata, ma facoltativa, in quanto alcuni servizi sono autoesplicativi e non tutti i commercianti li forniscono. Se la descrizione di un servizio è identica al nome del servizio, ti consigliamo di lasciare vuota la descrizione per evitare la ridondanza. Tuttavia, questa indicazione non verrà applicata.

Esempi

Quando viene fornita una descrizione dei servizi:

  
{
  "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."
    }
  }
}
  
Screenshot di un tipo di servizio con una descrizione

Se non viene fornita alcuna descrizione dei servizi:

Screenshot di un tipo di servizio senza descrizione

Se viene fornita una descrizione dei servizi, ma è più lunga di 120 caratteri, la descrizione verrà troncata:


{
  "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."
    }
  }
}

Categoria di servizio e suggerimenti per il ranking I suggerimenti per il ranking influiscono sia sull'ordine dei servizi all'interno di una categoria di servizio sia sull'ordine delle categorie stesse. Si presume che il suggerimento per il ranking di una categoria sia il suggerimento per il ranking minimo di qualsiasi articolo della categoria. Tieni presente che anche altri fattori possono influenzare il ranking finale, come il prezzo, la cronologia utente e così via. L'approccio consigliato è definire un ordine totale per tutti i servizi, assegnando a ciascuno un suggerimento di ranking intero univoco e assicurandosi che i valori dei suggerimenti di ranking non si sovrappongano tra le categorie. Ad esempio, se vogliamo che l'ordine preferito delle categorie e dei servizi sia: i componenti aggiuntivi possono essere aggiunti come categoria a sé stante, solo se possono essere prenotati indipendentemente (senza un servizio principale)

Esempio

  
{
  "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
      }
    }
  ]
}
  
Screenshot di diversi tipi di servizi
Screenshot dei servizi all'interno di una pagina