Customers
Create Customer
Use this endpoint to Create a new Customer. A customer object is automatically created with the first appointment booking if it doesn't already exist. If not specified, the business location id defaults to the primary business location.
Required Fields: Email and Name or First and Lastname depending on customer type. Type 0 = Person, Type 1 = Business. For type 0, the firstname and lastname fields are used. For type 1, the Name field is used, and the name field is also used to populate the lastname.
post/consumer/v1/customers
Request
- Base URLhttps://sandbox-api.onsched.com
- AuthOAuth 2Client credentialsToken URLhttps://sandbox-identity.onsched.com/connect/tokenScopesOnSchedApi
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.