Business-focused Sites
Example of how to integrate our API for publishing a Site dedicated to a particular Business and their single Location
Last updated
Example of how to integrate our API for publishing a Site dedicated to a particular Business and their single Location
The basic API flow is:
Create or update a Business
Create or update a Location under that Business
Create or update a Site under that Business/Location
POST /api/v2/business/
POST /api/v2/locations/
"business_id": 12345 - Passing the business_id from above
POST /api/v2/sites/
"business_id": 12345 - Passing the business_id from above
"locations": [54321] - Passing the location_id from above
PUT /api/v2/businesses/:business_id/
PUT /api/v2/locations/:location_id/
"business_id": 12345 - Passing the business_id from above
PUT /api/v2/sites/:site_id/
"business_id": 12345 - Passing the business_id from above
"locations": [54321] - Passing the location_id from above
Last updated