POST

Update Business Contact


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a site's business contact information.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Business Contact
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/site-properties/v4/properties/business-contact

Body Params
businessContactBusinessContact

The site's business contact information.

Response Object
Returns an empty object.
Update site business contact
Request
cURL
curl -X POST \ 'https://www.wixapis.com/site-properties/v4/properties/business-contact' -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \ --data-binary '{ "businessContact": { "email": "useremail@domain.com", "phone": "+18008000000", "fax": "12345678", "address": { "street": "", "city": "New York", "country": "US", "state": "NY", "zip": "10036", "isPhysical": true, "googleFormattedAddress": "Times Square, Manhattan, NY, USA", "streetNumber": "", "apartmentNumber": "", "coordinates": { "latitude": 40.7579747, "longitude": -73.9855426 } } }, "fields": { "paths":["phone","fax","email","address", "businessSchedule"] } }'
Response
JSON
{}
Errors
401Unauthenticated

There is 1 error with this status code.

403Permission Denied

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?