Added AddProductToBasket HTTP DTO

This commit is contained in:
PB
2025-11-08 00:42:31 +01:00
parent f6c6bb07fd
commit 3e340d68d0

View File

@@ -26,6 +26,16 @@ type GetBasketItemsResponseDTO struct {
UpdatedAt time.Duration `json:"updated_at,omitempty"`
}
type AddProductToBasketRequestDTO struct {
BasketID string `json:"basket_id"`
ProductID string `json:"product_id"`
Quantity int `json:"quantity"`
}
type AddProductToBasketResponseDTO struct {
BasketID string `json:"basket_id"`
}
type BasketCheckoutRequestDTO struct {
BasketID string `json:"basket_id"`
}