setReviewResponse mutation
At this time, traveler identifying information may be included in review responses. Until we can address this issue, all review responses are temporarily suppressed from property display pages (PDPs) on our points of sale.
Enables partners to respond to traveler reviews.
Note: Advise property managers that they must not include contact information in a review's response, and they may not encourage travelers to book directly with the property. This violates Expedia's policy and responses will be removed if this information is detected.
Syntax
1mutation {2 setReviewResponse(8}
Example
- Request
- Response
1mutation {2 setReviewResponse(3 propertyId: "9309913",4 propertyIdSource: EXPEDIA,5 reviewId: "61f87508de53060cb1ff59e9",6 body: {7 value: "Thank you very much for the generous review.",8 locale: "en-US"9 }10 ) {11 createdDateTime12 status13 body {14 value15 locale16 }17 }18}
Arguments
Name | Description |
---|---|
| Required. "Property manager's response to the review (localized). Type: InputLocalizedString |
| Required. Property ID. If using an external ID (from your system, source is SUPPLIER), specify the ID in this format: system_ID/advertiser_ID/property_ID. If the source is EXPEDIA, this is the Expedia ID (EID). Type: ID |
| Required. Source of the ID. Type: IdSource |
| Required. Expedia's review ID. Type: ID |
Types
Name | Type | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
ID | ID | |||||||||
The | ||||||||||
IdSource | Enum | |||||||||
Source of a given ID.
| ||||||||||
InputLocalizedString | InputObject | |||||||||
Locale | Locale | |||||||||
A type that represents a string that conforms to the BCP-47 (RFC 5646) standard. Example: en-GB. | ||||||||||
LocalizedString | Object | |||||||||
String | String | |||||||||
The | ||||||||||
UpdatedReviewResponse | Object | |||||||||
Review response, including status and creation date of the response.
|