# Product Operations ## Assigns a product to the shopping basket. - [POST /baskets/users/{userId}/products/{productId}](https://docs.jay-metadata.com/apis/basket/latest/openapi/product-operations/assignproducttobasket.md): Assigns a product to the shopping basket. If the product exists it will be overwritten.- A product with an order "count" == 0 will be added to the saved list (and removed from cart).- A product with an order "count" > 0 will be added to the cart (and removed from saved list).Note that at max 20 products can be put into the cart. ## Removes a product from the shopping basket. - [DELETE /baskets/users/{userId}/products/{productId}](https://docs.jay-metadata.com/apis/basket/latest/openapi/product-operations/deleteproductfrombasket.md): Removes a product from the shopping basket (from cart and saved list). ## Updates an existing product in the shopping basket. - [PATCH /baskets/users/{userId}/products/{productId}](https://docs.jay-metadata.com/apis/basket/latest/openapi/product-operations/updateproductinbasket.md): Updates an existing product in the shopping basket. - A product with an order "count" == 0 will be added to the saved list (and removed from cart). - A product with an order "count" > 0 will be added to the cart (and removed from saved list). - If the order "count" is None the product is not changed.