public function delete($productId, ProductVariant &$productVariant)
    {
        $endpoint = '/admin/products/'.$productId.'/variants/'.$productVariant->id.'.json';
        $response = $this->request($endpoint, 'DELETE');
    }
public function delete($productId, ProductVariant &$productVariant)
    {
        $endpoint = '/admin/products/'.$productId.'/variants/'.$productVariant->id.'.json';
        $response = $this->request($endpoint, 'DELETE');
    }
public function delete ( $ productId , ProductVariant & $ productVariant ) { $ endpoint = '/admin/products/' . $ productId . '/variants/' . $ productVariant -> id . '.json' ; $ response = $ this -> request ( $ endpoint , 'DELETE' ) ; }
Delete a product variant

@link   https://help.shopify.com/api/reference/product_variant#destroy
@param  integer        $productId
@param  ProductVariant $productVariant
@return void
Delete a product variant