MerchantStatus

État d'un marchand sur la plate-forme Réserver avec Google.

Représentation JSON
{
  "name": string,
  "merchantName": string,
  "inputGeoInfo": {
    object (GeoCoordinates)
  },
  "processingStatus": enum (ProcessingStatus),
  "bookingStatus": {
    object (BookingStatus)
  },
  "waitlistStatus": {
    object (WaitlistStatus)
  },
  "geoMatch": {
    object (PlaceInfo)
  },
  "localServicesMatch": {
    object (LocalServicesMatchInfo)
  },
  "directUrls": [
    {
      object (DirectUrl)
    }
  ]
}
Champs
name

string

Nom de la ressource d'état du marchand, au format partners/{partner_id}/merchants/{merchantId}/status

merchantName

string

Nom du marchand fourni par les partenaires.

inputGeoInfo

object (GeoCoordinates)

Les partenaires ont fourni les informations géographiques du marchand.

processingStatus

enum (ProcessingStatus)

État du traitement par le marchand.

bookingStatus

object (BookingStatus)

État lié à l'intégration de bout en bout des réservations.

waitlistStatus

object (WaitlistStatus)

État lié à l'intégration des listes d'attente.

geoMatch

object (PlaceInfo)

Lieu géographique correspondant de ce marchand. Ce champ est vide si aucune correspondance géographique n'est établie pour le marchand.

localServicesMatch

object (LocalServicesMatchInfo)

Les annonces Local Services correspondent à ce marchand. Ce champ est vide s'il ne s'agit pas d'un marchand de services locaux ou s'il ne correspond à aucun fournisseur.

directUrls[]

object (DirectUrl)

Liste d'URL illustrant le contenu de l'inventaire actuel du marchand. Notez que cela ne signifie pas que l'inventaire est réellement diffusé. L'URL peut donc être différente de celles visibles par le public.

ProcessingStatus

État du traitement par le marchand.

Enums
PROCESSING_STATUS_UNSPECIFIED État non spécifié.
IN_PROGRESS Le marchand a été reçu par Madden, mais il est toujours en cours de traitement. Aucun autre état ne sera renseigné pour les marchands associés à cet état.
COMPLETED D'autres états du marchand ont été calculés.

BookingStatus

État lié à l'intégration de bout en bout des réservations.

Représentation JSON
{
  "hasValidFutureInventory": boolean
}
Champs
hasValidFutureInventory

boolean

Vrai si le marchand dispose d'un inventaire dans les 30 prochains jours. Ne garantit pas que le marchand sera effectivement servi.

WaitlistStatus

État lié à l'intégration des listes d'attente.

Représentation JSON
{
  "hasValidWaitlistService": boolean
}
Champs
hasValidWaitlistService

boolean

"True" si le marchand propose un service sur liste d'attente. Ne garantit pas que le marchand sera effectivement servi.

PlaceInfo

Informations sur un lieu correspondant.

Représentation JSON
{
  "name": string,
  "formattedAddress": string,
  "placeId": string
}
Champs
name

string

Nom du lieu.

formattedAddress

string

Adresse formatée dans la langue locale.

placeId

string

ID de lieu Google de ce lieu. Permet de créer une URL Google Maps ou d'obtenir plus d'informations sur le lieu. Pour voir un exemple d'utilisation, consultez la page https://developers.google.com/places/web-service/place-id.

LocalServicesMatchInfo

Les informations de la page Google Local Services correspondent (uniquement pour le marchand de services de proximité).

Représentation JSON
{
  "matchedProviders": [
    {
      object (MatchedProvider)
    }
  ]
}
Champs
matchedProviders[]

object (MatchedProvider)

Fournisseurs de services avec correspondance. Un marchand peut être associé à plusieurs fournisseurs de services.

MatchedProvider

Fournisseur Local Services.

Représentation JSON
{
  "customerId": string,
  "categories": [
    string
  ]
}
Champs
customerId

string (int64 format)

Numéro client externe Google Local Services.

categories[]

string

Catégories de services de proximité (secteurs) Exemples : "plombier" et "nettoyage_tapis".

DirectUrl

URL qui affiche le marchand.

Représentation JSON
{
  "type": enum (UrlType),
  "url": string
}
Champs
type

enum (UrlType)

Type de cette URL.

url

string

URL susceptible d'afficher ce marchand.

UrlType

Type de l'URL d'affichage.

Enums
URL_TYPE_UNSPECIFIED Non spécifié.
BOOKING URL de réservation de bout en bout.
WAITLIST URL de liste d'attente de bout en bout.
LOCAL_SERVICES URL Google Local Services.