from django.urls import path

from .views import (
    ProductSearchAPIView,
    SearchSuggestionAPIView,
)


urlpatterns = [
    path(
        "",
        ProductSearchAPIView.as_view(),
        name="product-search",
    ),

    path(
        "suggestions/",
        SearchSuggestionAPIView.as_view(),
        name="search-suggestions",
    ),
]