You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"price": {
object ([Money](https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations#Location.Money))
},
// Union field service_item_info can be only one of the following:
"structuredServiceItem": {
object ([StructuredServiceItem](https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations#Location.StructuredServiceItem))
},
"freeFormServiceItem": {
object ([FreeFormServiceItem](https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations#Location.FreeFormServiceItem))
}
// End of list of possible types for union field service_item_info.
}
The text was updated successfully, but these errors were encountered:
syedMSohaib
changed the title
Method: Location get does not return price in serviceItems array #5288
Method: Location get does not return price in serviceItems array
Jul 3, 2024
That class should let you access the API without writing a query from the client and use the service instead. Shouldn't fix this issue mind you, but should make writing code easier.
@Hectorhammett thanks for reaching back to me and for the suggestion.
In original code, i am actually using the service instead, just giving you the query API for a context to know that these are the variable i am asking for from api.
Is the price set for the ServiceItem?
The admin of our GBP Location is updating the pricing directly from google GBP portal, but while fetching the API it does not return the prices node,
If you want i can give the complete API response, and parameters !,
Environment details
Steps to reproduce
serviceItems
price object is missing, As per https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations#Location.ServiceItembelow should be the object
but in my case
price
node is missingCode example
I also tried using https://developers.google.com/oauthplayground, still same result price object is missing !
Thanks!
The text was updated successfully, but these errors were encountered: