code: def bulk_update(self, request):
          
          # Delete everything in the basket
          bid = utils.destroy_basket(request)
  
          for item_data in request.data:
              item = BasketItem(basket_id=bid, **item_data)
              item.save()
  
          serializer = BasketItemSerializer(self.get_queryset(request), many=True)
          response = Response(data=serializer.data,
                              status=status.HTTP_200_OK)
          return response
docs: Put multiple items in the basket,
          removing anything that already exists