Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/api/create-appointment #114

Open
devalirzayev opened this issue Jun 15, 2023 · 0 comments
Open

/api/create-appointment #114

devalirzayev opened this issue Jun 15, 2023 · 0 comments
Assignees

Comments

@devalirzayev
Copy link
Member

devalirzayev commented Jun 15, 2023

Create Appointment

Request:

{
  "service_id": 1,
  "customer": {
    "name": "Ulrich Nielsen",
    "email": "customer1@example.org"
  },
  "starts_at": "",
}

Response:

{
  "data": {
    
  }
}

This endpoint allows customers to book an appointment

POST /api/create-appointment

Parameters

Parameter Type Description
service_id int ID of service
customer #customer
starts_at timestamp Starting timestamp of an appointment

customer

Parameter Type Description
name string Name of customer
email string Email of customer
@devalirzayev devalirzayev changed the title create appointment api /api/create-appointment Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants