diff --git a/cmd/inventory/main.go b/cmd/inventory/main.go index 44b605e..85c1d19 100644 --- a/cmd/inventory/main.go +++ b/cmd/inventory/main.go @@ -138,6 +138,7 @@ func main() { http.HandleFunc("/reservations/{sku}/{locationId}", server.getReservationHandler) http.HandleFunc("POST /reservations", server.reserveInventoryHandler) http.HandleFunc("POST /reservations/release", server.releaseReservationHandler) + http.HandleFunc("/inventory/badge", inventory.BadgeHandler(s)) http.HandleFunc("POST /inventory/batch", server.batchInventoryHandler) stockhandler := &StockHandler{