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 Endpoint - Retrieve a list of available times for a product #64

Open
deltabrot opened this issue Jul 14, 2021 · 0 comments
Open

API Endpoint - Retrieve a list of available times for a product #64

deltabrot opened this issue Jul 14, 2021 · 0 comments

Comments

@deltabrot
Copy link
Collaborator

deltabrot commented Jul 14, 2021

Desired functionality:
Based on the availability, booking, and qualification of account row links, a list of available times for a given date should be calculated and returned on the endpoint.

A date should be passed to the endpoint as URL query param.

Store methods needed:
Store: ProductStore
Methods: GetAllAvailableTimes(date time.Time) ([]time.Time, error)

Endpoints needed:
Route: /product/{id}/available/time
Method: GET

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant