Locations
Create a location with location notes
Create or update a location along with location notes. <br />Note: Method takes a dynamic list of parameters as input. <br />Example request
POST /locations/LocationWithNotes
{
"StoreId":"TestStore",
"Name": "CSR Flagship",
"MainAddress": "18 E. 16th Street",
"AddlAddress": "3rd Floor, Innovation Center",
"Latitude": 40.736601,
"Longitude": -73.991795,
"City": "New York",
"State": "NY",
"Region": "Northeast",
"District": "NYC/LI",
"Zip": "10003",
"Country": "US",
"OpenDate": "2021-07-03T00:10:00.308Z",
"ClosedDate": "",
"Email": "csrflagship@gmail.com",
"Phone": "212-555-1212",
"Contact": "",
"FaxNumber": "",
"YourLocationNoteHeader1": "Value1",
"YourLocationNoteHeader2": "Value2",
"YourLocationNoteHeaderN": "ValueN"
}
post/locations/LocationWithNotes
Request
- Base URLhttps://sb2api.servicechannel.com/v3
- AuthOAuth 2Authorization codehttps://sb2login.servicechannel.com/oauth/authorizeToken URLhttps://sb2login.servicechannel.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
object required
Response
A new location is created or an existing one is updated. The location ID is in the response.
Changes
No recorded changes to this operation across all 1 revision of this API.