Create Location
Changed onCreate a new location for a website. This location will be apart of the additional_locations object that is returned from a site's content library.
post/site/{site_name}/content/location
Request
- Base URLhttps://api-sandbox.duda.co/api/integrationhub/application
- URLhttps://api-sandbox.duda.co/api/integrationhub/application/site/{site_name}/content/location
- Authnone required
Path parameters
site_namestring required
A valid site name of an existing website
Headers
authorizationstring
Your App Account's username and password, base64'd.
x-duda-access-tokenstring
The specific access token to access this site API.
Response
200
Example response
{
"address": {
"city": "Louisville",
"country": "USA",
"postalCode": "80027",
"region": "CO",
"streetAddress": "197 S 104th St C"
},
"business_hours": [
{
"close": "18:00",
"days": [
"MON"
],
"open": "09:00"
}
],
"emails": [
{
"emailAddress": "colorado@duda.co",
"label": "Colorado Office Email"
}
],
"label": "Duda Colorado - Goosetail Labs",
"logo_url": "https://www.duda.co/developers/REST-API-Reference/images/duda.svg",
"phones": [
{
"label": "Main Phone",
"phoneNumber": "123-123-4321"
}
],
"social_accounts": {
"facebook": "duda",
"twitter": "dudamobile"
},
"uuid": "367163873"
}Changes
- info
endpoint added
- info