diff --git a/svc/main.go b/svc/main.go index a2dcb11..dc8ba50 100644 --- a/svc/main.go +++ b/svc/main.go @@ -556,6 +556,21 @@ func InitRoutes(pgDB *sql.DB, mssql *sql.DB, ml *mailer.GraphMailer) *mux.Router "order", "view", wrapV3(http.HandlerFunc(routes.GetProductSecondColorsHandler)), ) + bindV3(r, pgDB, + "/api/product-stock-query", "GET", + "order", "view", + wrapV3(http.HandlerFunc(routes.GetProductStockQueryHandler)), + ) + bindV3(r, pgDB, + "/api/product-stock-attribute-options", "GET", + "order", "view", + wrapV3(http.HandlerFunc(routes.GetProductStockAttributeOptionsHandler)), + ) + bindV3(r, pgDB, + "/api/product-stock-query-by-attributes", "GET", + "order", "view", + wrapV3(http.HandlerFunc(routes.GetProductStockQueryByAttributesHandler)), + ) // ============================================================ // ROLE MANAGEMENT