dominos/api.py
def remove_item_from_basket(self, idx):
        '''
        Remove an item from the current basket.

        :param int idx: Basket item id.
        :return: A response having removed an item from the current basket.
        :rtype: requests.Response
        '''
        params = {
            'basketItemId': idx,
            'wizardItemDelete': False
        }

        return self.__post('/Basket/RemoveBasketItem', json=params)
def remove_item_from_basket(self, idx):
        '''
        Remove an item from the current basket.

        :param int idx: Basket item id.
        :return: A response having removed an item from the current basket.
        :rtype: requests.Response
        '''
        params = {
            'basketItemId': idx,
            'wizardItemDelete': False
        }

        return self.__post('/Basket/RemoveBasketItem', json=params)
Remove an item from the current basket.

        :param int idx: Basket item id.
        :return: A response having removed an item from the current basket.
        :rtype: requests.Response