-
Notifications
You must be signed in to change notification settings - Fork 1
Basket Service API Routes
Caner Sülüşoğlu edited this page Jul 22, 2022
·
5 revisions
Herbir kullanıcının kendine ait sepetini getirir.
Request Format:
{
}Response Format:
{
Products: [
{
ProductId: int,
ProductName: string,
ProductPrice: decimal,
ProductQuantity: int
}
...
]
}Sepete yeni bir ürün veya kullanıcı ekleme işlemi.
Request Format:
{
UserBaskets: [
UserId: {
Products: [
{
ProductId: int,
ProductName: string,
ProductPrice: decimal,
ProductQuantity: int
}
...
]
}...
]
}Response Format:
{
isSuccess: bool,
Message: string
}Kullanıcı kendine ait sepeti sıfırlar. (Siparişi veren tüm sepeti silebilecek.)
Request Format:
{
}Response Format:
{
isSuccess: bool,
Message: string
}Sepeti onayla sipariş servisine mesaj at.
Request Format:
{
}Response Format:
{
isSuccess: bool,
Message: string
}