1. Basket
Talabat-Ecommerce
  • Auth
    • Register
      POST
    • Confirm Email
      POST
    • Resend Confirmation Email
      POST
    • Login
      POST
    • Forget Password
      POST
    • Reset Password
      POST
    • Refresh Token
      POST
    • Revoke Refresh Token
      POST
  • Account
    • Get User
      GET
    • Update User
      PUT
    • Delete User
      DELETE
    • Change Password
      PUT
    • Upload User Picture
      POST
    • Delete User Picture
      DELETE
    • Get All Users
      GET
    • Add User To Role
      POST
    • Remove User From Role
      DELETE
  • Products
    • Get Products Types
      GET
    • Get Products Brands
      GET
    • Get All Products
      GET
    • Get Product
      GET
    • Add Product
      POST
    • Update Product
      PUT
    • Delete Prodcut
      DELETE
    • Upload Product Picture
      POST
    • Delete Product Picture
      DELETE
  • Prodcut Rewiews
    • Get Proudct Reviews
    • Get Proudct Review
    • Add Product Review
    • Update Product Review
    • Delete Product Review
    • Admin Delete Product Review
  • Wishlist
    • Get Wishlist
    • Add To WishList
    • Delete From WishList
  • Basket
    • Create or Update Customer Basket
      POST
    • Get Customer Basket
      GET
    • Delete Customer Basket
      DELETE
  • Order
    • Get Payment Methods
    • Get Delivery Methods
    • Create Order
    • Get User Orders
    • Get Orders To Admin
    • Get Order By Id
    • Get invoice deatils
    • Refund Request
    • Get Refund Request
    • Get Refund Requests To Admin
    • Get Refund Request To Admin
    • Reject Refund Request
    • Update Order Status Manually
  1. Basket

Create or Update Customer Basket

POST
http://e-commerce-talabat.runasp.net/api/basket

Request

Body Params application/jsonRequired

Examples

Responses

🟢204No Content
This response does not have a body.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://e-commerce-talabat.runasp.net/api/basket' \
--header 'Content-Type: application/json' \
--data '{
    "id": "2b45bed5-37be-4532-987a-e9ffb49c0a22",
    "basketItems": [
        {
            "id": 1,
            "name": "Double Caramel Frappuccino",
            "picture": {
                "id": 1,
                "pictureUrl": "https://localhost:7031/images/products/sb-ang1.png",
            },
            "type": "Starbucks",
            "brand": "Frappuccino",
            "price": 200.00,
            "quantity": 3
        },
        {
            "id": 4,
            "name": "White Chocolate Mocha",
            "picture": {
                "id": 4,
                "pictureUrl": "https://localhost:7031/images/products/sb-core2.png",
            },
            "type": "Mocha",
            "brand": "Costa",
            "price": 300.00,
            "quantity": 1
        }
    ]
}'
Previous
Delete From WishList
Next
Get Customer Basket
Built with