This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a location's media items from Google.
Each item includes the media key you need to delete it. Media isn't stored for the site, so this always reflects what's on the Business Profile now.
That means it lags behind anything still queued through Bulk Create Media Uploads. If a submission is still being applied, combine this with List Media Uploads to show what the site owner asked for. Count only changes still on their way, since a failed addition never reached Google:
Errors:
NOT_FOUND: the location isn't recorded for this site. Google isn't called.GOOGLE_API_CALL_FAILED: the call to Google failed. Google's status and
response are in the error payload.You can only call this method when authenticated as a Wix app or Wix user identity.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.