shopify/products/api_wrapper.py
def delete(self, product):
        """
        Delete a product from inventory.

        Use when you have a product instance returned from list().

        :param product: A Product object.
        :return:
        """
        if not product.id:
            raise ValueError('product must have an ID to use `delete`')
        self._delete(product.id)

        Delete a product from inventory.

        Use when you have a product instance returned from list().

        :param product: A Product object.
        :return:
        
Delete a product from inventory.
Use when you have a product instance returned from list().
Delete a product from inventory . Use when you have a product instance returned from list () .
def delete(self, product):
        if not product.id:
            raise ValueError('product must have an ID to use `delete`')
        self._delete(product.id)
def delete ( self , product ) : if not product . id : raise ValueError ( 'product must have an ID to use `delete`' ) self . _delete ( product . id )
Delete a product from inventory.
Delete a product from inventory .
"""
        Delete a product from inventory.

        Use when you have a product instance returned from list().

        :param product: A Product object.
        :return:
        """
None
self
product
A Product object.
A Product object .