inventory
This commit is contained in:
@@ -138,6 +138,7 @@ func main() {
|
|||||||
http.HandleFunc("/reservations/{sku}/{locationId}", server.getReservationHandler)
|
http.HandleFunc("/reservations/{sku}/{locationId}", server.getReservationHandler)
|
||||||
http.HandleFunc("POST /reservations", server.reserveInventoryHandler)
|
http.HandleFunc("POST /reservations", server.reserveInventoryHandler)
|
||||||
http.HandleFunc("POST /reservations/release", server.releaseReservationHandler)
|
http.HandleFunc("POST /reservations/release", server.releaseReservationHandler)
|
||||||
|
http.HandleFunc("/inventory/badge", inventory.BadgeHandler(s))
|
||||||
http.HandleFunc("POST /inventory/batch", server.batchInventoryHandler)
|
http.HandleFunc("POST /inventory/batch", server.batchInventoryHandler)
|
||||||
|
|
||||||
stockhandler := &StockHandler{
|
stockhandler := &StockHandler{
|
||||||
|
|||||||
Reference in New Issue
Block a user