diff --git a/catalog/catalog-service/src/main/java/org/ecommerce/service/PricingService.java b/catalog/catalog-service/src/main/java/org/ecommerce/service/PricingService.java index e3def25b..a86aa03e 100644 --- a/catalog/catalog-service/src/main/java/org/ecommerce/service/PricingService.java +++ b/catalog/catalog-service/src/main/java/org/ecommerce/service/PricingService.java @@ -1,5 +1,6 @@ package org.ecommerce.service; +import java.math.BigDecimal; import java.util.UUID; import jakarta.ws.rs.GET; @@ -14,7 +15,9 @@ public interface PricingService { @GET - @Path("/{id}") - public double getProductPrice(@PathParam("id") UUID id); + @Path("/base-price/{id}") + public BigDecimal getProductPrice(@PathParam("id") UUID id); + + }