Venue Setup
Creating a Venue with SDK Access
When creating a venue via the Partner API, include sdkAccess: "true" to automatically generate an accessKey and enable the Listing & Review product.
Important
The sdkAccess parameter is required. Without it, the venue will not have SDK access and no accessKey will be generated.
{
"name": "Venue Name",
"code": "your-venue-id",
"country": "GB",
"address": "Picadilly Circus",
"city": "London",
"postalCode": "W1J 9LL",
"phoneNumber": "442072343456",
"email": "venue@email.com",
"url": "http://yourvenueurl.com",
"latitude": "51.56797",
"longitude": "-0.28122",
"currency": "GBP",
"timezone": "Europe/London",
"sdkAccess": "true"
}
Managing the License
Once the venue is created, activate the Listing & Review license through the Partner API. Set the feature parameter to listing.
Data Master Source
Mozrest syncs venue data across multiple platforms (Google, Facebook, TripAdvisor, etc.). Each field is mapped to a source that determines where it can be edited.
Field rules
| Rule | Behaviour |
|---|---|
read_only | Displayed in the SDK form but cannot be edited (managed at the source) |
hide | Not displayed in the SDK form but kept in Mozrest for sync purposes |
Example
If "Business name" is managed on your platform (not in the SDK), configure:
| Setting | Value |
|---|---|
| Field | business_name |
| Rule type | read_only |
| Source name | restaurant_name |
The field will appear in the SDK as read-only, and changes must be made through your interface instead.